Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/TamTamJam.activity/Jam/Picker.py
diff options
context:
space:
mode:
authorOli <olivier.belanger@umontreal.ca>2007-10-20 17:25:17 (GMT)
committer Oli <olivier.belanger@umontreal.ca>2007-10-20 17:25:17 (GMT)
commitcd62e6af4d8f4dda887f1aac15abb13128a7f447 (patch)
tree13fc523fa1f9d1555c7d235e3bf6c5a8bcfbaf25 /TamTamJam.activity/Jam/Picker.py
parent138653b35fe9ed1ccc651fd988fac4b14e83f71a (diff)
removed csound table's load from startup
Diffstat (limited to 'TamTamJam.activity/Jam/Picker.py')
-rw-r--r--TamTamJam.activity/Jam/Picker.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/TamTamJam.activity/Jam/Picker.py b/TamTamJam.activity/Jam/Picker.py
index 731e85b..1d627e8 100644
--- a/TamTamJam.activity/Jam/Picker.py
+++ b/TamTamJam.activity/Jam/Picker.py
@@ -8,6 +8,7 @@ import os
import random #TEMP
import sets
+from common.Util.CSoundClient import new_csound_client
import common.Config as Config
from gettext import gettext as _
@@ -163,6 +164,7 @@ class Instrument( Picker ):
def __init__( self, owner, filter = ( "All" ) ):
Picker.__init__( self, owner, filter )
+ self.csnd = new_csound_client()
self.type = Instrument
self.instrumentDB = InstrumentDB.getRef()
@@ -174,6 +176,8 @@ class Instrument( Picker ):
# match data structure of Block.Instrument
data = { "name": _(self.instrumentDB.instId[id].name),
"id": id }
+
+ self.csnd.load_instrument(self.instrumentDB.instId[id].name)
win = gtk.gdk.get_default_root_window()
width = Block.Instrument.WIDTH