6.0.0-rc4Source

QtFM::MidiFile::Control Struct

The Control struct is a change of a channel's level, pan or pitch bend. More…

Header#include <QtFM>
CMaketarget_link_libraries(app PRIVATE Nt::FM)
ModuleNt FM C++ Classes
Nested inQtFM::MidiFile

List of all members, including inherited members

Public Types

enumKind

Public Variables

doubletime
intchannel
Kindkind
floatvalue

Detailed Description

Member Type Documentation

enum QtFM::MidiFile::Control::Kind

What changed.

ConstantDescription
QtFM::MidiFile::Control::LevelThe channel's level in decibels, from its volume and expression.
QtFM::MidiFile::Control::PanThe channel's pan, from -1 to 1.
QtFM::MidiFile::Control::BendThe 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.