Csound Csound-dev Csound-tekno Search About

Re: ftgen ?

Date1998-10-11 22:27
Fromjpff@maths.bath.ac.uk
SubjectRe: ftgen ?
Message written at 10 Oct 1998 21:31:31 +0100
--- Copy of mail to gamma_orion@iname.com ---
In-reply-to: <361B9DC5.4BB6F10C@iname.com> (message from Antoine Lefebvre on
	Wed, 07 Oct 1998 12:58:45 -0400)
References:  <361B9DC5.4BB6F10C@iname.com>

ftgen is an orchestra opcode which one expects to find in instrument 0
(ie outside any instrument) and it takes the form of a f statement in
a score.  I attach some manual information

==John ff
------------------------------------------------------------------------
ftgen

iafno	ftgen	ifno, itime, isize, igen, iarga[, iargb, ...iargz]

INITlALIZATION 
iafno - ftable number, either requested or automatically assigned
(101, 102, 103 ....).  A global (giafno) can be referenced from any
instrument in the orchestra. 

ifno, itime, isize, igen, iarga, iargb , ..- input values as described
in the score f statement, except for the following differences: 
 Ifno - if zero, an ftable number is automatically assigned (101,
...) and copied into iafno.  If non-zero, the requested number is
copied into iafno. 
 Itime - ignored, effectively the action time of this instr
(e.g. time 0 for header statements). 

PERFORMANCE

ftgen - invoke any ftable generator, as described in the Gen Routines.
This unit brings ftable generation into the orchestra.  Table creation
time is either at Orchestra Init (header statements, instr 0) or at
each action time of an instrument containing one of these units.  Each
table may be automatically assigned a number number, which can be
referenced symbolically to reduce the book-keeping that attends score
definition.  However, automatic numbering means that ftable numbers
above 100 should not be explicitly used.  (A nasty bug I need to remove)