Csound Csound-dev Csound-tekno Search About

[Csnd] schedule not working??

Date1999-11-08 15:23
FromGrant Covell
Subject[Csnd] schedule not working??
Hello--

Using PPC Csound 3.59:
Given the following attempt to use schedule,
the call to instr 2 does not occur at 8s but at 1s.
p2 (iwhen) seems to always be 0 (equal to p2 of the calling instr).
Is this a bug, or what am I doing wrong?

Thanks,

Grant.

===
;;orc
sr 		= 44100
kr 		= 44100
ksmps 	= 1
nchnls 	= 2

instr 1
		schedule		2, 8, 1, 346, 10
endin

instr 2
	idur		= p3
	iosc		= p4
	asigl 		pluck  5000, iosc, iosc, 0, 1	
	out  	asigl
endin

;;sco
i1 0 20
e

...similarly, schedwhen and schedkwhen do not work.

--