Thanks, Victor. And Joachim, I hope you will try again when the Mac csnd module has been updated. best Oeyvind 2007/11/6, Victor Lazzarini : > It seems to be OK now. So it'll be there in the next release. > > Victor > > At 15:34 06/11/2007, you wrote: > >That's because the Mac csnd module does not have > >the CsoundFile class. There was a time when this was > >causing trouble so I commented it out. Will check if > >it's still the case. > > > >Victor > > > >At 15:13 06/11/2007, you wrote: > >>Thanks, Oeyvind, for your reply. I continued trying to install your > >>Partikkel Cloud Designer. There are some results and new questions: > >> > >>1. I think I can only use Python 2.3, because I use the PPC version > >>of Csound 5.07 (IntelMac, but I want to use MacCsound). The module > >>csnd is: /System/Library/Frameworks/Python.framework/Versions/2.3/lib/ > >>python2.3/csnd.py > >> > >>2. After loading csnd and giving the message "csound loaded" your > >>script "main.py" fails in line 32: > >>csThread = CsoundThread(csound, csoundCommandLine) > >>because it calls csoundModule.py and fails in line 35: > >> self.csound.setOrchestra('''#include 'cloud.orc' > >> ''') > >>saying: > >>>> File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/ > >>>>python2.3/csnd.py", line 2878, in > >>>> __getattr__ = lambda self, name: _swig_getattr(self, CppSound, > >>>>name) > >>>> File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/ > >>>>python2.3/csnd.py", line 27, in _swig_getattr > >>>> raise AttributeError,name > >>>>AttributeError: setOrchestra > >>What is the problem here? Why this attribute error?!? > >> > >>(When I commend out this line, the same error occurs in the next > >>lines: AttributeError: setScore etc.) > >> > >> > >>Thanks for help - > >> > >> joachim > >> > >> > >> > >>Am 03.11.2007 um 19:00 schrieb Oeyvind Brandtsegg: > >> > >>>Hello. > >>> > >>>Your problem on python2.3 seems to be related to the csnd module > >>>and csound API. > >>>Others will know better than me what's wrong there. > >>> > >>>On python2.4, you get the message 'no module named wx'... > >>>Do you have wxWidgets(wxPython) installed ? > >>>If you have it, you might try to edit the main.py file and change > >>>import wx > >>>to > >>>import wxPython.wx > >>>... the latter variant is really deprecated, and leads to a warning > >>>with newer versions of wx, but it will give backward compatibility if > >>>you have an old wx version. > >>>Since you have several versions of python, make sure your wxPython is > >>>installed for 2.4 (not for 2.3 or 2.5) > >>> > >>>On python2.5, you also have problems with the csnd module. > >>>I think this may be related to your install of csnd being for > >>>python2.4 (not compatible with python2.5). > >>> > >>>Hope this helps, > >>>and don't hestitate to ask for more help. > >>>Oeyvind > >>> > >>>2007/11/2, joachim heintz : > >>>>Hello Oeyvind (and all) - > >>>> > >>>>I tried to run "main.py" in 3 different versions of MacPython (I'm on > >>>>an IntelMac OS 10.4.10). > >>>> > >>>>On MacPython 2.3 (Python 2.3.5, IDLE 1.0) I got: > >>>>csound loaded > >>>>Traceback (most recent call last): > >>>> File "/Users/jh/Desktop/partikkelCloudDesigner/main.py", line 32, > >>>>in -toplevel- > >>>> csThread = CsoundThread(csound, csoundCommandLine) > >>>> File "/Users/jh/Desktop/partikkelCloudDesigner/cs/ > >>>>csoundModule.py", line 35, in __init__ > >>>> self.csound.setOrchestra('''#include 'cloud.orc' > >>>> File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/ > >>>>python2.3/csnd.py", line 2878, in > >>>> __getattr__ = lambda self, name: _swig_getattr(self, CppSound, > >>>>name) > >>>> File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/ > >>>>python2.3/csnd.py", line 27, in _swig_getattr > >>>> raise AttributeError,name > >>>>AttributeError: setOrchestra > >>>> > >>>>On MacPython 2.4 (Python 2.4.4, IDLE 1.1.4): > >>>>Traceback (most recent call last): > >>>> File "/Users/jh/Desktop/partikkelCloudDesigner/main.py", line 17, > >>>>in -toplevel- > >>>> import wx > >>>>ImportError: No module named wx > >>>> > >>>>On MacPython 2.5 (Python 2.5, IDLE 1.2): > >>>>Traceback (most recent call last): > >>>> File "/Users/jh/Desktop/partikkelCloudDesigner/main.py", line 18, > >>>>in > >>>> from cs.csMessages import * > >>>> File "/Users/jh/Desktop/partikkelCloudDesigner/cs/csMessages.py", > >>>>line 14, in > >>>> import csnd > >>>>ImportError: No module named csnd > >>>> > >>>> > >>>>Anything I can do? Thanks - > >>>> > >>>> joachim > >>>> > >>>> > >>>> > >>>> > >>>>Am 26.10.2007 um 14:24 schrieb Oeyvind Brandtsegg: > >>>> > >>>>>I have the pleasure of announcing: > >>>>> > >>>>>Partikkel Cloud Designer > >>>>>A Python application using the csoundAPI. It is used to design 4- voice > >>>>>partikkel granular clouds by means of parameter automation data. > >>>>>Clouds can be played back in this application, and in ImproSculpt4. > >>>>>http://oeyvind.teks.no/results/applications/ > >>>>>partikkelapplications.htm#_Partikkel_Cloud_Designer > >>>>> > >>>>>best > >>>>>Oeyvind > >>>>>-- > >>>>>Send bugs reports to this list. > >>>>>To unsubscribe, send email to csound-unsubscribe@lists.bath.ac.uk > >>>> > > > >Victor Lazzarini > >Music Technology Laboratory > >Music Department > >National University of Ireland, Maynooth > > > > Victor Lazzarini > Music Technology Laboratory > Music Department > National University of Ireland, Maynooth > > >