Csound Csound-dev Csound-tekno Search About

Re: Question -tempo

Date1997-03-23 06:25
FromToby
SubjectRe: Question -tempo
tolve wrote:
> 
> how do i set duration parameter in i statement in mm (metronome) units
> assigned by tempo?
> example. starting with:
>
> amp     linseg  0,8,20000,8,0,8,15000,8,0

> 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

The idea is to set up your linseg
in terms of the duration of the note:

instr 1
	idur	init	p3
	ivol	init	p4
	ifront	init	.1
	iback	init	idur - ifront

	kenv	linseg	0, ifront, ivol, iback, 0

	...
	...
	...

//

That sort of thing.

Toby

	-There otta be a law-