|
libopenmpt 0.8.10+release.autotools
cross-platform C++ and C library to decode tracked music files
|
#include <libopenmpt/libopenmpt_ext.h>
Public Attributes | |
| int(* | set_current_speed )(openmpt_module_ext *mod_ext, int32_t speed) |
| int(* | set_current_tempo )(openmpt_module_ext *mod_ext, int32_t tempo) |
| int(* | set_tempo_factor )(openmpt_module_ext *mod_ext, double factor) |
| double(* | get_tempo_factor )(openmpt_module_ext *mod_ext) |
| int(* | set_pitch_factor )(openmpt_module_ext *mod_ext, double factor) |
| double(* | get_pitch_factor )(openmpt_module_ext *mod_ext) |
| int(* | set_global_volume )(openmpt_module_ext *mod_ext, double volume) |
| double(* | get_global_volume )(openmpt_module_ext *mod_ext) |
| int(* | set_channel_volume )(openmpt_module_ext *mod_ext, int32_t channel, double volume) |
| double(* | get_channel_volume )(openmpt_module_ext *mod_ext, int32_t channel) |
| int(* | set_channel_mute_status )(openmpt_module_ext *mod_ext, int32_t channel, int mute) |
| int(* | get_channel_mute_status )(openmpt_module_ext *mod_ext, int32_t channel) |
| int(* | set_instrument_mute_status )(openmpt_module_ext *mod_ext, int32_t instrument, int mute) |
| int(* | get_instrument_mute_status )(openmpt_module_ext *mod_ext, int32_t instrument) |
| int32_t(* | play_note )(openmpt_module_ext *mod_ext, int32_t instrument, int32_t note, double volume, double panning) |
| int(* | stop_note )(openmpt_module_ext *mod_ext, int32_t channel) |
| int(* openmpt_module_ext_interface_interactive::get_channel_mute_status) (openmpt_module_ext *mod_ext, int32_t channel) |
Get the current mute status for a channel
| mod_ext | The module handle to work on. |
| channel | The channel whose mute status should be retrieved, in range [0, openmpt_module_get_num_channels()[ |
| double(* openmpt_module_ext_interface_interactive::get_channel_volume) (openmpt_module_ext *mod_ext, int32_t channel) |
Get the current channel volume for a channel
| mod_ext | The module handle to work on. |
| channel | The channel whose volume should be retrieved, in range [0, openmpt_module_get_num_channels()[ |
| double(* openmpt_module_ext_interface_interactive::get_global_volume) (openmpt_module_ext *mod_ext) |
Get the current global volume
| mod_ext | The module handle to work on. |
| int(* openmpt_module_ext_interface_interactive::get_instrument_mute_status) (openmpt_module_ext *mod_ext, int32_t instrument) |
Get the current mute status for an instrument
| mod_ext | The module handle to work on. |
| instrument | The instrument whose mute status should be retrieved, in range [0, openmpt_module_get_num_instruments()[ if openmpt_module_get_num_instruments is not 0, otherwise in [0, openmpt_module_get_num_samples()[ |
| double(* openmpt_module_ext_interface_interactive::get_pitch_factor) (openmpt_module_ext *mod_ext) |
Gets the current module pitch factor
| mod_ext | The module handle to work on. |
| double(* openmpt_module_ext_interface_interactive::get_tempo_factor) (openmpt_module_ext *mod_ext) |
Gets the current module tempo factor
| mod_ext | The module handle to work on. |
| int32_t(* openmpt_module_ext_interface_interactive::play_note) (openmpt_module_ext *mod_ext, int32_t instrument, int32_t note, double volume, double panning) |
Play a note using the specified instrument
| mod_ext | The module handle to work on. |
| instrument | The instrument that should be played, in range [0, openmpt_module_get_num_instruments()[ if openmpt_module_get_num_instruments is not 0, otherwise in [0, openmpt_module_get_num_samples()[ |
| note | The note to play, in rage [0, 119]. 60 is the middle C. |
| volume | The volume at which the note should be triggered, in range [0.0, 1.0] |
| panning | The panning position at which the note should be triggered, in range [-1.0, 1.0], 0.0 is center. |
| int(* openmpt_module_ext_interface_interactive::set_channel_mute_status) (openmpt_module_ext *mod_ext, int32_t channel, int mute) |
Set the current mute status for a channel
| mod_ext | The module handle to work on. |
| channel | The channel whose mute status should be set, in range [0, openmpt_module_get_num_channels()[ |
| mute | The new mute status. true is muted, false is unmuted. |
| int(* openmpt_module_ext_interface_interactive::set_channel_volume) (openmpt_module_ext *mod_ext, int32_t channel, double volume) |
Set the current channel volume for a channel
| mod_ext | The module handle to work on. |
| channel | The channel whose volume should be set, in range [0, openmpt_module_get_num_channels()[ |
| volume | The new channel volume in range [0.0, 1.0] |
| int(* openmpt_module_ext_interface_interactive::set_current_speed) (openmpt_module_ext *mod_ext, int32_t speed) |
Set the current ticks per row (speed)
| mod_ext | The module handle to work on. |
| speed | The new tick count in range [1, 65535]. |
| int(* openmpt_module_ext_interface_interactive::set_current_tempo) (openmpt_module_ext *mod_ext, int32_t tempo) |
Set the current module tempo
| mod_ext | The module handle to work on. |
| tempo | The new tempo in range [32, 512]. The exact meaning of the value depends on the tempo mode used by the module. |
| int(* openmpt_module_ext_interface_interactive::set_global_volume) (openmpt_module_ext *mod_ext, double volume) |
Set the current global volume
| mod_ext | The module handle to work on. |
| volume | The new global volume in range [0.0, 1.0] |
| int(* openmpt_module_ext_interface_interactive::set_instrument_mute_status) (openmpt_module_ext *mod_ext, int32_t instrument, int mute) |
Set the current mute status for an instrument
| mod_ext | The module handle to work on. |
| instrument | The instrument whose mute status should be set, in range [0, openmpt_module_get_num_instruments()[ if openmpt_module_get_num_instruments is not 0, otherwise in [0, openmpt_module_get_num_samples()[ |
| mute | The new mute status. true is muted, false is unmuted. |
| int(* openmpt_module_ext_interface_interactive::set_pitch_factor) (openmpt_module_ext *mod_ext, double factor) |
Set the current module pitch factor without affecting playback speed
| mod_ext | The module handle to work on. |
| factor | The new pitch factor in range ]0.0, 4.0] - 1.0 means unmodified pitch. |
| int(* openmpt_module_ext_interface_interactive::set_tempo_factor) (openmpt_module_ext *mod_ext, double factor) |
Set the current module tempo factor without affecting playback pitch
| mod_ext | The module handle to work on. |
| factor | The new tempo factor in range ]0.0, 4.0] - 1.0 means unmodified tempo. |
| int(* openmpt_module_ext_interface_interactive::stop_note) (openmpt_module_ext *mod_ext, int32_t channel) |
Stop the note playing on the specified channel
| mod_ext | The module handle to work on. |
| channel | The channel on which the note should be stopped. This is the value returned by a previous play_note call. |