From 86c8c03e8762f592deae9053990a16e1737e75c7 Mon Sep 17 00:00:00 2001 From: Oli Date: Wed, 17 Oct 2007 07:56:59 +0000 Subject: new sounds (not scaled in amplitude), removed specific Config from MiniTamTam --- (limited to 'common/Util/CSoundClient.py') 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 -- cgit v0.9.1