Csound Csound-dev Csound-tekno Search About

Re: [Cs-dev] API, CFFI and Clisp

Date2006-08-17 16:08
FromVictor Lazzarini
SubjectRe: [Cs-dev] API, CFFI and Clisp
Yes, I had a look at the test.lisp program, but it seems to have the
same problems I encountered in my other tests.

I agree that CFFI is the way to go, it seems much better to use than
other FFIs.  Do you know what Rick Taube thinks of it? If we could
get him involved, then the thing might take off.

I am keen on getting this to work to enable Lisp users to take Csound 5
up, not so much that I would use it myself. I am keen that more and more
people use Csound 5 and the API.

I'll keep reporting on what I find out.

Victor

At 15:54 17/08/2006, you wrote:
>As far as I can tell, CFFI seems to be the direction the Lisp community is 
>going, somewhat in the manner of a herd of cats, so I think we should try 
>to make CFFI work.
>
>I want this because I want to use Common Music and David Cope's code with 
>the Csound API, but really, we are trying to do the work of the Lisp 
>computer music community here. If we can get Linux distributions to 
>install Csound 5, then the Lispers may be forced to catch up.
>
>Did you try the test.lisp program in the examples directory? This does 
>take a .csd parameter. Note that the C string is made into a Lisp string 
>before passing it.
>
>Regards,
>Mike
>
>
>-----Original Message-----
> >From: Victor Lazzarini 
> >Sent: Aug 17, 2006 8:17 AM
> >To: csound-devel@lists.sourceforge.net
> >Subject: [Cs-dev] API, CFFI and Clisp
> >
> >Continuing on with my tests, I found that there must be something
> >unstable with CFFI (and CLisp). With it I can call functions with a single
> >CSOUND*  parameter, but if I add another argument whatsoever, there is a
> >crash (but I don't know where).
> >
> >With a single CSOUND * parameter, I can instantiate and run
> >csound (with a hard-wired path to a CSD). But it is frustrating, because
> >I can't pass the hurdle of calling API functions as in Python, Tcl or
> >Java.
> >
> >Is there an alternative for CFFI? Does anyone know?
> >
> >Victor Lazzarini
> >Music Technology Laboratory
> >Music Department
> >National University of Ireland, Maynooth
> >
> >
> >-------------------------------------------------------------------------
> >Using Tomcat but need to do more? Need to support web services, security?
> >Get stuff done quickly with pre-integrated technology to make your job 
> easier
> >Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> >http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> >_______________________________________________
> >Csound-devel mailing list
> >Csound-devel@lists.sourceforge.net
> >https://lists.sourceforge.net/lists/listinfo/csound-devel
>
>
>
>
>-------------------------------------------------------------------------
>Using Tomcat but need to do more? Need to support web services, security?
>Get stuff done quickly with pre-integrated technology to make your job easier
>Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
>http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>_______________________________________________
>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 


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net