diff options
author | jaberg <james@localhost.localdomain> | 2007-01-07 21:24:04 (GMT) |
---|---|---|
committer | jaberg <james@localhost.localdomain> | 2007-01-07 21:24:04 (GMT) |
commit | 1becac24dfa6bd0cee4ae46f4c0b8630bfbb6269 (patch) | |
tree | 70d602342d546fd8c268143b54d46b8ca580a7ed /TamTam.py | |
parent | 2a940a71469b2b5964e8deab3ed6db0254424671 (diff) |
unify_edit init
Diffstat (limited to 'TamTam.py')
-rwxr-xr-x | TamTam.py | 20 |
1 files changed, 8 insertions, 12 deletions
@@ -5,25 +5,21 @@ import pygtk pygtk.require( '2.0' ) import gtk -import Framework.CSound.CSoundClient as CSoundClient -from Framework.Constants import Constants -from Framework.CSound.CSoundConstants import CSoundConstants -from Framework.CSound.CSoundServer import CsoundServerMult +import Config +import Util.CSoundClient as CSoundClient +from Util.Profiler import TP +from Player.StandalonePlayer import StandAlonePlayer +#from Edit.Core.MainWindow import MainWindow -from GUI.StandalonePlayer import StandAlonePlayer -from GUI.Core.MainWindow import MainWindow -from Framework.Core.Profiler import TP - - -#csnd = CSoundClient.CSoundClientSocket( CSoundConstants.SERVER_ADDRESS, CSoundConstants.SERVER_PORT, os.getpid() ) +#csnd = CSoundClient.CSoundClientSocket( Config.SERVER_ADDRESS, Config.SERVER_PORT, os.getpid() ) #csnd = CSoundClient.CSoundClientPerf( '/usr/share/olpc-csound-server/univorc.csd' ) -csnd = CSoundClient.CSoundClientPerf( Constants.TAM_TAM_ROOT + '/Resources/univorc.csd' ) +csnd = CSoundClient.CSoundClientPerf( Config.TAM_TAM_ROOT + '/Resources/univorc.csd' ) csnd.initialize(True) csnd.setMasterVolume(100.0) -CSoundClient.CSoundClient = csnd +CSoundClient.CSoundClient = csnd #Dodgy move: TODO: remove this global variable. |