[Csnd] ctcsound.py

classic Classic list List threaded Threaded
2 messages Options
moi
Reply | Threaded
Open this post in threaded view
|

[Csnd] ctcsound.py

moi
Hi list,

How to use setParams?

Have tried on linux
c = ctcsound.Csound()
param = ctcsound.cstring("-d -m0 -odac")

c.setParams(param)

but get a ctypes error

Thanks for help
René

Csound mailing list [hidden email] https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here
Reply | Threaded
Open this post in threaded view
|

Re: [Csnd] ctcsound.py

Michael Gogins-2
The argument must not contain any spaces. But you can call it several times.

On Aug 17, 2017 4:27 AM, "Rene" <[hidden email]> wrote:
Hi list,

How to use setParams?

Have tried on linux
c = ctcsound.Csound()
param = ctcsound.cstring("-d -m0 -odac")

c.setParams(param)

but get a ctypes error

Thanks for help
René

Csound mailing list [hidden email] https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here
Csound mailing list [hidden email] https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here