diff options
author | jaberg <james@localhost.localdomain> | 2007-01-08 11:18:20 (GMT) |
---|---|---|
committer | jaberg <james@localhost.localdomain> | 2007-01-08 11:18:20 (GMT) |
commit | 7478ebeda0b5cc2a101a3808e64323684ae8ef91 (patch) | |
tree | 1e6613a2c76ea2896622311a71138669ecaf8cd6 /Util/CSoundNote.py | |
parent | c2cd65e519cd77b4d8575ca130213c9cbdc439a6 (diff) |
new and improved notelooper
Diffstat (limited to 'Util/CSoundNote.py')
-rw-r--r-- | Util/CSoundNote.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Util/CSoundNote.py b/Util/CSoundNote.py index 2632b45..848d569 100644 --- a/Util/CSoundNote.py +++ b/Util/CSoundNote.py @@ -43,6 +43,7 @@ class CSoundNote : self.instrumentFlag = Config.DRUM1INSTRUMENTS[ self.pitch ] else: self.instrumentFlag = self.instrument + self.nchanges = 0 def __getstate__(self): return {'onset': self.onset, @@ -79,6 +80,7 @@ class CSoundNote : self.tied = dict['tied'] self.overlap = dict['overlap'] self.instrumentFlag = dict['instrumentFlag'] + self.nchanges = 0 def clone( self ): return CSoundNote( self.onset, self.pitch, self.amplitude, self.pan, |