Csound Csound-dev Csound-tekno Search About

ctcsound.py

Date2017-08-17 09:26
FromRene
Subjectctcsound.py
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 Csound@listserv.heanet.ie 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

Date2017-08-17 12:39
FromMichael Gogins
SubjectRe: ctcsound.py
The argument must not contain any spaces. But you can call it several times.

On Aug 17, 2017 4:27 AM, "Rene" <rene.djack1@gmail.com> 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 Csound@listserv.heanet.ie 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 Csound@listserv.heanet.ie 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