Go to the source code of this file.
Enumerations | |
enum | fluid_seq_event_type { FLUID_SEQ_NOTE = 0, FLUID_SEQ_NOTEON, FLUID_SEQ_NOTEOFF, FLUID_SEQ_ALLSOUNDSOFF, FLUID_SEQ_ALLNOTESOFF, FLUID_SEQ_BANKSELECT, FLUID_SEQ_PROGRAMCHANGE, FLUID_SEQ_PROGRAMSELECT, FLUID_SEQ_PITCHBEND, FLUID_SEQ_PITCHWHHELSENS, FLUID_SEQ_MODULATION, FLUID_SEQ_SUSTAIN, FLUID_SEQ_CONTROLCHANGE, FLUID_SEQ_PAN, FLUID_SEQ_VOLUME, FLUID_SEQ_REVERBSEND, FLUID_SEQ_CHORUSSEND, FLUID_SEQ_TIMER, FLUID_SEQ_ANYCONTROLCHANGE, FLUID_SEQ_LASTEVENT } |
Sequencer event type enumeration. More... | |
Functions | |
FLUIDSYNTH_API fluid_event_t * | new_fluid_event (void) |
Create a new sequencer event structure. More... | |
FLUIDSYNTH_API void | delete_fluid_event (fluid_event_t *evt) |
Delete a sequencer event structure. More... | |
FLUIDSYNTH_API void | fluid_event_set_source (fluid_event_t *evt, short src) |
Set source of a sequencer event (DOCME). More... | |
FLUIDSYNTH_API void | fluid_event_set_dest (fluid_event_t *evt, short dest) |
Set destination of a sequencer event (DOCME). More... | |
FLUIDSYNTH_API void | fluid_event_timer (fluid_event_t *evt, void *data) |
Set a sequencer event to be a timer event. More... | |
FLUIDSYNTH_API void | fluid_event_note (fluid_event_t *evt, int channel, short key, short vel, unsigned int duration) |
Set a sequencer event to be a note duration event. More... | |
FLUIDSYNTH_API void | fluid_event_noteon (fluid_event_t *evt, int channel, short key, short vel) |
Set a sequencer event to be a note on event. More... | |
FLUIDSYNTH_API void | fluid_event_noteoff (fluid_event_t *evt, int channel, short key) |
Set a sequencer event to be a note off event. More... | |
FLUIDSYNTH_API void | fluid_event_all_sounds_off (fluid_event_t *evt, int channel) |
Set a sequencer event to be an all sounds off event. More... | |
FLUIDSYNTH_API void | fluid_event_all_notes_off (fluid_event_t *evt, int channel) |
Set a sequencer event to be a all notes off event. More... | |
FLUIDSYNTH_API void | fluid_event_bank_select (fluid_event_t *evt, int channel, short bank_num) |
Set a sequencer event to be a bank select event. More... | |
FLUIDSYNTH_API void | fluid_event_program_change (fluid_event_t *evt, int channel, short preset_num) |
Set a sequencer event to be a program change event. More... | |
FLUIDSYNTH_API void | fluid_event_program_select (fluid_event_t *evt, int channel, unsigned int sfont_id, short bank_num, short preset_num) |
Set a sequencer event to be a program select event. More... | |
FLUIDSYNTH_API void | fluid_event_control_change (fluid_event_t *evt, int channel, short control, short val) |
Set a sequencer event to be a MIDI control change event. More... | |
FLUIDSYNTH_API void | fluid_event_pitch_bend (fluid_event_t *evt, int channel, int val) |
Set a sequencer event to be a pitch bend event. More... | |
FLUIDSYNTH_API void | fluid_event_pitch_wheelsens (fluid_event_t *evt, int channel, short val) |
Set a sequencer event to be a pitch wheel sensitivity event. More... | |
FLUIDSYNTH_API void | fluid_event_modulation (fluid_event_t *evt, int channel, short val) |
Set a sequencer event to be a modulation event. More... | |
FLUIDSYNTH_API void | fluid_event_sustain (fluid_event_t *evt, int channel, short val) |
Set a sequencer event to be a MIDI sustain event. More... | |
FLUIDSYNTH_API void | fluid_event_pan (fluid_event_t *evt, int channel, short val) |
Set a sequencer event to be a stereo pan event. More... | |
FLUIDSYNTH_API void | fluid_event_volume (fluid_event_t *evt, int channel, short val) |
Set a sequencer event to be a volume event. More... | |
FLUIDSYNTH_API void | fluid_event_reverb_send (fluid_event_t *evt, int channel, short val) |
Set a sequencer event to be a reverb send event. More... | |
FLUIDSYNTH_API void | fluid_event_chorus_send (fluid_event_t *evt, int channel, short val) |
Set a sequencer event to be a chorus send event. More... | |
FLUIDSYNTH_API void | fluid_event_any_control_change (fluid_event_t *evt, int channel) |
Set a sequencer event to be an any control change event. More... | |
FLUIDSYNTH_API int | fluid_event_get_type (fluid_event_t *evt) |
Get the event type (fluid_seq_event_type) field from a sequencer event structure. More... | |
FLUIDSYNTH_API short | fluid_event_get_source (fluid_event_t *evt) |
Get the source field from a sequencer event structure. More... | |
FLUIDSYNTH_API short | fluid_event_get_dest (fluid_event_t *evt) |
Get the dest field from a sequencer event structure. More... | |
FLUIDSYNTH_API int | fluid_event_get_channel (fluid_event_t *evt) |
Get the MIDI channel field from a sequencer event structure. More... | |
FLUIDSYNTH_API short | fluid_event_get_key (fluid_event_t *evt) |
Get the MIDI note field from a sequencer event structure. More... | |
FLUIDSYNTH_API short | fluid_event_get_velocity (fluid_event_t *evt) |
Get the MIDI velocity field from a sequencer event structure. More... | |
FLUIDSYNTH_API short | fluid_event_get_control (fluid_event_t *evt) |
Get the MIDI control number field from a sequencer event structure. More... | |
FLUIDSYNTH_API short | fluid_event_get_value (fluid_event_t *evt) |
Get the value field from a sequencer event structure. More... | |
FLUIDSYNTH_API short | fluid_event_get_program (fluid_event_t *evt) |
Get the MIDI program field from a sequencer event structure. More... | |
FLUIDSYNTH_API void * | fluid_event_get_data (fluid_event_t *evt) |
Get the data field from a sequencer event structure. More... | |
FLUIDSYNTH_API unsigned int | fluid_event_get_duration (fluid_event_t *evt) |
Get the duration field from a sequencer event structure. More... | |
FLUIDSYNTH_API short | fluid_event_get_bank (fluid_event_t *evt) |
Get the MIDI bank field from a sequencer event structure. More... | |
FLUIDSYNTH_API int | fluid_event_get_pitch (fluid_event_t *evt) |
Get the pitch field from a sequencer event structure. More... | |
FLUIDSYNTH_API unsigned int | fluid_event_get_sfont_id (fluid_event_t *evt) |
Get the SoundFont ID field from a sequencer event structure. More... |
Functions and constants for creating/processing sequencer events.
Definition in file event.h.
|
|
Create a new sequencer event structure.
Definition at line 46 of file fluid_event.c. |
|
Delete a sequencer event structure.
Definition at line 71 of file fluid_event.c. |
|
Set source of a sequencer event (DOCME).
Definition at line 99 of file fluid_event.c. |
|
Set destination of a sequencer event (DOCME).
Definition at line 110 of file fluid_event.c. |
|
Set a sequencer event to be a timer event.
Definition at line 121 of file fluid_event.c. |
|
Set a sequencer event to be a note duration event.
Definition at line 166 of file fluid_event.c. |
|
Set a sequencer event to be a note on event.
Definition at line 135 of file fluid_event.c. |
|
Set a sequencer event to be a note off event.
Definition at line 150 of file fluid_event.c. |
|
Set a sequencer event to be an all sounds off event.
Definition at line 181 of file fluid_event.c. |
|
Set a sequencer event to be a all notes off event.
Definition at line 193 of file fluid_event.c. |
|
Set a sequencer event to be a bank select event.
Definition at line 206 of file fluid_event.c. |
|
Set a sequencer event to be a program change event.
Definition at line 220 of file fluid_event.c. |
|
Set a sequencer event to be a program select event.
Definition at line 236 of file fluid_event.c. |
|
Set a sequencer event to be a MIDI control change event.
Definition at line 329 of file fluid_event.c. |
|
Set a sequencer event to be a pitch bend event.
Definition at line 266 of file fluid_event.c. |
|
Set a sequencer event to be a pitch wheel sensitivity event.
Definition at line 282 of file fluid_event.c. |
|
Set a sequencer event to be a modulation event.
Definition at line 296 of file fluid_event.c. |
|
Set a sequencer event to be a MIDI sustain event.
Definition at line 312 of file fluid_event.c. |
|
Set a sequencer event to be a stereo pan event.
Definition at line 344 of file fluid_event.c. |
|
Set a sequencer event to be a volume event.
Definition at line 360 of file fluid_event.c. |
|
Set a sequencer event to be a reverb send event.
Definition at line 376 of file fluid_event.c. |
|
Set a sequencer event to be a chorus send event.
Definition at line 392 of file fluid_event.c. |
|
Set a sequencer event to be an any control change event.
Definition at line 253 of file fluid_event.c. |
|
Get the event type (fluid_seq_event_type) field from a sequencer event structure.
Definition at line 411 of file fluid_event.c. |
|
Get the source field from a sequencer event structure.
Definition at line 431 of file fluid_event.c. |
|
Get the dest field from a sequencer event structure.
Definition at line 441 of file fluid_event.c. |
|
Get the MIDI channel field from a sequencer event structure.
Definition at line 451 of file fluid_event.c. |
|
Get the MIDI note field from a sequencer event structure.
Definition at line 461 of file fluid_event.c. |
|
Get the MIDI velocity field from a sequencer event structure.
Definition at line 471 of file fluid_event.c. |
|
Get the MIDI control number field from a sequencer event structure.
Definition at line 482 of file fluid_event.c. |
|
Get the value field from a sequencer event structure.
Definition at line 498 of file fluid_event.c. |
|
Get the MIDI program field from a sequencer event structure.
Definition at line 561 of file fluid_event.c. |
|
Get the data field from a sequencer event structure.
Definition at line 510 of file fluid_event.c. |
|
Get the duration field from a sequencer event structure.
Definition at line 522 of file fluid_event.c. |
|
Get the MIDI bank field from a sequencer event structure.
Definition at line 535 of file fluid_event.c. |
|
Get the pitch field from a sequencer event structure.
Definition at line 547 of file fluid_event.c. |
|
Get the SoundFont ID field from a sequencer event structure.
Definition at line 574 of file fluid_event.c. |