[Csnd-dev] setoption not overriding when compileCsd used
Steven Yi <[email protected]> Wed, 5 Nov 2025 18:14:15 -0500
| Newsgroups | gmane.comp.audio.csound.devel |
|---|---|
| Message-ID | <CANtcCs7uhTGpdrbdK6uaNb7LLEopPr_ZfX2-bY=PFn8MMWu69g@mail.gmail.com> |
Hi All,
Not sure if it's just me but I'm working on a webaudio example and
found that if I had "-Wooutput.wav" in CsOptions in a csd, then in my
code used:
cs.setOption("-odac")
cs.compileCsd("test.csd", 0)
the setOption would not override the csd's CsOptions. I was expecting
setOption to override in the same way that:
csound -odac test.csd
would have the command-line option override the CsOptions.
Wondering if this is a bug in the API?
Steven