pull/1/head
Holger Wirtz 8 years ago
parent d0112754d9
commit 5dacaa0a4b
  1. 2
      src/dexed.h
  2. 11
      src/msfa/controllers.h
  3. 2
      src/msfa/dx7note.cc

@ -121,7 +121,7 @@ class Dexed : public lvtk::Synth<DexedVoice, Dexed>
double _rate;
uint8_t _k_rate_counter;
uint8_t _param_change_counter;
float data_float[166];
float data_float[167];
uint8_t data[167]={
95, 29, 20, 50, 99, 95, 00, 00, 41, 00, 19, 00, 00, 03, 00, 06, 79, 00, 01, 00, 14,
95, 20, 20, 50, 99, 95, 00, 00, 00, 00, 00, 00, 00, 03, 00, 00, 99, 00, 01, 00, 00,

@ -55,14 +55,9 @@ public:
}
void setConfig(uint8_t assign) {
if(assign & 1)
pitch=true;
if(assign & 2)
amp=true;
if(assign & 4)
eg=true;
pitch=assign&1;
amp=assign&2;
eg=assign&4;
}
};

@ -137,7 +137,7 @@ Dx7Note::Dx7Note() {
}
//void Dx7Note::init(const uint8_t patch[156], int midinote, int velocity, int fb_depth) {
void Dx7Note::init(const uint8_t patch[160], int midinote, int velocity, int fb_depth) {
void Dx7Note::init(const uint8_t patch[167], int midinote, int velocity, int fb_depth) {
int rates[4];
int levels[4];
for (int op = 0; op < 6; op++) {

Loading…
Cancel
Save