Csound Csound-dev Csound-tekno Search About

[Csnd] Best way to pass item to Csound startup

Date2020-09-16 22:25
FromRoger Kelly
Subject[Csnd] Best way to pass item to Csound startup
I want to pass a variable (like sysarg type thing) on startup of Csound.

I would like to access it at start of the initialization.

What is the best way to do this?


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

Date2020-09-16 23:04
FromGuillermo Senna
SubjectRe: [Csnd] Best way to pass item to Csound startup
Maybe --omacro:XXX=YYY, which "Sets orchestra macro XXX to value YYY"?

On 16/9/20 18:25, Roger Kelly wrote:
I want to pass a variable (like sysarg type thing) on startup of Csound.

I would like to access it at start of the initialization.

What is the best way to do this?

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


Date2020-09-16 23:08
FromDave Seidel
SubjectRe: [Csnd] Best way to pass item to Csound startup
Yes, this is the method I use (also there's --smacro for score macros).

On Wed, Sep 16, 2020 at 6:04 PM Guillermo Senna <gsenna@gmail.com> wrote:
Maybe --omacro:XXX=YYY, which "Sets orchestra macro XXX to value YYY"?

On 16/9/20 18:25, Roger Kelly wrote:
I want to pass a variable (like sysarg type thing) on startup of Csound.

I would like to access it at start of the initialization.

What is the best way to do this?

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