summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/mdaPiano.h11
1 files changed, 5 insertions, 6 deletions
diff --git a/src/mdaPiano.h b/src/mdaPiano.h
index ca85b8f..af474b6 100644
--- a/src/mdaPiano.h
+++ b/src/mdaPiano.h
@@ -19,6 +19,11 @@ public:
free(samples);
}
+ bool sustain;
+ KGRP kgrp[16];
+ mdaPianoVoice *voices[NVOICES];
+ Sample *samples = (Sample*) malloc (15 * sizeof(Sample));
+
void load_kgrp(KGRP*);
void load_sample(Sample*, const char*);
@@ -29,12 +34,6 @@ public:
private:
void update(); //my parameter update
-
- ///global internal variables
- KGRP kgrp[16];
- mdaPianoVoice *voices[NVOICES];
- Sample *samples = (Sample*) malloc (15 * sizeof(Sample));
- uint32_t sustain;
};
#endif