| I think that we should provide flexible ways of interacting with
csound. I see that this is already happening. Another important
thing is to be multiplatform, and provide an unified behaviour across
platforms.
In relation to python, is it not possible to write a python script that
will give you a GUI and a button to press, to mimic what CsoundVST
does?
It might be worth, in the long run, to provide CsoundVST as a VST plugin/
standalone frontend only, to ensure it runs on all platforms. That does not
rule out providing a separate windows or linux-only program that does
everything,
but as something separate from the 'canonical' csound 5 distribution.
However I understand you might not want to have to maintain two separate
projects.
Victor
At 18:14 27/10/2005, you wrote:
>I'm open to suggestions here. One advantage of CsoundVST for Python work,
>is that it gives you the ability to stop a running performance by clicking
>on a button; CsoundVST bails out of the csoundPerformKsmps loop in that case.
>
>I'd be quite interested to hear your thoughts -- or anyone's thoughts! --
>on how Csound 5 can, will, or should be used. A wish list would be nice.
>My interests focus on writing compositions as code including both
>orchestra and score stuff, but I would like to know what people would like
>to see: is a GUI front end important, a DSSI plugin important, a VST
>plugin important, language interfaces, etc.
>
>Thanks,
>Mike
>
>-----Original Message-----
>From: Victor Lazzarini
>Sent: Oct 27, 2005 12:14 PM
>To: csound-devel@lists.sourceforge.net
>Subject: Re: [Cs-dev] OSX CsoundVST issues
>
>I have tested python importing csnd on OSX and I could
>run a script that Istvan suggested, and I got to play Trapped
>alright. So that bit works. And if CsoundVST (lib) is built as a bundle,
>I'd say it would also run OK, although I have not tested it.
>
>As the code is at the moment, if CsoundVST (app) tries to load, as
>a python interpreter, bundle containing a copy of the same object
>code in CsoundVST (lib), then there will be two different instances
>of csound in memory. CsoundVST crashes, but the crash might
>be unrelated to that. So if you were to load the csnd module from
>a python interpreter in CsoundVST, you might get the same problem.
>
>So it is possible that a CsoundVST without python will work OK. I'm not
>sure how you would want to provide this, but to me it seems that if
>you want to work with python and algorithmic composition, you
>can do it from python by importing csnd and the algorithmic composition
>module. That would work on OSX. And if you want VST plugin and frontend,
>then you just run CsoundVST.
>
>Victor
>
>At 16:46 27/10/2005, you wrote:
> >My plan is for CsoundVST to load and use the csnd module as one Python
> >extension, and the Silence algo-comp classes as another Python extension
> >module. But, I may simply drop the Python support from CsoundVST and let
> >it be purely a VST plugin. I prefer to code and compose in a Python code
> >editor anyway.
> >
> >So, do you think it would work to run Csound from Python importing "csnd"
> >on OS X?
> >
> >Thanks,
> >Mike
> >
> >-----Original Message-----
> >From: Victor Lazzarini
> >Sent: Oct 27, 2005 11:03 AM
> >To: csound-devel@lists.sourceforge.net
> >Subject: [Cs-dev] OSX CsoundVST issues
> >
> >| At 15:31 27/10/2005, you wrote:
> >| What would need to be changed to build and run it on OS X?
> >
> >I'm still looking at it, but I think the problem lies in the
> >way the same dynamic lib is used twice in the program. In other
> >systems, this is not a problem as the same type of dynamic lib
> >is used as an ordinary shared library and a loadable module.
> >
> >The problem on OSX lies in the fact that, and that seems to be
> >a python-specific issue, python loadable modules are bundles,
> >and not shared libs.
> >
> >There is no way that the same file can be used as a python module
> >and a dynamic-link library. So I tried creating two: this generates two
> >separate instances of csound. Then, as Istvan suggested, I tried
> >linking the bundle to the dynamic library: python can't find the
> >entry point. Finally, moved the wrapper object code to the bundle
> >from the dynamic library. Now python can see the entry point,
> >but CsoundVST crashes. Gdb tells me that the program
> >received EXC_BAD_ACCESS, could not access memory (in
> >__dynamic_cast()).
> >
> >When running python and then loading the module, gdb tells me
> >it is stuck in _semaphore_wait_signal_trap().
> >
> >So I am not sure now, given what gdb is telling me, what problems
> >are there. But one thing is sure, the wrapper code works, because
> >if I build a bundle with all the csoundVST sources statically in it,
> >the module loads OK in Python.
> >
> >I noticed that System.cpp was throwing a lot of warnings. One of them
> >was a linking problem of symbol redefinition (basename(), which is
> >found in libpthread and I renamed to basename_(), but that did not
> >change anything).
> >
> >The answer to your question is probably I don't know. However,
> >you could consider making a CsoundVST program that is not a
> >python module, since there is now a python module in _csnd.so.
> >I'm not sure it would be what you want, though.
> >
> >Victor
> >
> >
> >
> >-------------------------------------------------------
> >This SF.Net email is sponsored by the JBoss Inc.
> >Get Certified Today * Register for a JBoss Training Course
> >Free Certification Exam for All Training Attendees Through End of 2005
> >Visit http://www.jboss.com/services/certification for more information
> >_______________________________________________
> >Csound-devel mailing list
> >Csound-devel@lists.sourceforge.net
> >https://lists.sourceforge.net/lists/listinfo/csound-devel
> >
> >
> >
> >
> >
> >-------------------------------------------------------
> >This SF.Net email is sponsored by the JBoss Inc.
> >Get Certified Today * Register for a JBoss Training Course
> >Free Certification Exam for All Training Attendees Through End of 2005
> >Visit http://www.jboss.com/services/certification for more information
> >_______________________________________________
> >Csound-devel mailing list
> >Csound-devel@lists.sourceforge.net
> >https://lists.sourceforge.net/lists/listinfo/csound-devel
>
>Victor Lazzarini
>Music Technology Laboratory
>Music Department
>National University of Ireland, Maynooth
>
>
>
>-------------------------------------------------------
>This SF.Net email is sponsored by the JBoss Inc.
>Get Certified Today * Register for a JBoss Training Course
>Free Certification Exam for All Training Attendees Through End of 2005
>Visit http://www.jboss.com/services/certification for more information
>_______________________________________________
>Csound-devel mailing list
>Csound-devel@lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/csound-devel
>
>
>
>
>
>-------------------------------------------------------
>This SF.Net email is sponsored by the JBoss Inc.
>Get Certified Today * Register for a JBoss Training Course
>Free Certification Exam for All Training Attendees Through End of 2005
>Visit http://www.jboss.com/services/certification for more information
>_______________________________________________
>Csound-devel mailing list
>Csound-devel@lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/csound-devel
Victor Lazzarini
Music Technology Laboratory
Music Department
National University of Ireland, Maynooth
-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course
Free Certification Exam for All Training Attendees Through End of 2005
Visit http://www.jboss.com/services/certification for more information
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net |