Csound Csound-dev Csound-tekno Search About

[Cs-dev] Lisp binding works again

Date2006-10-22 21:55
FromMichael Gogins
Subject[Cs-dev] Lisp binding works again
I got the CFFI Lisp binding for Csound 5 working again.

(1) Used latest CFFI tarball.

(2) Put right code at top of generated files:

(defpackage :csound
    (:use :common-lisp :cffi))

(in-package :csound)

and

(defpackage :filebuilding
    (:use :common-lisp :cffi))

(in-package :filebuilding)

(3) Replaced incorrectly generated variadic parameters from SWIG with correct CFFI declaration:

replace "(arg )" (note empty parameter list) with "&rest"

(4) Moved test.lisp from examples to interfaces.

(5) Removed obsolete csound5.lisp file.

At some point I will examine a CLOS binding for CppSound and CsoundVST.

Regards,
Mike





-------------------------------------------------------------------------
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-10-22 22:08
FromKen
SubjectRe: [Cs-dev] Lisp binding works again
Great Michael, I'll test it out.  I bombed out sofar on my efforts, but 
like I said my skills are fairly limited, but getting better.  I plan to 
work more on the Lisp end as time allows though...
Ken

Michael Gogins wrote:
> I got the CFFI Lisp binding for Csound 5 working again.
>
> (1) Used latest CFFI tarball.
>
> (2) Put right code at top of generated files:
>
> (defpackage :csound
>     (:use :common-lisp :cffi))
>
> (in-package :csound)
>
> and
>
> (defpackage :filebuilding
>     (:use :common-lisp :cffi))
>
> (in-package :filebuilding)
>
> (3) Replaced incorrectly generated variadic parameters from SWIG with correct CFFI declaration:
>
> replace "(arg )" (note empty parameter list) with "&rest"
>
> (4) Moved test.lisp from examples to interfaces.
>
> (5) Removed obsolete csound5.lisp file.
>
> At some point I will examine a CLOS binding for CppSound and CsoundVST.
>
> Regards,
> Mike
>
>
>
>
>
> -------------------------------------------------------------------------
> 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