Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/TamTam.py
diff options
context:
space:
mode:
authorOli <olpc@localhost.localdomain>2007-02-04 08:22:43 (GMT)
committer Oli <olpc@localhost.localdomain>2007-02-04 08:22:43 (GMT)
commit46e3316abd38001f86f3e8006a1c4d6f6e346f51 (patch)
tree387bf8735ed314fe0b5eaf77c562203859e01588 /TamTam.py
parent2e0b154865aae4aa0bad9ae32f871c404800e6e4 (diff)
loading of snds after building interface
Diffstat (limited to 'TamTam.py')
-rwxr-xr-xTamTam.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/TamTam.py b/TamTam.py
index 3abf2bd..ceb35d1 100755
--- a/TamTam.py
+++ b/TamTam.py
@@ -46,6 +46,7 @@ if __name__ == "__main__":
mainwin.add(tamtam)
tamtam.show()
mainwin.show()
+ csnd.load_instruments()
gtk.main()
def run_edit_mode():
@@ -63,6 +64,7 @@ if __name__ == "__main__":
mainwin.add(tamtam)
tamtam.show()
mainwin.show()
+ csnd.load_instruments()
gtk.main()
if len(sys.argv) > 1 and sys.argv[1] == 'edit':
@@ -93,6 +95,7 @@ class TamTam(Activity):
self.connect('destroy', self.do_quit)
self.add(self.tamtam)
self.tamtam.show()
+ csnd.load_instruments()
self.set_title('TamTam')
self.set_resizable(False)
self.connect( "key-press-event", self.tamtam.keyboardStandAlone.onKeyPress )
@@ -100,6 +103,7 @@ class TamTam(Activity):
def handleFocusIn(self, event, data=None):
csnd.connect(True)
+ csnd.load_instruments()
def handleFocusOut(self, event, data=None):
if self.tamtam.synthLabWindowOpen():