MuseScore  3.4
Music composition and notation
Public Member Functions | Private Types | Private Member Functions | Private Attributes | Static Private Attributes | Friends | List of all members
Aeolus Class Reference

#include <aeolus.h>

Inheritance diagram for Aeolus:
Inheritance graph
[legend]
Collaboration diagram for Aeolus:
Collaboration graph
[legend]

Public Member Functions

 Aeolus ()
 
virtual ~Aeolus ()
 
virtual void init (float sampleRate)
 
virtual const char * name () const
 
virtual void setMasterTuning (double)
 
virtual double masterTuning () const
 
virtual bool loadSoundFonts (const QStringList &)
 
virtual QStringList soundFonts () const
 
virtual void process (unsigned, float *, float *, float *)
 
virtual void play (const PlayEvent &)
 
virtual const QList< MidiPatch * > & getPatchInfo () const
 
virtual SynthesizerGroup state () const
 
virtual void setState (const SynthesizerGroup &)
 
virtual void allSoundsOff (int channel)
 
virtual void allNotesOff (int)
 
virtual SynthesizerGuigui ()
 
- Public Member Functions inherited from Ms::Synthesizer
 Synthesizer ()
 
virtual ~Synthesizer ()
 
float sampleRate () const
 
virtual bool addSoundFont (const QString &)
 
virtual bool removeSoundFont (const QString &)
 
virtual std::vector< SoundFontInfosoundFontsInfo () const =0
 
void reset ()
 
bool active () const
 
void setActive (bool val=true)
 

Private Types

enum  { VOLUME, REVSIZE, REVTIME, STPOSIT }
 

Private Member Functions

void proc_synth (int)
 
void cond_key_off (int m, int b)
 
void cond_key_on (int m, int b)
 
void audio_init (int sampleRate)
 
void audio_start ()
 
void key_off (int n, int b)
 
void key_on (int n, int b)
 
void newDivis (M_new_divis *X)
 
void proc_queue (uint32_t)
 
virtual void setValue (int idx, double value)
 
virtual double value (int idx) const
 
const ParDescrparameter (int idx) const
 

Private Attributes

Modelmodel
 
QList< MidiPatch * > patchList
 
uint16_t _midimap [16]
 
int _sc_cmode
 
int _sc_group
 
volatile bool _running
 
int _hold
 
int _nplay
 
int _nasect
 
int _ndivis
 
Asection_asectp [NASECT]
 
Division_divisp [NDIVIS]
 
unsigned char _keymap [NNOTES]
 
float _audiopar [4]
 
float _revsize
 
float _revtime
 
int nout
 
float routb [PERIOD]
 
float loutb [PERIOD]
 
float _fsamp
 
int _fsize
 
SyntiParameter_asectpar [NASECT]
 
M_ifc_init_ifc_init
 
uint32_t _ifelms [NGROUP]
 
char _tempstr [64]
 

Static Private Attributes

static const std::vector< ParDescrpd
 

Friends

class Model
 

Additional Inherited Members

- Protected Attributes inherited from Ms::Synthesizer
float _sampleRate
 
SynthesizerGui_gui
 

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
private
Enumerator
VOLUME 
REVSIZE 
REVTIME 
STPOSIT 

Constructor & Destructor Documentation

◆ Aeolus()

Aeolus::Aeolus ( )

◆ ~Aeolus()

Aeolus::~Aeolus ( )
virtual

Member Function Documentation

◆ allNotesOff()

void Aeolus::allNotesOff ( int  )
virtual

Reimplemented from Ms::Synthesizer.

◆ allSoundsOff()

virtual void Aeolus::allSoundsOff ( int  channel)
inlinevirtual

Reimplemented from Ms::Synthesizer.

◆ audio_init()

void Aeolus::audio_init ( int  sampleRate)
private

◆ audio_start()

void Aeolus::audio_start ( )
private

◆ cond_key_off()

void Aeolus::cond_key_off ( int  m,
int  b 
)
private

◆ cond_key_on()

void Aeolus::cond_key_on ( int  m,
int  b 
)
private

◆ getPatchInfo()

const QList< MidiPatch * > & Aeolus::getPatchInfo ( ) const
virtual

Implements Ms::Synthesizer.

◆ gui()

SynthesizerGui * Aeolus::gui ( )
virtual

