Csound Csound-dev Csound-tekno Search About

Re: [Cs-dev] Interfaces

Date2005-10-25 14:34
FromMichael Gogins
SubjectRe: [Cs-dev] Interfaces
Probably the SConstruct options and logic need some work. I plan to make it possible to build Csound such that in the default build, if language support is present on the build system, SConstruct will build the shared Csound API library plus an interface library containing glue code for all supported languages. This will be possible without building CsoundVST at all. CsoundVST will, however, require the Python interface support.

Regards,
Mike 

-----Original Message-----
From: Victor Lazzarini 
Sent: Oct 25, 2005 9:12 AM
To: csound-devel@lists.sourceforge.net
Subject: Re: [Cs-dev] Interfaces

It is complaining it can't find the module csnd. I can't see it either.
I can see csnd.jar, which I reckon is the java one.

Any reason why it has not been built?
Scons says it is building the Csound interfaces library and
the Java wrappers library (but not Csound VST)

Victor

At 13:30 25/10/2005, you wrote:
>Victor Lazzarini wrote:
>
>>  committed the interfaces lib fixes for OSX. Builds OK.
>>Not sure how to test it though.
>
>Well, try starting the Python interpreter in the build directory,
>and then type something like (change opts as needed):
>
> >>> import csnd
> >>> csnd.csoundInitialize(None, None, 0)
> >>> cs=csnd.csoundCreate(None)
> >>> opts=['csound', '-o', 'dac', 'examples/trapped.csd']
> >>> csnd.csoundCompile(cs, len(opts), opts)
> >>> while (csnd.csoundGetScoreTime(cs) < 20):
>...     n=csnd.csoundPerformBuffer(cs)
>...
> >>> csnd.csoundReset(cs)
> >>>
>
>If everything works well, you should hear the first 20 seconds of
>trapped.csd.
>
>
>-------------------------------------------------------
>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