Csound Csound-dev Csound-tekno Search About

Question -tempo

Date1997-03-22 19:12
Fromtolve
SubjectQuestion -tempo
how do i set duration parameter in i statement in mm (metronome) units
assigned by tempo?
example. starting with:

instr	1
amp	linseg 	0,8,20000,8,0,8,15000,8,0
asig	oscil	amp,cpspch(p5),p4
out	asig
endin

t	0	60
f1	0	8192	10	1
i1	0	32	  	1 	6.06
e

figure ok. here it is: p108 manual. let's just double tempo thusly:

t	0	120 blah blah blah

but what i hear is just half of original linseg:

instr	1
amp	linseg 	0,8,20000,8,0
asig	oscil	amp,cpspch(p5),p4
out	asig
endin

tried putting t statement everywhere. then tried stick a t in front of dur
to see if it would notice. nope.

Also: can i set a different tempo in sco for each i statement?

working on exhaustive kinderfaq.

thanks again!
tolve