Csound Csound-dev Csound-tekno Search About

[Csnd] another syntax question

Date2021-02-21 16:07
FromStefan Thomas
Subject[Csnd] another syntax question
Dear community,
Unfortunately there's one thing in the syntax which I don't understand:
schedkwhen ktrigger,   0,        0,     p1+1,    0,     0.01
(in instr 1)
Does this code mean (when written in instr 1) call instrument 2?
Thanks for Your help,
Stefan
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

Date2021-02-21 16:28
Fromjoachim heintz
SubjectRe: [Csnd] another syntax question
yes, you can check with
	print p1
or
	print p1+1

best -
	j


On 21/02/2021 17:07, Stefan Thomas wrote:
> Dear community,
> I had a look an Ian McCurdys "Drunk-Walk" 
> (http://iainmccurdy.org/CsoundRealtimeExamples/RealtimeScoreGeneration/DrunkWalk.csd).
> Unfortunately there's one thing in the syntax which I don't understand:
> 
>     schedkwhen ktrigger,   0,        0,     p1+1,    0,     0.01
> 
> (in instr 1)
> Does this code mean (when written in instr 1) call instrument 2?
> Thanks for Your help,
> Stefan
> 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

Date2021-02-21 16:32
FromStefan Thomas
SubjectRe: [Csnd] another syntax question
Thanks!
That's clear now!

Am So., 21. Feb. 2021 um 17:28 Uhr schrieb joachim heintz <jh@joachimheintz.de>:
yes, you can check with
        print p1
or
        print p1+1

best -
        j


On 21/02/2021 17:07, Stefan Thomas wrote:
> Dear community,
> I had a look an Ian McCurdys "Drunk-Walk"
> (http://iainmccurdy.org/CsoundRealtimeExamples/RealtimeScoreGeneration/DrunkWalk.csd).
> Unfortunately there's one thing in the syntax which I don't understand:
>
>     schedkwhen ktrigger,   0,        0,     p1+1,    0,     0.01
>
> (in instr 1)
> Does this code mean (when written in instr 1) call instrument 2?
> Thanks for Your help,
> Stefan
> Csound mailing list Csound@listserv.heanet.ie
> <mailto: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