Csound Csound-dev Csound-tekno Search About

Re: [Cs-dev] Python api and argv

Date2008-08-23 22:17
FromMichael Gogins
SubjectRe: [Cs-dev] Python api and argv
Please look at the examples of using the Python API in the examples directory. They all work, at least on Windows and probably on Linux.

Regards,
Mike

-----Original Message-----
>From: Carlos Pita 
>Sent: Aug 23, 2008 4:44 PM
>To: csound-devel@lists.sourceforge.net
>Subject: [Cs-dev] Python api and argv
>
>Hi all,
>
>I've been messing a bit with the python api and find out that the
>csoundCompile(cs,argc,argv) or Csound.Compile(argc,argv) are unusable
>because:
>
>1) the swig typemap for char **  is commented out in python_interface.i
>
>2) no array_functions / array_class support from carrays.i is
>generated for char*.
>
>So I see no way to create a char** from python side.
>
>I still can resort to Csound.Compile overloads for (char*),
>(char*,char*), .... up to 5 strings, but this is rather limited.
>
>How is this expected to be done? Why is the typemap for char**
>commented in the swig interface?
>
>Thank you in advance
>Regards
>-Carlos
>
>-------------------------------------------------------------------------
>This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
>Build the coolest Linux based applications with Moblin SDK & win great prizes
>Grand prize is a trip for two to an Open Source event anywhere in the world
>http://moblin-contest.org/redirect.php?banner_id=100&url=/
>_______________________________________________
>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 Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2008-08-23 22:50
FromkCk
SubjectRe: [Cs-dev] Python api and argv
hello-
Do the Python Csound API examples work on Mac OSX? Where could I download
the "examples directory"? I poked around and don't believe it came with my
Csound installation even though I do have the csnd module.
thnx.
kurt


-- 
View this message in context: http://www.nabble.com/Python-api-and-argv-tp19125030p19125702.html
Sent from the Csound - Dev mailing list archive at Nabble.com.


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net