Csound Csound-dev Csound-tekno Search About

[Csnd] run csd file in ctcsound/icsound

Date2019-09-09 16:58
Fromjoachim heintz
Subject[Csnd] run csd file in ctcsound/icsound
what is the best way to run a csd file (for instance: '../myfile.csd') 
in iCsound?  there are very nice methods to run any code which is typed 
in the notebook (runCsd etc), but i cannot see how to refer to a file.

thanks for any help -
	joachim

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

Date2019-09-09 17:55
FromFrancois PINOT
SubjectRe: [Csnd] run csd file in ctcsound/icsound
ICsound being a subclass of ctcsound.csound, you can use the compileCsd(csd_filename) method of ctcsound.csound...

François

Le lun. 9 sept. 2019 à 17:58, joachim heintz <jh@joachimheintz.de> a écrit :
what is the best way to run a csd file (for instance: '../myfile.csd')
in iCsound?  there are very nice methods to run any code which is typed
in the notebook (runCsd etc), but i cannot see how to refer to a file.

thanks for any help -
        joachim

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

Date2019-09-09 19:28
Fromjoachim heintz
SubjectRe: [Csnd] run csd file in ctcsound/icsound
thanks!

yes this was what i needed.  and it works perfectly when i change the 
file and call compileCsd again, without reset or anything.

regards -
	joachim



On 09/09/19 18:55, Francois PINOT wrote:
> ICsound being a subclass of ctcsound.csound, you can use the
> |compileCsd|(/csd_filename/) method of ctcsound.csound...
>
> François
>
> Le lun. 9 sept. 2019 à 17:58, joachim heintz  > a écrit :
>
>     what is the best way to run a csd file (for instance: '../myfile.csd')
>     in iCsound?  there are very nice methods to run any code which is typed
>     in the notebook (runCsd etc), but i cannot see how to refer to a file.
>
>     thanks for any help -
>             joachim
>
>     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