Hello all,

I just joined the Faust User mailing list, and am excited to be here! I have a question about programming with Faust.

First off, I am writing a multichannel delay by using the par() function:

import("stdfaust.lib");
echoDuration = hslider("echoDuration",0,0,5,0.01);
feedback = hslider("feedback",0,0,0.9,0.01);
echo = +~(de.delay(262144,echoDuration*ma.SR)*feedback);
process = _,_ <: par(i,128,echo);

I have followed Romain's 2017 Faust Day videos to get to the point where I am now and have got the processing that I want. faust2firefox shows exactly what I need: 2in -> 128 separate delay lines. Now, I want to have separate slider controls for each delay line. How would I do that neatly, without making 128 new variables for echoDuration and feedback?

I saw in the Faust manual that % exists as a way to increment names, but I am not 100% sure how that works. Is that the secret to crack this code?

Thank you so much for any help you can provide,

Brandon Hale

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

Reply via email to