From f7c4de83a785f4c1917cf389033c97227108021e Mon Sep 17 00:00:00 2001 From: rekado Date: Sat, 27 Jul 2013 22:23:02 +0800 Subject: generalise defines for both plugins --- src/mdaPianoCommon.h | 6 ++++++ 1 file changed, 6 insertions(+) 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 { -- cgit v1.2.3