setOption in libcsound.js
Date | 2017-08-02 13:45 |
From | Hlöðver Sigurðsson |
Subject | setOption in libcsound.js |
Quick question, from line 12038 to 12148 in libcsound.js there's no setOption to be found, is it defined elsewhere or is it missing? Same goes for start, should I use _CsoundObj_prepareRT or _CsoundObj_play when I want to start csound performance indefinitely?
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
|
Date | 2017-08-02 13:55 |
From | Hlöðver Sigurðsson |
Subject | Re: setOption in libcsound.js |
I may want to add to my question InputMessage, can't find it either. On 2 August 2017 at 14:45, Hlöðver Sigurðsson <hlolli@gmail.com> wrote:
|
Date | 2017-08-02 13:58 |
From | Victor Lazzarini |
Subject | Re: setOption in libcsound.js |
The current functionality is implemented in CsoundObj.js, and I don’t see setOption() there. I have ported the PNaCl frontend csound.js to use this, you might find it more convenient. In this case, csound.Play() should start it indefinitely. See use examples in emscripten/wasm (https://github.com/csound/csound/blob/develop/emscripten/wasm/README.md) ======================== Prof. Victor Lazzarini Dean of Arts, Celtic Studies, and Philosophy, Maynooth University, Maynooth, Co Kildare, Ireland Tel: 00 353 7086936 Fax: 00 353 1 7086952 > On 2 Aug 2017, at 13:45, Hlöðver Sigurðsson |
Date | 2017-08-02 13:59 |
From | Victor Lazzarini |
Subject | Re: setOption in libcsound.js |
Use readScore() instead. ======================== Prof. Victor Lazzarini Dean of Arts, Celtic Studies, and Philosophy, Maynooth University, Maynooth, Co Kildare, Ireland Tel: 00 353 7086936 Fax: 00 353 1 7086952 > On 2 Aug 2017, at 13:55, Hlöðver Sigurðsson |
Date | 2017-08-02 14:02 |
From | Hlöðver Sigurðsson |
Subject | Re: setOption in libcsound.js |
Ok very nice, thanks! On 2 August 2017 at 14:59, Victor Lazzarini <Victor.Lazzarini@mu.ie> wrote: Use readScore() instead. |
Date | 2017-08-02 14:48 |
From | Rory Walsh |
Subject | Re: setOption in libcsound.js |
I would like to be able call my .csd with different command line arguments as needed. This isn't currently possible or? Let's say for example one hosts many MIDI files, I would like to pass the selected file as a command line argument rather than modify the actual .csd file. |
Date | 2017-08-02 14:52 |
From | Victor Lazzarini |
Subject | Re: setOption in libcsound.js |
we need to add setOption() to the interface, no major problems I think. ======================== Prof. Victor Lazzarini Dean of Arts, Celtic Studies, and Philosophy, Maynooth University, Maynooth, Co Kildare, Ireland Tel: 00 353 7086936 Fax: 00 353 1 7086952 > On 2 Aug 2017, at 14:48, Rory Walsh |
Date | 2017-08-02 15:00 |
From | Rory Walsh |
Subject | Re: setOption in libcsound.js |
There is one major problem for me, I have never succeeded in building the emscripten interface. I'll add a feature request to github. On 2 August 2017 at 14:52, Victor Lazzarini <Victor.Lazzarini@mu.ie> wrote: we need to add setOption() to the interface, no major problems I think. |
Date | 2017-08-02 15:13 |
From | Hlöðver Sigurðsson |
Subject | Re: setOption in libcsound.js |
Another quick question, I'm trying to use the wasm on node.js, instead of the HTML5 webaudio api (window.AudioContext), are there any good replacements like https://www.npmjs.com/package/speaker ? On 2 August 2017 at 16:00, Rory Walsh <rorywalsh@ear.ie> wrote:
|