LMMS
Loading...
Searching...
No Matches
lmms::InstrumentFunctionNoteStacking Class Reference

#include <InstrumentFunctions.h>

Inheritance diagram for lmms::InstrumentFunctionNoteStacking:
lmms::Model lmms::JournallingObject lmms::SerializingObject

Classes

struct  Chord
struct  ChordTable

Public Member Functions

 InstrumentFunctionNoteStacking (Model *_parent)
 ~InstrumentFunctionNoteStacking () override=default
void processNote (NotePlayHandle *n)
void saveSettings (QDomDocument &_doc, QDomElement &_parent) override
void loadSettings (const QDomElement &_this) override
QString nodeName () const override
Public Member Functions inherited from lmms::Model
 Model (Model *parent, QString displayName=QString(), bool defaultConstructed=false)
 ~Model () override=default
bool isDefaultConstructed () const
ModelparentModel () const
virtual QString displayName () const
virtual void setDisplayName (const QString &displayName)
virtual QString fullDisplayName () const
Public Member Functions inherited from lmms::JournallingObject
 JournallingObject ()
 ~JournallingObject () override
jo_id_t id () const
void saveJournallingState (const bool newState)
void restoreJournallingState ()
void addJournalCheckPoint ()
QDomElement saveState (QDomDocument &_doc, QDomElement &_parent) override
void restoreState (const QDomElement &_this) override
bool isJournalling () const
void setJournalling (const bool _sr)
bool testAndSetJournalling (const bool newState)
bool isJournallingStateStackEmpty () const
Public Member Functions inherited from lmms::SerializingObject
 SerializingObject ()
virtual ~SerializingObject ()
void setHook (SerializingObjectHook *_hook)
SerializingObjectHookhook ()

Static Public Attributes

static const int MAX_CHORD_POLYPHONY = 13
static const int NUM_CHORD_TABLES = 95

Private Types

using ChordSemiTones = std::array<int8_t, MAX_CHORD_POLYPHONY>

Private Attributes

BoolModel m_chordsEnabledModel
ComboBoxModel m_chordsModel
FloatModel m_chordRangeModel

Friends

class gui::InstrumentFunctionNoteStackingView

Additional Inherited Members

Signals inherited from lmms::Model
void dataChanged ()
void dataUnchanged ()
void propertiesChanged ()
Protected Member Functions inherited from lmms::JournallingObject
void changeID (jo_id_t _id)

Member Typedef Documentation

◆ ChordSemiTones

Constructor & Destructor Documentation

◆ InstrumentFunctionNoteStacking()

lmms::InstrumentFunctionNoteStacking::InstrumentFunctionNoteStacking ( Model * _parent)

◆ ~InstrumentFunctionNoteStacking()

lmms::InstrumentFunctionNoteStacking::~InstrumentFunctionNoteStacking ( )
overridedefault

Member Function Documentation

◆ loadSettings()

void lmms::InstrumentFunctionNoteStacking::loadSettings ( const QDomElement & _this)
overridevirtual

◆ nodeName()

QString lmms::InstrumentFunctionNoteStacking::nodeName ( void ) const
inlineoverridevirtual

◆ processNote()

void lmms::InstrumentFunctionNoteStacking::processNote ( NotePlayHandle * n)

◆ saveSettings()

void lmms::InstrumentFunctionNoteStacking::saveSettings ( QDomDocument & _doc,
QDomElement & _parent )
overridevirtual

◆ gui::InstrumentFunctionNoteStackingView

Member Data Documentation

◆ m_chordRangeModel

FloatModel lmms::InstrumentFunctionNoteStacking::m_chordRangeModel
private

◆ m_chordsEnabledModel

BoolModel lmms::InstrumentFunctionNoteStacking::m_chordsEnabledModel
private

◆ m_chordsModel

ComboBoxModel lmms::InstrumentFunctionNoteStacking::m_chordsModel
private

◆ MAX_CHORD_POLYPHONY

const int lmms::InstrumentFunctionNoteStacking::MAX_CHORD_POLYPHONY = 13
static

◆ NUM_CHORD_TABLES

const int lmms::InstrumentFunctionNoteStacking::NUM_CHORD_TABLES = 95
static

The documentation for this class was generated from the following files: