Module audio

Source

Structs§

AudioSample

Enums§

AudioVoiceParam

Constants§

VOICE_COUNT

Functions§

get_time
Get the current audio timer value for scheduling
get_usage
Get the current sample memory usage in bytes
get_voice_state
Gets whether the given voice is currently playing
init_synth
Initialize the MIDI synth using the given soundfont data
play_midi
Start playing a MIDI file using the initialized MIDI synth, optionally looping the file when it reaches the end
queue_set_voice_param_f
Schedule an audio voice float parameter change at some point in the future
queue_set_voice_param_i
Schedule an audio voice integer parameter change at some point in the future
queue_start_voice
Schedule an audio voice to start playing at some point in the future
queue_stop_voice
Schedule an audio voice to stop playing at some point in the future
set_midi_reverb
Set whether to route MIDI playback through the reverb unit
set_midi_volume
Set the volume of MIDI playback
set_reverb
Set the current reverb unit parameters