[Csnd] Suppressing console output in vanilla-WASM?
| Date | 2026-01-05 17:29 |
| From | Iain Duncan |
| Subject | [Csnd] Suppressing console output in vanilla-WASM? |
Hi colleagues, I'm try to stop csound logging to the javascript console, but setting the -d or -m16 options from csound.setOption() does not appear to have any effect. Can anyone tell me how this should be done with vanilla wasm?
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
thanks! |
| Date | 2026-01-05 17:39 |
| From | Victor Lazzarini <000010b17ddd988e-dmarc-request@LISTSERV.HEANET.IE> |
| Subject | Re: [Csnd] [EXTERNAL] [Csnd] Suppressing console output in vanilla-WASM? |
Is this using csound 6 or 7? In any case, csound.setOption() needs to be called before csound.start() to have any effect. For Csound 6, only one option can be used, no spaces. I have not tried to shut off the logging so these are just suggestions. The logging is done by the wrapper, maybe Hlolli or Steven know another method. best ======================== Prof. Victor Lazzarini Maynooth University Ireland > On 5 Jan 2026, at 17:29, Iain Duncan |
| Date | 2026-01-05 19:29 |
| From | Iain Duncan |
| Subject | Re: [Csnd] [EXTERNAL] [Csnd] Suppressing console output in vanilla-WASM? |
Thanks Victor, I'm still on the Csound6 version. Switching to two successive calls to setOption did it. iain On Mon, Jan 5, 2026 at 9:39 AM Victor Lazzarini <000010b17ddd988e-dmarc-request@listserv.heanet.ie> wrote: Is this using csound 6 or 7? |
| Date | 2026-01-05 22:54 |
| From | Victor Lazzarini <000010b17ddd988e-dmarc-request@LISTSERV.HEANET.IE> |
| Subject | Re: [Csnd] [EXTERNAL] [Csnd] Suppressing console output in vanilla-WASM? |
|
Good. On 7, that function can take any set of args as for instance in CsOptions.
Prof. Victor Lazzarini
Maynooth University
Ireland
On 5 Jan 2026, at 19:30, Iain Duncan <iainduncanlists@gmail.com> wrote:
|