Csound Csound-dev Csound-tekno Search About

Re: Error message Perf-pass

Date1998-05-19 01:46
FromToby
SubjectRe: Error message Perf-pass
You may only have k and x rate operators
within an instrument definition.  You did this:

	sr = 44100
	kr = 4410
	ksmps = 10
	nchnls = 1

	gamyvar = 0 ; Offending line in 'header block'

	instr 1
		...
		...
		...

Where the '=' operator runs at the rate
of the variable that it is being used against.
In this case it is running at a-rate.  Use:

	gamyvar init 0

Instead.


Toby

	-There otta be a law-




Stuart Felenstein wrote:
> 
> Can anyone tell me what
> 
> "perf-pass statements illegal in header blks"
> 
> means?
> 
> Thanks
> Stuart
> stuartf@dimensional.com