diff options
author | Werner Schweer <ws.seh.de> | 2007-06-21 17:16:26 +0000 |
---|---|---|
committer | Werner Schweer <ws.seh.de> | 2007-06-21 17:16:26 +0000 |
commit | 79ded8ab9d89a29e0275e0a5bcd2d7e79f654f36 (patch) | |
tree | cef7b1bcd64ab62f939e82875fbb6f703e4bb590 | |
parent | aadf4221a44518d89e9fd15dd7aff7809e03cc1e (diff) |
update
-rw-r--r-- | muse/synti/organ/organ.cpp | 2 | ||||
-rw-r--r-- | muse/synti/organ/reverb.cpp | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/muse/synti/organ/organ.cpp b/muse/synti/organ/organ.cpp index 1f6eede4..50477cc7 100644 --- a/muse/synti/organ/organ.cpp +++ b/muse/synti/organ/organ.cpp @@ -226,7 +226,7 @@ void Organ::process(float** ports, int offset, int sampleCount) } float* buffer1 = ports[0] + offset; - float* buffer2 = ports[0] + offset; + float* buffer2 = ports[1] + offset; memset(buffer1, 0, sizeof(float) * sampleCount); memset(buffer2, 0, sizeof(float) * sampleCount); diff --git a/muse/synti/organ/reverb.cpp b/muse/synti/organ/reverb.cpp index 0ec29514..18376a8f 100644 --- a/muse/synti/organ/reverb.cpp +++ b/muse/synti/organ/reverb.cpp @@ -137,8 +137,8 @@ void Reverb::setMix(float value) void Reverb::process(float* l, float* r, int n) { - float wet = wetLevel; - float dry = 1.0 - wetLevel; + float wet = wetLevel; + float dry = 1.0 - wetLevel; for (int i = 0; i < n; ++i) { float outL = 0.0; |