summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrekado <rekado@elephly.net>2013-07-28 14:13:17 +0800
committerrekado <rekado@elephly.net>2013-07-28 14:13:17 +0800
commit5589157fb48f52dd15180d63c3057b3267ccc54a (patch)
treea419872d3f5b1aefc225cc79cb693f1cf7d8c519
parentc32f506dceaa730ae1fd87bae15717c7a7ba6922 (diff)
[piano] initialise comb array
-rw-r--r--src/mdaPianoVoice.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mdaPianoVoice.cpp b/src/mdaPianoVoice.cpp
index 7d9e366..d4d23e3 100644
--- a/src/mdaPianoVoice.cpp
+++ b/src/mdaPianoVoice.cpp
@@ -149,6 +149,7 @@ void mdaPianoVoice::reset() {
#ifdef PIANO
muff = 160.0f;
cpos = 0;
+ memset(comb, 0, sizeof(float) * 256);
#elif defined EPIANO
tl = tr = lfo0 = dlfo = 0.0f;
lfo1 = 1.0f;