Csound Csound-dev Csound-tekno Search About

Re: GEN01 problem !!

Date1998-01-05 15:53
Fromrasmus ekman
SubjectRe: GEN01 problem !!
David Schuyeteneer wrote:
> 
> Csound sayes that there are "INSUFFICIENT ARGS" in F3 
> (the table for the sampledata)...Now, I checked over and
> over, but I really can't find what's wrong ! 

This is an old error in the manuals. Thought it was corrected some time 
ago. You need one last argument: channel. If you use raw sample data,
you need to specify which type it is, else if you use aif or wav files, 
tell gen 01 to get the format from the soundfile header, like so:

;  tablenum  start      size     GEN   inputfile     skip   format chan
f  3         0          262144     1    "sample.aif"   0       0     0

Get the most recent manuals (HTML, tar.gz-ipped) from 
ftp://ftp.musique.umontreal.ca/pub/

Regards,

	re