summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrekado <rekado@elephly.net>2013-01-16 20:15:34 +0800
committerrekado <rekado@elephly.net>2013-01-16 20:15:34 +0800
commit76c356f3b3f2eeff327a4508831da0f006376868 (patch)
tree74760f53e2b131f6ae6a41e8de77241b5d3a3427
parentf5ca0b00b0f66778c0b6ccc2dfc6c27ca9967a41 (diff)
update voice on initialisation
-rw-r--r--src/mdaPiano.cpp1
-rw-r--r--src/mdaPianoVoice.cpp1
2 files changed, 1 insertions, 1 deletions
diff --git a/src/mdaPiano.cpp b/src/mdaPiano.cpp
index 39a1d95..c1cae76 100644
--- a/src/mdaPiano.cpp
+++ b/src/mdaPiano.cpp
@@ -37,7 +37,6 @@ mdaPiano::mdaPiano(double rate)
sustain = 0;
- update();
}
//parameter change
diff --git a/src/mdaPianoVoice.cpp b/src/mdaPianoVoice.cpp
index b48c0a8..688f1df 100644
--- a/src/mdaPianoVoice.cpp
+++ b/src/mdaPianoVoice.cpp
@@ -22,6 +22,7 @@ mdaPianoVoice::mdaPianoVoice(double rate, short * samples, KGRP * master_kgrp) {
default_preset[p_offset(p_stretch_tuning)] = 0.500f;
reset();
+ update(Default);
}