[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [fluid-dev] Intercepting midi events

From: Christopher Leger
Subject: Re: [fluid-dev] Intercepting midi events
Date: Sat, 19 May 2018 16:48:22 -0400

Perfect! This seems like what I have been looking for. I'll work at this and be sure to ask if I have an questions.


On Sat, May 19, 2018 at 3:28 PM, Tom M. <address@hidden> wrote:
For intercepting events from the midi player, use fluid_player_set_playback_callback() to register your custom processing function of type handle_midi_event_func_t.

For intercepting events from the midi driver (your keyboard), create the midi driver with new_fluid_midi_driver() and pass a processing function of type handle_midi_event_func_t as well.


Once you're done processing events in your custom function, you should call fluid_synth_handle_midi_event() to pass the event on to the synth.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]