Csound Csound-dev Csound-tekno Search About

setOption in libcsound.js

Date2017-08-02 13:45
FromHlöðver Sigurðsson
SubjectsetOption 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

Date2017-08-02 13:55
FromHlöðver Sigurðsson
SubjectRe: 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:
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

Date2017-08-02 13:58
FromVictor Lazzarini
SubjectRe: 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  wrote:
> 
> 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


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-02 13:59
FromVictor Lazzarini
SubjectRe: 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  wrote:
> 
> 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  wrote:
> 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


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-02 14:02
FromHlöðver Sigurðsson
SubjectRe: 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.
========================
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 <hlolli@GMAIL.COM> wrote:
>
> 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:
> 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


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

Date2017-08-02 14:48
FromRory Walsh
SubjectRe: 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. 
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-02 14:52
FromVictor Lazzarini
SubjectRe: 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  wrote:
> 
> 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. 
> 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

Date2017-08-02 15:00
FromRory Walsh
SubjectRe: 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.

========================
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 <rorywalsh@ear.ie> wrote:
>
> 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.
> 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

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-02 15:13
FromHlöðver Sigurðsson
SubjectRe: 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:
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.

========================
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 <rorywalsh@ear.ie> wrote:
>
> 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.
> 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

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