Csound Csound-dev Csound-tekno Search About

[Cs-dev] API & LISP

Date2006-08-16 10:19
FromVictor Lazzarini
Subject[Cs-dev] API & LISP
Michael,

can you give me some directions on how to use the API and LISP?

In particular: 1) which implementations of LISP (CLisp etc) you know
support CFFI; 2) a simple example in one of these, basically showing
how to load the csound module (from there I suppose it is the same
as using the API with other languages).

Victor


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

Date2006-08-16 17:19
FromVictor Lazzarini
SubjectRe: [Cs-dev] API & LISP
Well, csound5.lisp is broken. I fixed a few things that will make it
load on CLisp. I can load lib_csnd.so, as long as it contains libcsound
statically. I can also load libcsound.so.

My problem is that while I can start a csound instance (using either
libcsound or lib_csnd) and pre-compile, I can't compile. Using
lib_csnd and the csoundCompileCsd function looked the simpler
way, but it crashes. Using csoundCompile also crashes, but
that might be because I don't really know how to pass a char**
in Lisp. I even tried an empty string and argc=1, just to get
a csound error message, but it still crashes.

Anyway, if you have any suggestions, don't hesitate.

Victor

At 10:19 16/08/2006, you wrote:
>Michael,
>
>can you give me some directions on how to use the API and LISP?
>
>In particular: 1) which implementations of LISP (CLisp etc) you know
>support CFFI; 2) a simple example in one of these, basically showing
>how to load the csound module (from there I suppose it is the same
>as using the API with other languages).
>
>Victor
>
>
>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

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