Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/common/Util
diff options
context:
space:
mode:
Diffstat (limited to 'common/Util')
-rw-r--r--common/Util/CSoundClient.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/common/Util/CSoundClient.py b/common/Util/CSoundClient.py
index bdd6e97..7a9e6e3 100644
--- a/common/Util/CSoundClient.py
+++ b/common/Util/CSoundClient.py
@@ -311,6 +311,9 @@ class _CSoundClientPlugin:
else:
instrument_id_offset = 100
+ amplitude = amplitude * instrument.ampScale
+ print "%f * %f = %f" % (amplitude, instrument.ampScale, amplitude * instrument.ampScale)
+ print "instrument %s final amplitude: %f" % (instrument.name, amplitude)
rval[0] = (instrument.csoundInstrumentId + \
(trackId+1) + instrument_id_offset) + trackId * 0.01
rval[1] = onset