| Is there a Java example for us to test?
Victor
At 14:36 25/10/2005, you wrote:
>The csnd jar does not have a "main" since I was anticipating using the jar
>only from other programs. Is "main" needed? If so I will provide it plus
>the required manifest. I don't see the point however, since if you can run
>a Java main as a console program you might as well just run the C version
>of Csound.
>
>Regards,
>Mike
>
>-----Original Message-----
>From: Victor Lazzarini
>Sent: Oct 25, 2005 9:18 AM
>To: csound-devel@lists.sourceforge.net
>Subject: Re: [Cs-dev] Interfaces
>
>Also tried
>
>java -jar cnsd.jar
>
>which says
>Failed to load Main-Class manifest from csnd.jar
>
>It doesn't look good.
>
>Victor
>At 14:12 25/10/2005, you wrote:
> >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
>
>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 |