|
libopenmpt 0.8.10+release.autotools
cross-platform C++ and C library to decode tracked music files
|
#include <libopenmpt/libopenmpt_ext.hpp>
Public Member Functions | |
| virtual void | note_off (int32_t channel)=0 |
| Sends a key-off command for the note playing on the specified channel. | |
| virtual void | note_fade (int32_t channel)=0 |
| Sends a note fade command for the note playing on the specified channel. | |
| virtual void | set_channel_panning (int32_t channel, double panning)=0 |
| Set the current panning position for a channel. | |
| virtual double | get_channel_panning (int32_t channel)=0 |
| Get the current panning position for a channel. | |
| virtual void | set_note_finetune (int32_t channel, double finetune)=0 |
| Set the finetune for the currently playing note on a channel. | |
| virtual double | get_note_finetune (int32_t channel)=0 |
| Get the finetune for the currently playing note on a channel. | |
Protected Member Functions | |
| interactive2 () | |
| virtual | ~interactive2 () |
|
inlineprotected |
|
inlineprotectedvirtual |
|
pure virtual |
Get the current panning position for a channel.
| channel | The channel whose panning should be retrieved, in range [0, openmpt::module::get_num_channels()[ |
| openmpt::exception | Throws an exception derived from openmpt::exception if the channel is outside the specified range. |
|
pure virtual |
Get the finetune for the currently playing note on a channel.
| channel | The channel whose finetune should be retrieved, in range [0, openmpt::module::get_num_channels()[ |
| openmpt::exception | Throws an exception derived from openmpt::exception if the channel is outside the specified range. |
|
pure virtual |
Sends a note fade command for the note playing on the specified channel.
| channel | The channel on which the note should be faded. This is the value returned by a previous play_note call. |
| openmpt::exception | Throws an exception derived from openmpt::exception if the channel index is invalid. |
|
pure virtual |
Sends a key-off command for the note playing on the specified channel.
| channel | The channel on which the key-off event should be triggered. This is the value returned by a previous play_note call. |
| openmpt::exception | Throws an exception derived from openmpt::exception if the channel index is invalid. |
|
pure virtual |
Set the current panning position for a channel.
| channel | The channel whose panning will be changed, in range [0, openmpt::module::get_num_channels()[ |
| panning | The panning position to set on the channel, in range [-1.0, 1.0], 0.0 is center. |
| openmpt::exception | Throws an exception derived from openmpt::exception if the channel index is invalid. |
|
pure virtual |
Set the finetune for the currently playing note on a channel.
| channel | The channel whose finetune will be changed, in range [0, openmpt::module::get_num_channels()[ |
| finetune | The finetune to set on the channel, in range [-1.0, 1.0], 0.0 is center. |
| openmpt::exception | Throws an exception derived from openmpt::exception if the channel index is invalid. |