Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/common/Util/CSoundClient.py
diff options
context:
space:
mode:
authorOli <olivier.belanger@umontreal.ca>2007-10-17 07:56:59 (GMT)
committer Oli <olivier.belanger@umontreal.ca>2007-10-17 07:56:59 (GMT)
commit86c8c03e8762f592deae9053990a16e1737e75c7 (patch)
tree74362dbfbfb41d11c845dae3c2db194791d22b2b /common/Util/CSoundClient.py
parent278173914697047da9b48d251edf5f29eab43aed (diff)
new sounds (not scaled in amplitude), removed specific Config from MiniTamTam
Diffstat (limited to 'common/Util/CSoundClient.py')
-rw-r--r--common/Util/CSoundClient.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/common/Util/CSoundClient.py b/common/Util/CSoundClient.py
index e626320..e3963cf 100644
--- a/common/Util/CSoundClient.py
+++ b/common/Util/CSoundClient.py
@@ -312,9 +312,7 @@ class _CSoundClientPlugin:
else:
instrument_id_offset = 100
- amplitude = amplitude / sqrt(pitch) #instrument.ampScale
- #print "%f * %f = %f" % (amplitude, instrument.ampScale, amplitude * instrument.ampScale)
- #print "instrument %s final amplitude: %f" % (instrument.name, amplitude)
+ amplitude = amplitude / sqrt(pitch) * instrument.ampScale
rval[0] = (instrument.csoundInstrumentId + \
(trackId+1) + instrument_id_offset) + trackId * 0.01
rval[1] = onset