Open psi29a opened 10 years ago
@chrisisonwildcode is this your WildMIDI_Live interface?
yes and no
The Live interface concept was originally thought up when wildmidi's player had very little (extremely low) latency between getting the audio data and hearing it out of the speakers. The idea was that one could use the lib not only to play a backing track but also to allow you to hook up a MIDI instrument and play using wildmidi at the same time as the backing track playing. However down stream maintainers didn't like the way the player handled audio output and patches they provided added too much latency to see the concept come to life beyond proof of concept tests.
Like how fluidsynth works, streaming via http or similiar to play one note at a time.
basically something like this would be useful: succ = push_midi_event(wm, const uint8_t *data, size_t len);
(maybe even with a way to override timing information)
http://cgit.freedesktop.org/gstreamer/gst-plugins-bad/tree/ext/fluidsynth/gstfluiddec.c#n393
http://cgit.freedesktop.org/gstreamer/gst-plugins-bad/tree/ext/fluidsynth/gstfluiddec.c#n350