diff options
author | Oli <olivier.belanger@umontreal.ca> | 2007-10-17 07:56:59 (GMT) |
---|---|---|
committer | Oli <olivier.belanger@umontreal.ca> | 2007-10-17 07:56:59 (GMT) |
commit | 86c8c03e8762f592deae9053990a16e1737e75c7 (patch) | |
tree | 74362dbfbfb41d11c845dae3c2db194791d22b2b /common/Util | |
parent | 278173914697047da9b48d251edf5f29eab43aed (diff) |
new sounds (not scaled in amplitude), removed specific Config from MiniTamTam
Diffstat (limited to 'common/Util')
-rw-r--r-- | common/Util/CSoundClient.py | 4 | ||||
-rw-r--r-- | common/Util/LoopSettings.py | 1 |
2 files changed, 1 insertions, 4 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 diff --git a/common/Util/LoopSettings.py b/common/Util/LoopSettings.py index 408b4d0..a717089 100644 --- a/common/Util/LoopSettings.py +++ b/common/Util/LoopSettings.py @@ -212,7 +212,6 @@ class LoopSettings( gtk.VBox ): self.setChannel('ldur', self.dur) def handlePlayButton(self, widget, data=None): - print widget.get_active() if self.ok: self.playFunction(widget.get_active(), self.loopedSound) if self.loopedSound == False and widget.get_active() == False: |