Reimplemented from Ms::Synthesizer.

◆ init()

void Aeolus::init ( float  sampleRate)
virtual

Reimplemented from Ms::Synthesizer.

◆ key_off()

void Aeolus::key_off ( int  n,
int  b 
)
private

◆ key_on()

void Aeolus::key_on ( int  n,
int  b 
)
private

◆ loadSoundFonts()

virtual bool Aeolus::loadSoundFonts ( const QStringList &  )
inlinevirtual

Implements Ms::Synthesizer.

◆ masterTuning()

double Aeolus::masterTuning ( ) const
virtual

Reimplemented from Ms::Synthesizer.

◆ name()

virtual const char* Aeolus::name ( ) const
inlinevirtual

Implements Ms::Synthesizer.

◆ newDivis()

void Aeolus::newDivis ( M_new_divis X)
private

◆ parameter()

const ParDescr * Aeolus::parameter ( int  idx) const
private

◆ play()

void Aeolus::play ( const PlayEvent event)
virtual

Implements Ms::Synthesizer.

◆ proc_queue()

void Aeolus::proc_queue ( uint32_t  k)
private

◆ proc_synth()

void Aeolus::proc_synth ( int  )
private

◆ process()

void Aeolus::process ( unsigned  nframes,
float *  out,
float *  ,
float *   
)
virtual

Implements Ms::Synthesizer.

◆ setMasterTuning()

void Aeolus::setMasterTuning ( double  )
virtual

Reimplemented from Ms::Synthesizer.

◆ setState()

void Aeolus::setState ( const SynthesizerGroup g)
virtual

Implements Ms::Synthesizer.

◆ setValue()

void Aeolus::setValue ( int  idx,
double  value 
)
privatevirtual

Reimplemented from Ms::Synthesizer.

◆ soundFonts()

virtual QStringList Aeolus::soundFonts ( ) const
inlinevirtual

◆ state()

SynthesizerGroup Aeolus::state ( ) const
virtual

Implements Ms::Synthesizer.

◆ value()

double Aeolus::value ( int  idx) const
privatevirtual

Reimplemented from Ms::Synthesizer.

Friends And Related Function Documentation

◆ Model

friend class Model
friend

Member Data Documentation

◆ _asectp

Asection* Aeolus::_asectp[NASECT]
private

◆ _asectpar

SyntiParameter* Aeolus::_asectpar[NASECT]
private

◆ _audiopar

float Aeolus::_audiopar[4]
private

◆ _divisp

Division* Aeolus::_divisp[NDIVIS]
private

◆ _fsamp

float Aeolus::_fsamp
private

◆ _fsize

int Aeolus::_fsize
private

◆ _hold

int Aeolus::_hold
private

◆ _ifc_init

M_ifc_init* Aeolus::_ifc_init
private

◆ _ifelms

uint32_t Aeolus::_ifelms[NGROUP]
private

◆ _keymap

unsigned char Aeolus::_keymap[NNOTES]
private

◆ _midimap

uint16_t Aeolus::_midimap[16]
private

◆ _nasect

int Aeolus::_nasect
private

◆ _ndivis

int Aeolus::_ndivis
private

◆ _nplay

int Aeolus::_nplay
private

◆ _revsize

float Aeolus::_revsize
private

◆ _revtime

float Aeolus::_revtime
private

◆ _running

volatile bool Aeolus::_running
private

◆ _sc_cmode

int Aeolus::_sc_cmode
private

◆ _sc_group

int Aeolus::_sc_group
private

◆ _tempstr

char Aeolus::_tempstr[64]
private

◆ loutb

float Aeolus::loutb[PERIOD]
private

◆ model

Model* Aeolus::model
private

◆ nout

int Aeolus::nout
private

◆ patchList

QList<MidiPatch*> Aeolus::patchList
private

◆ pd

const std::vector< ParDescr > Aeolus::pd
staticprivate
Initial value:
= {
{ A_VOLUME, "volume", true, 0.32f, 0.00f, 1.00f },
{ A_REVSIZE, "revsize", true, 0.075f, 0.025f, 0.15f },
{ A_REVTIME, "revtime", true, 4.0f, 2.0f, 7.00f },
{ A_STPOSIT, "stposit", true, 0.5f, -1.00f, 1.0f },
}

◆ routb

float Aeolus::routb[PERIOD]
private

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