|
I fully agree, Michael.
Being able to use both Silence and athenaCL tools/functions programmatically in Python would be very flexible and nice. I've been looking at both libraries (maybe an insufficient term, as they are also applications) with eagerness and curiosity. Wanting to use them, but still at a stage where I wonder how to integrate them into my own setup.
best
Oeyvind
> From: Michael Gogins [gogins@pipeline.com]
> Sent: 2006-02-03 23:07:57 CET
> To: csound-devel@lists.sourceforge.net
> Subject: Re: [Cs-dev] Python interface availability
>
> On Windows with the Windows installer, the csnd module ends up in the installation bin directory. The CsoundVST module also ends up there. It contains the "Silence" algorithmic composition classes, which might well complement the athenaCL classes as they take a somewhat different approach to composition.
>
> Nothing is installed in the Python directories, because then were would be multiple copies of the shared libraries, since the regular CsoundVST program uses some of them also.
>
> Presumably, an __init__.py file could be installed in Python/lib/site-packages/csnd that would point back to the csound bin directory, but I am not sure this is possible and haven't experimented it with it.
>
> I would really be glad to see a way of loading and invoking the athenaCL code programmatically in Python and/or with CsoundVST, rather than working with the athenaCL command line.
>
> Regards,
> Mike
>
> -----Original Message-----
> >From: Anthony Kozar
> >Sent: Feb 3, 2006 4:29 PM
> >To: New Csound Developer list
> >Subject: [Cs-dev] Python interface availability
> >
> >I have been communicating about Cs5 a little with Christopher Ariza (of
> >athenaCL fame). We have been discussing how athenaCL can begin using the
> >Csound API.
> >
> >christopher ariza wrote on 2/3/06 11:34 AM:
> >
> >>> If you would like me to look into exactly which Csound 5 packages install
> >>> the Python stuff by default, I would be happy to get back to you with that
> >>> information.
> >>
> >> yes, that would be great if not too much trouble. the only missing
> >> link off the tope of my head is the csnd.py module will have to be
> >> added to the users sys.path; this of course can be done in python, so
> >> knowing where the default locations for each platform install of
> >> csnd.py is essential.
> >
> >So I need to answer the following questions about each of the packages on
> >Sourceforge:
> >
> >A. Does it include the Python interface (_csnd library and csnd.py)?
> >B. Does it install them somewhere in the Lib directory of the Python
> >distro?
> >C. Does the user have to set PYTHONPATH or do any other configuration to
> >make it work?
> >
> >Thanks very much for your help!
> >
> >I am looking to fill in the following table:
> >
> >Package included? in Lib? configured?
> >--------------------------------------------------------------------
> >Csound5.00_OS9.smi.bin no* no yes*
> >Csound5.00_OSX10.2.tar.gz
> >Csound5.00_OSX10.3.tar.gz yes yes ?
> >Csound5.00_OSX10.4.tar.gz
> >Csound5.00_win32.exe yes ? ?
> >Csound5.00_win32.i686.zip
> >Csound5.00_i686.rpm
> >Csound5.00_x86_64d.tar.gz
> >Csound5.00_x86_64f.tar.gz
> >Csound5.00_x86_64.rpm
> >
> >
> >* Interface not included in 5.00 release but will be in future release; user
> >will have to install by hand but no further configuration necessary.
> >
> >
> >Anthony Kozar
> >anthonykozar AT sbcglobal DOT net
> >
> >
> >
> >-------------------------------------------------------
> >This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
> >for problems? Stop! Download the new AJAX search engine that makes
> >searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
> >http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
> >_______________________________________________
> >Csound-devel mailing list
> >Csound-devel@lists.sourceforge.net
> >https://lists.sourceforge.net/lists/listinfo/csound-devel
>
>
>
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
> for problems? Stop! Download the new AJAX search engine that makes
> searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>
|