   < illustrates the use of function tables 99 and 98
   < source soundfiles are 6 pizzicato tones, a timbale and a tom tom
   < the use of tables 98 & 99 allows one to read in these soundfiles in
   < pseudo random order, and use the full duration of each

 <  optional functions if tables used: f98 = table of soundin. numbers,
 < f99 = table of durations ; to use, remove comments, edit & complete
< input soundfiles are 6 pizzicato tones, a timbale & a tom tom
< soundin.# numbers used in f99 and f98 
< 14 = cb.p.gs1   7 = vc.p.e2  15 = vc.p.c3   16 = vln.p.g4
< 17 = vln.p.b3  18 = vln.p.ds5    2 = timb1   3 = tom2
 *f98 0 8 -2 14 7 15 16 17 18 2 3;
 *f99 0 8 -2 1.6 2.3  2.28  .55  .4  .27  .57  .28;

SF1TO2 0 9.1;                   < mono input, stereo out
rs 444; < this reseed value works to my liking
p3 mx 5. .6 .2 .08 .2/4. .088 .2 .3 .6;                   
rr .1;  < delete 10 % of the notes
 < dummy duration, slightly longer than the dur. of the longest input soundfile
du  302.3;
     < p4 = soundin.#, or, if negative, index to function tables 98 & 99
 < read in the input soundfiles in random order
p4 se 9. 0 -1 -2 -3 -4 -5 -6 -7; 
p5 mx 5. .05 .2 .8 .25/4. .8 .25 .08;     < ampfac
  < p6 = duration skipped from front of soundfile
p6  
  <  p7 = fade-in time : if negative or between 100.0 & 101. = % p3
p7   
  <  p8 = fade-out time : if negative or between 100.0 & 101. = % p3
p8   
p9 1. .05 .95;      < random spatial placement
  <  Added user p-fields: 
end;  <<< End of ### sf1to2 ### score >>>
