55 enum { HAS_SWELL = 1, HAS_TREM = 2, NRANK = 32 };
56 enum { SWELL, TFREQ,
TMODD, NPARAM };
74 enum { IS_PEDAL = 256 };
87 enum { DIVRANK, KBDRANK, COUPLER, TREMUL };
104 enum { NIFELM = 32 };
117 Chconf () { memset (_bits, 0, 16 *
sizeof (uint16_t)); }
171 void init_ranks(
int comm);
172 void proc_rank(
int g,
int i,
int comm);
173 void set_mconf(
int i, uint16_t *d);
174 void get_state(uint32_t *bits);
175 void set_state(
int bank,
int pres);
176 void midi_off(
int mask);
177 void retune(
float freq,
int temp);
178 void recalc(
int g,
int i);
180 Rank* find_rank(
int g,
int i);
183 int get_preset(
int bank,
int pres, uint32_t *bits);
184 void set_preset(
int bank,
int pres, uint32_t *bits);
185 void ins_preset(
int bank,
int pres, uint32_t *bits);
186 void del_preset(
int bank,
int pres);
191 Model (
Aeolus* aeolus, uint16_t* midimap,
const char* stops,
192 const char* instr,
const char* waves);
196 void set_ifelm (
int g,
int i,
int m);
197 void clr_group (
int g);
uint32_t _action0
Definition: model.h:96
int _client
Definition: model.h:162
Aeolus * _aeolus
Definition: model.h:141
Chconf()
Definition: model.h:117
int _ngroup
Definition: model.h:156
int _keybd
Definition: model.h:94
uint32_t _action1
Definition: model.h:97
int _state
Definition: model.h:95
float _fbase
Definition: model.h:157
int _itemp
Definition: model.h:158
int _nrank
Definition: model.h:63
virtual ~Model()
Definition: model.h:194
Definition: addsynth.h:85
const char * _waves
Definition: model.h:145
int _portid
Definition: model.h:163
int _nasect
Definition: model.h:153
Asect(void)
Definition: model.h:35
Definition: rankwave.h:88
bool _ready
Definition: model.h:146
int _count
Definition: model.h:159
int _nkeybd
Definition: model.h:155
int _keybd
Definition: model.h:65
int _nifelm
Definition: model.h:109
Preset()
Definition: model.h:130
Rankwave * _wave
Definition: model.h:47
int _sc_cmode
Definition: model.h:164
const char * _stops
Definition: model.h:143
int _asect
Definition: model.h:64
int _sc_group
Definition: model.h:165
char _label[64]
Definition: model.h:37
int _pres
Definition: model.h:161
int _flags
Definition: model.h:61
int _dmask
Definition: model.h:62
Addsynth * _sdef
Definition: model.h:46
int _flags
Definition: model.h:79
int _ndivis
Definition: model.h:154
int _count
Definition: model.h:45
int _bank
Definition: model.h:160
uint16_t * _midimap
Definition: model.h:142
int _type
Definition: model.h:93