QtFM::MidiFile::Control Struct
The Control struct is a change of a channel's level, pan or pitch bend. More…
| Header | #include <QtFM> |
|---|---|
| CMake | target_link_libraries(app PRIVATE Nt::FM) |
| Module | Nt FM C++ Classes |
| Nested in | QtFM::MidiFile |
List of all members, including inherited members
Public Types
| enum | Kind |
Public Variables
Detailed Description
Member Type Documentation
enum QtFM::MidiFile::Control::Kind
What changed.
| Constant | Description |
|---|---|
QtFM::MidiFile::Control::Level | The channel's level in decibels, from its volume and expression. |
QtFM::MidiFile::Control::Pan | The channel's pan, from -1 to 1. |
QtFM::MidiFile::Control::Bend | The channel's pitch bend in semitones. |
Member Variable Documentation
int QtFM::MidiFile::Control::channel
The channel that changed.
Kind QtFM::MidiFile::Control::kind
What changed.
double QtFM::MidiFile::Control::time
When the change happens, in seconds.
float QtFM::MidiFile::Control::value
The new value: decibels, a pan or semitones, by kind.