lmms
Cross-platform music production software
Loading...
Searching...
No Matches
lmms::MidiExport::Note Struct Reference

A single MIDI note. More...

Public Types

using Type = ::lmms::Note::Type

Public Member Functions

bool operator< (const Note &b) const noexcept
 Sort notes by time.

Public Attributes

std::uint8_t pitch = 0
 The pitch (tone), which can be lower or higher.
std::uint8_t volume = 0
 Volume (loudness).
tick_t time = 0
 Absolute time (from song start) when the note starts playing.
tick_t duration = 0
 For how long the note plays.
Type type = Type::Regular

Detailed Description

A single MIDI note.

Member Typedef Documentation

◆ Type

Member Function Documentation

◆ operator<()

bool lmms::MidiExport::Note::operator< ( const Note & b) const
inlinenoexcept

Sort notes by time.

Member Data Documentation

◆ duration

tick_t lmms::MidiExport::Note::duration = 0

For how long the note plays.

◆ pitch

std::uint8_t lmms::MidiExport::Note::pitch = 0

The pitch (tone), which can be lower or higher.

◆ time

tick_t lmms::MidiExport::Note::time = 0

Absolute time (from song start) when the note starts playing.

◆ type

Type lmms::MidiExport::Note::type = Type::Regular

◆ volume

std::uint8_t lmms::MidiExport::Note::volume = 0

Volume (loudness).


The documentation for this struct was generated from the following file: