< G_Y_X_S_Y_N : global instrument for linear-predictor cross synthesis processing
define([NEWPAR],4)dnl COMMENT PAR1 (first unused p-field) for gxsyn
include(CSLIBDIR/Include/pfields.h)
    < functions 96 & 97 are optional, if tables are used for begin & end times
    < f96 specifies times to begin reading lp.m; start with 2nd location
    < f97 specifies times to end reading lp.m ; start with 2nd location
< *f96 0 size -2 0 
< *f97 0 size -2 0 

instr gxsyn 
p3  
PAR1       < lp.# number
  < PAR2 = time in orig. soundfile to BEGIN reading
PAR2  
  < PAR3 = time in orig. soundfile to END reading;if neg. = index to f96 & f97
PAR3
<OPTIONAL PARAMETERS :PAR4 through PAR13 (any of these fields can be left blank)
    < PAR4 & PAR5 : TRANSPOSITION of FORMANTS; if PAR4 = 0 no change
    < if PAR4 = 1, PAR5 = multiplier ; if PAR4 = 2, PAR5 = semitone 
    < (integer portion) and/or microtonal (fractional portion) transposition
PAR4     < Flag : 0,1 or 2
PAR5      < formant multiplier or transposition
    < BRIGHTNESS : PAR6 & PAR7  ; if PAR6 = 0 no change
    < if PAR6 = 1, ptrack pitch used for filter center freq.;
    <  any other PAR6 value = new filter center freq. in cps or pch
PAR6  
  < PAR7 :  brightness modifier: range -1. (least bright) to +1. (brightest)
PAR7  
    < PAR8 : Add White noise : if PAR8 = 0, no noise added; if positive
    < between .001 & 1., specifies constant noise % added; if negative
    < (e.g. -.01), specifies MINIMUM % noise added
PAR8  
< Amplitude : PAR9 through PAR12
    < Envelope: if PAR9 = 0, lp.m file envelope used ;if PAR9 = -1,
    < internal mix of lp.m file & driver envelopes ; if PAR9 is between .001
    < and +1., a mix of the driver & lp.mfile envelopes is done, with PAR9
    < specifying the % of driver envelope
PAR9  
PAR10     < amplitude multiplier
PAR11     < fade-in time
PAR12      < fade-out time
    < PAR13 : Attack hardness : if PAR13 = 0, no change . Range is -1.
    < (greatest smoothing of attack) to +1. (hardest attack)
PAR13  
