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

#include <InstrumentSoundShaping.h>

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

Public Member Functions

 InstrumentSoundShaping (InstrumentTrack *_instrument_track)
 ~InstrumentSoundShaping () override=default
void processAudioBuffer (SampleFrame *_ab, const f_cnt_t _frames, NotePlayHandle *_n)
const EnvelopeAndLfoParametersgetVolumeParameters () const
EnvelopeAndLfoParametersgetVolumeParameters ()
const EnvelopeAndLfoParametersgetCutoffParameters () const
EnvelopeAndLfoParametersgetCutoffParameters ()
const EnvelopeAndLfoParametersgetResonanceParameters () const
EnvelopeAndLfoParametersgetResonanceParameters ()
BoolModelgetFilterEnabledModel ()
ComboBoxModelgetFilterModel ()
FloatModelgetFilterCutModel ()
FloatModelgetFilterResModel ()
f_cnt_t envFrames (const bool _only_vol=false) const
f_cnt_t releaseFrames () const
float volumeLevel (NotePlayHandle *_n, const f_cnt_t _frame)
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 ()

Private Member Functions

QString getVolumeNodeName () const
QString getCutoffNodeName () const
QString getResonanceNodeName () const

Private Attributes

InstrumentTrackm_instrumentTrack
EnvelopeAndLfoParameters m_volumeParameters
EnvelopeAndLfoParameters m_cutoffParameters
EnvelopeAndLfoParameters m_resonanceParameters
BoolModel m_filterEnabledModel
ComboBoxModel m_filterModel
FloatModel m_filterCutModel
FloatModel m_filterResModel

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)

Constructor & Destructor Documentation

◆ InstrumentSoundShaping()

lmms::InstrumentSoundShaping::InstrumentSoundShaping ( InstrumentTrack * _instrument_track)

◆ ~InstrumentSoundShaping()

lmms::InstrumentSoundShaping::~InstrumentSoundShaping ( )
overridedefault

Member Function Documentation

◆ envFrames()

f_cnt_t lmms::InstrumentSoundShaping::envFrames ( const bool _only_vol = false) const

◆ getCutoffNodeName()

QString lmms::InstrumentSoundShaping::getCutoffNodeName ( ) const
private

◆ getCutoffParameters() [1/2]

EnvelopeAndLfoParameters & lmms::InstrumentSoundShaping::getCutoffParameters ( )
inline

◆ getCutoffParameters() [2/2]

const EnvelopeAndLfoParameters & lmms::InstrumentSoundShaping::getCutoffParameters ( ) const
inline

◆ getFilterCutModel()

FloatModel & lmms::InstrumentSoundShaping::getFilterCutModel ( )
inline

◆ getFilterEnabledModel()

BoolModel & lmms::InstrumentSoundShaping::getFilterEnabledModel ( )
inline

◆ getFilterModel()

ComboBoxModel & lmms::InstrumentSoundShaping::getFilterModel ( )
inline

◆ getFilterResModel()

FloatModel & lmms::InstrumentSoundShaping::getFilterResModel ( )
inline

◆ getResonanceNodeName()

QString lmms::InstrumentSoundShaping::getResonanceNodeName ( ) const
private

◆ getResonanceParameters() [1/2]

EnvelopeAndLfoParameters & lmms::InstrumentSoundShaping::getResonanceParameters ( )
inline

◆ getResonanceParameters() [2/2]

const EnvelopeAndLfoParameters & lmms::InstrumentSoundShaping::getResonanceParameters ( ) const
inline

◆ getVolumeNodeName()

QString lmms::InstrumentSoundShaping::getVolumeNodeName ( ) const
private

◆ getVolumeParameters() [1/2]

EnvelopeAndLfoParameters & lmms::InstrumentSoundShaping::getVolumeParameters ( )
inline

◆ getVolumeParameters() [2/2]

const EnvelopeAndLfoParameters & lmms::InstrumentSoundShaping::getVolumeParameters ( ) const
inline

◆ loadSettings()

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

◆ nodeName()

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

◆ processAudioBuffer()

void lmms::InstrumentSoundShaping::processAudioBuffer ( SampleFrame * _ab,
const f_cnt_t _frames,
NotePlayHandle * _n )

◆ releaseFrames()

f_cnt_t lmms::InstrumentSoundShaping::releaseFrames ( ) const

◆ saveSettings()

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

◆ volumeLevel()

float lmms::InstrumentSoundShaping::volumeLevel ( NotePlayHandle * _n,
const f_cnt_t _frame )

Member Data Documentation

◆ m_cutoffParameters

EnvelopeAndLfoParameters lmms::InstrumentSoundShaping::m_cutoffParameters
private

◆ m_filterCutModel

FloatModel lmms::InstrumentSoundShaping::m_filterCutModel
private

◆ m_filterEnabledModel

BoolModel lmms::InstrumentSoundShaping::m_filterEnabledModel
private

◆ m_filterModel

ComboBoxModel lmms::InstrumentSoundShaping::m_filterModel
private

◆ m_filterResModel

FloatModel lmms::InstrumentSoundShaping::m_filterResModel
private

◆ m_instrumentTrack

InstrumentTrack* lmms::InstrumentSoundShaping::m_instrumentTrack
private

◆ m_resonanceParameters

EnvelopeAndLfoParameters lmms::InstrumentSoundShaping::m_resonanceParameters
private

◆ m_volumeParameters

EnvelopeAndLfoParameters lmms::InstrumentSoundShaping::m_volumeParameters
private

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