Csound Csound-dev Csound-tekno Search About

Re: [Cs-dev] C++ Wrapper

Date2005-10-27 22:19
FromMichael Gogins
SubjectRe: [Cs-dev] C++ Wrapper
The best one will be the canonical one. I wasn't aware that Istvan was doing this also -- I'll be interested to see it. I will be especially interested to see where it links.

I just hope that either (a) both versions do the same things and one is clearly better, or (b) they do different things and so there is no need to choose between them. If not, I expect they will be merged.

I have provided a complete wrapping of the entire "C" Csound API including configuration variables, plus some additional functions for reading/writing/building Csound files (very useful for algorithmic composition), plus some convenience functions for running Csound in a separate thread such that it can be interrupted by a function call.

I have also tried to make sure that the really essential functions are "easy to wrap" for SWIG and for variouis languages (no structs, no funny data types, no varargs).

My experience shows that the Csound file related functions are necessary for really embedding Csound in other software. For example, it's essential to be able to "get" the whole csd file from Csound so that it can be written to a stream that other software (like a VST plugin) might expect to provide configuration data to be stored.  And to "put" the whole CSD file into Csound from a stream that other software provides containing stored configuration data that it has read.

Regards,
Mike

-----Original Message-----
From: Steven Yi 
Sent: Oct 27, 2005 4:45 PM
To: Csound-dev 
Subject: [Cs-dev] C++ Wrapper

Hi All,

I had started to do work on a python auto wrapping utility script but
I see now that both Michael is updating CppSound.cpp/CppSound.hpp and
Istvan is working on a csound.hpp.  At this point, I'm thinking I
should remove the cppgen.py script and stop working on it (not much
work on it anyways so not much lost); I'm just wondering now what C++
header is going to be the "canonical" one?

Thanks,
steven


-------------------------------------------------------
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