diff options
author | Oli <olpc@localhost.localdomain> | 2007-03-05 08:58:15 (GMT) |
---|---|---|
committer | Oli <olpc@localhost.localdomain> | 2007-03-05 08:58:15 (GMT) |
commit | 41f7c5caddcb579abfdeb8c071d964145eb9e42f (patch) | |
tree | c2119f9f6b87097d3e3169391c485a01924f2509 /miniTamTam | |
parent | 6bd5a3bdfbb5b2e134e335e7aa7df59d52c82e45 (diff) |
sounds vs instruments bug fix
Diffstat (limited to 'miniTamTam')
-rw-r--r-- | miniTamTam/RythmGenerator.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/miniTamTam/RythmGenerator.py b/miniTamTam/RythmGenerator.py index bbd9985..c259463 100644 --- a/miniTamTam/RythmGenerator.py +++ b/miniTamTam/RythmGenerator.py @@ -53,11 +53,15 @@ def generator( instrument, nbeats, regularity, reverbSend ): pan = 0.5 attack = 0.005 decay = 0.095 + filterType = 0 + filterCutoff = 1000 + tied = False + mode = 'mini' trackNotes = [] for i in range(len(rythmSequence)): trackNotes.append( CSoundNote( rythmSequence[i], pitchSequence[i], gainSequence[i], pan, durationSequence[i], trackId, - Config.INSTRUMENTS[instrument].instrumentId, attack, decay, reverbSend ) ) + Config.INSTRUMENTS[instrument].instrumentId, attack, decay, reverbSend, filterType, filterCutoff, tied, mode ) ) return trackNotes ################################################################################## # begin generate() |