-
Notifications
You must be signed in to change notification settings - Fork 39
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Possible to build as a dynamic library? #34
Comments
I have thought for a while about a library. What functions would you be looking to use from raveloxmidi? Thanks Dave |
Just sending and receiving MIDI notes and I guess program change would be useful too. |
My "Skype" direction turned out to be a dead-end so a RevoloxMidi library does seem to be the best solution. |
OK, so looks like Tobias already did this. https://www.tobias-erichsen.de/software/librtpmidi.html not open source though. |
Hi. I think, it would be nice if the program separates the pure networking functionality in a core library. I would like a design where I am able to have: a midi writer function, and a reader callback. An end goal is to permit a library which runs the desktop program and Android app. Thanks for making raveloxmidi. |
I'm kind of working towards that in some changes I made a couple of months ago. I move the MIDI distribution to its own function to remove some duplication. I could add a callback interface in that routine. I'll give this some thought over the weekend. Regarding the choice of rawmidi, this was a deliberate choice because it provides multiple MIDI events in a single read that requires no conversion to send downstream. Other options, like the sequencer interface only provides a single MIDI event in each call and then that has to be converted from the ALSA structure holding it into binary data. Thanks Dave |
Yes, many thanks for making raveloxmidi! To have the networking functionality separate would indeed be quite nice. I would also add a command line utility reading/writing a midi binary stream from either stdin/out or possibly named pipes which would feel like a useful addition. |
I would like to interface your code to a Java application (a PI sample player interfaced to an old set of Hammond Organ pedals. I want to be able to send out midi via rtp/WIFI as pedals are pressed. To do this, I can write a Java JNI interface to a C/C++ dynamic library. Receive midi would also be useful of course. Your code does all of this so I just need it to exist as a library instead of a daemon.
Is there an easy way to configure the build process to do this? If not, could you give me some pointers to where I could educate myself?
The text was updated successfully, but these errors were encountered: