Hello, 
I'm new to fuast and programming in general so I have quite a simple
question, I made a simple synth voice :

import("stdfaust.lib");
// Oscillator
f = hslider("Freq",440,1,20000,0.1);
s = nentry("Waveform Select",0,0,2,1);
oscillator =
os.polyblep_saw(f),os.polyblep_square(f),os.polyblep_triangle(f):
select3(s);

//Amp
attack = hslider("Attack",0,0,400,0.1);
decay = hslider("Decay",0,0,400,0.1);
sustain = hslider("Sustain",0,0,1,0.1);
release = hslider("Release",0,0,400,0.1);

gate = button("Gate");
envelope = en.adsr(attack,decay,sustain,release,gate);
amp = gate*envelope;


process = oscillator*amp;


Now my question was is there a way to duplicate the voice so that it
makes another set of sliders for the secound voice. I hope this
question makes sense

Thanks
Magnus



_______________________________________________
Faudiostream-users mailing list
Faudiostream-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/faudiostream-users

Reply via email to