fluid-dev
[Top][All Lists]
Advanced

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

Re: [fluid-dev] Intercepting midi events


From: Tom M.
Subject: Re: [fluid-dev] Intercepting midi events
Date: Sat, 19 May 2018 21:28:30 +0200

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.

http://www.fluidsynth.org/api/index.html#RealtimeMIDI

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.

Tom




reply via email to

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