summaryrefslogtreecommitdiff
path: root/src/mdaPianoCommon.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mdaPianoCommon.h')
-rw-r--r--src/mdaPianoCommon.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mdaPianoCommon.h b/src/mdaPianoCommon.h
index 8168044..061a94e 100644
--- a/src/mdaPianoCommon.h
+++ b/src/mdaPianoCommon.h
@@ -7,8 +7,14 @@
#define SUSTAIN 128
#define SILENCE 0.0001f //voice choking
#define PARAM_OFFSET 3 //offset for param enum
+
+#ifdef PIANO
#define SAMPLES_PER_NOTE 1
#define NSAMPLES 15
+#elif defined EPIANO
+#define SAMPLES_PER_NOTE 3
+#define NSAMPLES 33
+#endif
struct KGRP //keygroup
{