diff options
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, |