6.0.0-rc4Source

QtFM::MidiFile::Note Struct

The Note struct is one note of a MidiFile. 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 Variables

doubletime
doublelength
intchannel
intprogram
intkey
intvelocity
floatgain
floatpan
floatbend

Detailed Description

Member Variable Documentation

float QtFM::MidiFile::Note::bend

The pitch bend of the channel in semitones.

int QtFM::MidiFile::Note::channel

The MIDI channel, from 0; channel 9 is the General MIDI drum channel.

float QtFM::MidiFile::Note::gain

The gain in decibels from the velocity, the channel volume and the expression.

int QtFM::MidiFile::Note::key

The MIDI key; 60 is middle C.

double QtFM::MidiFile::Note::length

The length of the note in seconds, including the time the sustain pedal held it.

float QtFM::MidiFile::Note::pan

The pan of the channel, from -1 to 1.

int QtFM::MidiFile::Note::program

The program (instrument) of the channel, from 0.

double QtFM::MidiFile::Note::time

The start of the note in seconds.

int QtFM::MidiFile::Note::velocity

The velocity, 1 to 127.