Go to the source code of this file.
Typedefs | |
typedef int(* | handle_midi_event_func_t )(void *data, fluid_midi_event_t *event) |
Generic callback function for MIDI events. More... | |
Functions | |
FLUIDSYNTH_API fluid_midi_event_t * | new_fluid_midi_event (void) |
Create a MIDI event structure. More... | |
FLUIDSYNTH_API int | delete_fluid_midi_event (fluid_midi_event_t *event) |
Delete MIDI event structure. More... | |
FLUIDSYNTH_API int | fluid_midi_event_set_type (fluid_midi_event_t *evt, int type) |
Set the event type field of a MIDI event structure. More... | |
FLUIDSYNTH_API int | fluid_midi_event_get_type (fluid_midi_event_t *evt) |
Get the event type field of a MIDI event structure. More... | |
FLUIDSYNTH_API int | fluid_midi_event_set_channel (fluid_midi_event_t *evt, int chan) |
Set the channel field of a MIDI event structure. More... | |
FLUIDSYNTH_API int | fluid_midi_event_get_channel (fluid_midi_event_t *evt) |
Get the channel field of a MIDI event structure. More... | |
FLUIDSYNTH_API int | fluid_midi_event_get_key (fluid_midi_event_t *evt) |
Get the key field of a MIDI event structure. More... | |
FLUIDSYNTH_API int | fluid_midi_event_set_key (fluid_midi_event_t *evt, int key) |
Set the key field of a MIDI event structure. More... | |
FLUIDSYNTH_API int | fluid_midi_event_get_velocity (fluid_midi_event_t *evt) |
Get the velocity field of a MIDI event structure. More... | |
FLUIDSYNTH_API int | fluid_midi_event_set_velocity (fluid_midi_event_t *evt, int vel) |
Set the velocity field of a MIDI event structure. More... | |
FLUIDSYNTH_API int | fluid_midi_event_get_control (fluid_midi_event_t *evt) |
Get the control number of a MIDI event structure. More... | |
FLUIDSYNTH_API int | fluid_midi_event_set_control (fluid_midi_event_t *evt, int ctrl) |
Set the control field of a MIDI event structure. More... | |
FLUIDSYNTH_API int | fluid_midi_event_get_value (fluid_midi_event_t *evt) |
Get the value field from a MIDI event structure. More... | |
FLUIDSYNTH_API int | fluid_midi_event_set_value (fluid_midi_event_t *evt, int val) |
Set the value field of a MIDI event structure. More... | |
FLUIDSYNTH_API int | fluid_midi_event_get_program (fluid_midi_event_t *evt) |
Get the program field of a MIDI event structure. More... | |
FLUIDSYNTH_API int | fluid_midi_event_set_program (fluid_midi_event_t *evt, int val) |
Set the program field of a MIDI event structure. More... | |
FLUIDSYNTH_API int | fluid_midi_event_get_pitch (fluid_midi_event_t *evt) |
Get the pitch field of a MIDI event structure. More... | |
FLUIDSYNTH_API int | fluid_midi_event_set_pitch (fluid_midi_event_t *evt, int val) |
Set the pitch field of a MIDI event structure. More... | |
FLUIDSYNTH_API fluid_midi_router_t * | new_fluid_midi_router (fluid_settings_t *settings, handle_midi_event_func_t handler, void *event_handler_data) |
Create a new midi router. More... | |
FLUIDSYNTH_API int | delete_fluid_midi_router (fluid_midi_router_t *handler) |
Delete a MIDI router instance. More... | |
FLUIDSYNTH_API int | fluid_midi_router_handle_midi_event (void *data, fluid_midi_event_t *event) |
Handle a MIDI event through a MIDI router instance. More... | |
FLUIDSYNTH_API int | fluid_midi_dump_prerouter (void *data, fluid_midi_event_t *event) |
MIDI event callback function to display event information to stdout. More... | |
FLUIDSYNTH_API int | fluid_midi_dump_postrouter (void *data, fluid_midi_event_t *event) |
MIDI event callback function to display event information to stdout. More... | |
FLUIDSYNTH_API fluid_midi_driver_t * | new_fluid_midi_driver (fluid_settings_t *settings, handle_midi_event_func_t handler, void *event_handler_data) |
Create a new MIDI driver instance. More... | |
FLUIDSYNTH_API void | delete_fluid_midi_driver (fluid_midi_driver_t *driver) |
Delete a MIDI driver instance. More... | |
FLUIDSYNTH_API fluid_player_t * | new_fluid_player (fluid_synth_t *synth) |
Create a new MIDI player. More... | |
FLUIDSYNTH_API int | delete_fluid_player (fluid_player_t *player) |
Delete a MIDI player instance. More... | |
FLUIDSYNTH_API int | fluid_player_play (fluid_player_t *player) |
Activates play mode for a MIDI player if not already playing. More... | |
FLUIDSYNTH_API int | fluid_player_stop (fluid_player_t *player) |
Stops a MIDI player. More... | |
FLUIDSYNTH_API int | fluid_player_join (fluid_player_t *player) |
Wait for a MIDI player to terminate (when done playing). More... | |
FLUIDSYNTH_API int | fluid_player_set_loop (fluid_player_t *player, int loop) |
Enable looping of a MIDI player (DOCME - Does this actually work?). More... | |
FLUIDSYNTH_API int | fluid_player_set_midi_tempo (fluid_player_t *player, int tempo) |
Set the tempo of a MIDI player. More... | |
FLUIDSYNTH_API int | fluid_player_set_bpm (fluid_player_t *player, int bpm) |
Set the tempo of a MIDI player in beats per minute. More... |
Definition in file midi.h.
|
Generic callback function for MIDI events.
|
|
Create a MIDI event structure.
Definition at line 673 of file fluid_midi.c. |
|
Delete MIDI event structure.
Definition at line 695 of file fluid_midi.c. |
|
Set the event type field of a MIDI event structure. DOCME - Event type enum appears to be internal (fluid_midi.h)
Definition at line 726 of file fluid_midi.c. |
|
Get the event type field of a MIDI event structure. DOCME - Event type enum appears to be internal (fluid_midi.h)
Definition at line 714 of file fluid_midi.c. |
|
Set the channel field of a MIDI event structure.
Definition at line 748 of file fluid_midi.c. |
|
Get the channel field of a MIDI event structure.
Definition at line 737 of file fluid_midi.c. |
|
Get the key field of a MIDI event structure.
Definition at line 759 of file fluid_midi.c. |
|
Set the key field of a MIDI event structure.
Definition at line 770 of file fluid_midi.c. |
|
Get the velocity field of a MIDI event structure.
Definition at line 781 of file fluid_midi.c. |
|
Set the velocity field of a MIDI event structure.
Definition at line 792 of file fluid_midi.c. |
|
Get the control number of a MIDI event structure.
Definition at line 803 of file fluid_midi.c. |
|
Set the control field of a MIDI event structure.
Definition at line 814 of file fluid_midi.c. |
|
Get the value field from a MIDI event structure.
Definition at line 825 of file fluid_midi.c. |
|
Set the value field of a MIDI event structure.
Definition at line 836 of file fluid_midi.c. |
|
Get the program field of a MIDI event structure.
Definition at line 847 of file fluid_midi.c. |
|
Set the program field of a MIDI event structure.
Definition at line 858 of file fluid_midi.c. |
|
Get the pitch field of a MIDI event structure.
Definition at line 869 of file fluid_midi.c. |
|
Set the pitch field of a MIDI event structure.
Definition at line 880 of file fluid_midi.c. |
|
Create a new midi router.
Definition at line 40 of file fluid_midi_router.c. |
|
Delete a MIDI router instance.
Definition at line 85 of file fluid_midi_router.c. |
|
Handle a MIDI event through a MIDI router instance.
In default mode, a noteon event is just forwarded to the synth's 'noteon' function, a 'CC' event to the synth's 'CC' function and so on. The router can be used to
Definition at line 276 of file fluid_midi_router.c. |
|
MIDI event callback function to display event information to stdout.
Definition at line 813 of file fluid_midi_router.c. |
|
MIDI event callback function to display event information to stdout.
Definition at line 857 of file fluid_midi_router.c. |
|
Create a new MIDI driver instance.
Definition at line 162 of file fluid_mdriver.c. |
|
Delete a MIDI driver instance.
Definition at line 185 of file fluid_mdriver.c. |
|
Create a new MIDI player.
Definition at line 1118 of file fluid_midi.c. |
|
Delete a MIDI player instance.
Definition at line 1149 of file fluid_midi.c. |
|
Activates play mode for a MIDI player if not already playing.
Definition at line 1316 of file fluid_midi.c. |
|
Stops a MIDI player.
Definition at line 1341 of file fluid_midi.c. |
|
Wait for a MIDI player to terminate (when done playing).
Definition at line 1402 of file fluid_midi.c. |
|
Enable looping of a MIDI player (DOCME - Does this actually work?).
Definition at line 1359 of file fluid_midi.c. |
|
Set the tempo of a MIDI player.
Definition at line 1372 of file fluid_midi.c. |
|
Set the tempo of a MIDI player in beats per minute.
Definition at line 1391 of file fluid_midi.c. |