summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrekado <rekado@elephly.net>2013-01-16 19:38:38 +0800
committerrekado <rekado@elephly.net>2013-01-16 19:38:38 +0800
commit9fd8186588368834e6cd1cb6ffa905f3845ad721 (patch)
tree96980ee369c0a464a47c0be997b08ecd665eeed6
parent04f6215d86ebf1d95786fb0e1d189c7b3c899bf9 (diff)
remove EVENT* defines
-rw-r--r--src/mdaPiano.cpp1
-rw-r--r--src/mdaPiano.h4
2 files changed, 0 insertions, 5 deletions
diff --git a/src/mdaPiano.cpp b/src/mdaPiano.cpp
index 1c4ceb1..9c5a999 100644
--- a/src/mdaPiano.cpp
+++ b/src/mdaPiano.cpp
@@ -35,7 +35,6 @@ mdaPiano::mdaPiano(double rate)
add_voices(voices[i]);
}
- notes[0] = EVENTS_DONE;
sustain = 0;
update();
diff --git a/src/mdaPiano.h b/src/mdaPiano.h
index 44e15e1..e808a09 100644
--- a/src/mdaPiano.h
+++ b/src/mdaPiano.h
@@ -32,10 +32,6 @@ private:
float param[NPARAMS];
float Fs, iFs;
- #define EVENTBUFFER 120
- #define EVENTS_DONE 99999999
- uint32_t notes[EVENTBUFFER + 8]; //list of delta|note|velocity for current block
-
///global internal variables
KGRP kgrp[16];
mdaPianoVoice *voices[NVOICES];