MuseScore  3.4
Music composition and notation
Public Slots | Public Member Functions | Protected Attributes | List of all members
Ms::Effect Class Referenceabstract

#include <effect.h>

Inheritance diagram for Ms::Effect:
Inheritance graph
[legend]
Collaboration diagram for Ms::Effect:
Collaboration graph
[legend]

Public Slots

virtual void setValue (const QString &name, double value)
 
virtual void setValue (int idx, double value)
 
virtual void setNValue (int idx, double value)=0
 

Public Member Functions

 Effect ()
 
virtual ~Effect ()
 
virtual void process (int frames, float *, float *)=0
 
virtual const char * name () const =0
 
virtual void init (float)
 
virtual const std::vector< ParDescr > & parDescr () const =0
 
Q_INVOKABLE qreal value (const QString &name) const
 
virtual double value (int idx) const
 
virtual double nvalue (int) const
 
virtual const ParDescrparameter (int idx) const
 
virtual const ParDescrparameter (const QString &) const
 
virtual SynthesizerGroup state () const
 
virtual void setState (const SynthesizerGroup &)
 
virtual EffectGuigui ()
 

Protected Attributes

EffectGui_gui { nullptr }
 

Constructor & Destructor Documentation

◆ Effect()

Ms::Effect::Effect ( )
inline

◆ ~Effect()

virtual Ms::Effect::~Effect ( )
inlinevirtual

Member Function Documentation

◆ gui()

virtual EffectGui* Ms::Effect::gui ( )
inlinevirtual

Reimplemented in Ms::ZitaReverb, Ms::Compressor, and Ms::NoEffect.

◆ init()

virtual void Ms::Effect::init ( float  )
inlinevirtual

Reimplemented in Ms::ZitaReverb, Ms::Compressor, and Ms::NoEffect.

◆ name()

virtual const char* Ms::Effect::name ( ) const
pure virtual

◆ nvalue()

virtual double Ms::Effect::nvalue ( int  ) const
inlinevirtual

Reimplemented in Ms::ZitaReverb, Ms::Compressor, and Ms::NoEffect.

◆ parameter() [1/2]

const ParDescr * Effect::parameter ( int  idx) const
virtual

◆ parameter() [2/2]

const ParDescr * Effect::parameter ( const QString &  name) const
virtual

◆ parDescr()

virtual const std::vector<ParDescr>& Ms::Effect::parDescr ( ) const
pure virtual

◆ process()

virtual void Ms::Effect::process ( int  frames,
float *  ,
float *   
)
pure virtual

◆ setNValue

virtual void Ms::Effect::setNValue ( int  idx,
double  value 
)
pure virtualslot

◆ setState()

virtual void Ms::Effect::setState ( const SynthesizerGroup )
inlinevirtual

Reimplemented in Ms::ZitaReverb, and Ms::Compressor.

◆ setValue [1/2]

void Effect::setValue ( const QString &  name,
double  value 
)
virtualslot

◆ setValue [2/2]

void Effect::setValue ( int  idx,
double  value 
)
virtualslot

◆ state()

virtual SynthesizerGroup Ms::Effect::state ( ) const
inlinevirtual

Reimplemented in Ms::ZitaReverb, and Ms::Compressor.

◆ value() [1/2]

double Effect::value ( const QString &  name) const

◆ value() [2/2]

double Effect::value ( int  idx) const
virtual

Reimplemented in Ms::NoEffect.

Member Data Documentation

◆ _gui

EffectGui* Ms::Effect::_gui { nullptr }
protected

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