From 7478ebeda0b5cc2a101a3808e64323684ae8ef91 Mon Sep 17 00:00:00 2001 From: jaberg Date: Mon, 08 Jan 2007 11:18:20 +0000 Subject: new and improved notelooper --- (limited to 'Util/CSoundNote.py') 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, -- cgit v0.9.1