Csound Csound-dev Csound-tekno Search About

[Cs-dev] python question

Date2006-10-14 17:35
From"Eric Dexter"
Subject[Cs-dev] python question
I am looking for a kiss method of getting this to work..  I am interested in 
just "associating" csd orc and sco files in windows so I can just exec the 
file..  The following code just makes the disk move alot.  Do I need to move 
this to the csound dir to get it to run??

def playcsdfile(self):
         dlg = wx.FileDialog(self,"play csd file", ".", "", "*.csd", 
wx.OPEN)
         try:
             if dlg.ShowModal() == wx.ID_OK:
                 filename = dlg.GetPath()
                 # Your code
                 csound.load(filename)
                 csound.exportForPerformance()
                 csound.perform()
         finally:
            dlg.Destroy()

https://sourceforge.net/project/showfiles.php?group_id=156455&package_id=202823

_________________________________________________________________
Express yourself - download free Windows Live Messenger themes! 
http://clk.atdmt.com/MSN/go/msnnkwme0020000001msn/direct/01/?href=http://imagine-msn.com/themes/vibe/default.aspx?locale=en-us&source=hmtagline


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net