seqbind.h File Reference

Functions for binding sequencer objects to other subsystems. More...


Functions

FLUIDSYNTH_API short fluid_sequencer_register_fluidsynth (fluid_sequencer_t *seq, fluid_synth_t *synth)
 Registers a synthesizer as a destination client of the given sequencer.
FLUIDSYNTH_API int fluid_sequencer_add_midi_event_to_buffer (void *data, fluid_midi_event_t *event)
 Transforms an incoming midi event (from a midi driver or midi router) to a sequencer event and adds it to the sequencer queue for sending as soon as possible.


Detailed Description

Functions for binding sequencer objects to other subsystems.


Function Documentation

FLUIDSYNTH_API short fluid_sequencer_register_fluidsynth ( fluid_sequencer_t seq,
fluid_synth_t synth 
)

Registers a synthesizer as a destination client of the given sequencer.

The synth is registered with the name "fluidsynth".

Parameters:
seq Sequencer instance
synth Synthesizer instance
Returns:
Sequencer client ID, or FLUID_FAILED on error.
Examples:
fluidsynth_arpeggio.c, and fluidsynth_metronome.c.

FLUIDSYNTH_API int fluid_sequencer_add_midi_event_to_buffer ( void *  data,
fluid_midi_event_t event 
)

Transforms an incoming midi event (from a midi driver or midi router) to a sequencer event and adds it to the sequencer queue for sending as soon as possible.

Parameters:
data The sequencer, must be a valid fluid_sequencer_t
event MIDI event
Returns:
FLUID_OK or FLUID_FAILED
Since:
1.1.0


Generated on Fri Jan 8 02:37:43 2016 for libfluidsynth by  doxygen 1.5.6