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

#include <SidInstrument.h>

Inheritance diagram for lmms::VoiceObject:
lmms::Model

Public Types

enum class  WaveForm {
  Square = 0 , Triangle , Saw , Noise ,
  Count
}

Public Member Functions

 VoiceObject (Model *_parent, int _idx)
 ~VoiceObject () override=default
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

Static Public Attributes

static constexpr auto NumWaveShapes = static_cast<std::size_t>(WaveForm::Count)

Private Attributes

FloatModel m_pulseWidthModel
FloatModel m_attackModel
FloatModel m_decayModel
FloatModel m_sustainModel
FloatModel m_releaseModel
FloatModel m_coarseModel
IntModel m_waveFormModel
BoolModel m_syncModel
BoolModel m_ringModModel
BoolModel m_filteredModel
BoolModel m_testModel

Friends

class SidInstrument
class gui::SidInstrumentView

Additional Inherited Members

Signals inherited from lmms::Model
void dataChanged ()
void dataUnchanged ()
void propertiesChanged ()

Member Enumeration Documentation

◆ WaveForm

enum class lmms::VoiceObject::WaveForm
strong
Enumerator
Square 
Triangle 
Saw 
Noise 
Count 

Constructor & Destructor Documentation

◆ VoiceObject()

lmms::VoiceObject::VoiceObject ( Model * _parent,
int _idx )

◆ ~VoiceObject()

lmms::VoiceObject::~VoiceObject ( )
overridedefault

◆ gui::SidInstrumentView

friend class gui::SidInstrumentView
friend

◆ SidInstrument

friend class SidInstrument
friend

Member Data Documentation

◆ m_attackModel

FloatModel lmms::VoiceObject::m_attackModel
private

◆ m_coarseModel

FloatModel lmms::VoiceObject::m_coarseModel
private

◆ m_decayModel

FloatModel lmms::VoiceObject::m_decayModel
private

◆ m_filteredModel

BoolModel lmms::VoiceObject::m_filteredModel
private

◆ m_pulseWidthModel

FloatModel lmms::VoiceObject::m_pulseWidthModel
private

◆ m_releaseModel

FloatModel lmms::VoiceObject::m_releaseModel
private

◆ m_ringModModel

BoolModel lmms::VoiceObject::m_ringModModel
private

◆ m_sustainModel

FloatModel lmms::VoiceObject::m_sustainModel
private

◆ m_syncModel

BoolModel lmms::VoiceObject::m_syncModel
private

◆ m_testModel

BoolModel lmms::VoiceObject::m_testModel
private

◆ m_waveFormModel

IntModel lmms::VoiceObject::m_waveFormModel
private

◆ NumWaveShapes

auto lmms::VoiceObject::NumWaveShapes = static_cast<std::size_t>(WaveForm::Count)
staticconstexpr

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