Hi

It's easier then you think. So, for example what I'm using in GxQuack (envelope controlled wah pedal with some extra features) is:

Wah = (x : lowpass(1,6000.0) : highpass(1,10.0) : reduce(max,256) : amp_follower_ud(attack,release) : min(1.0) : max(0.0) );

instead a slider like this

Wah = vslider("Wah[name:Wah]", 0.5, 0, 1, 0.01) : Inverted(0) : smooth(s);


Note, that this is with faust-0.9.73, so you need to convert that to the new faust library structure.

attack is the "rise" time, release is the "fall" time.


https://github.com/brummer10/GxQuack.lv2

regards
hermann


For reference, here is the full GxQuack dsp file ( only work with faust > 0.9.90) :

It's missing the definition of "amp_follower_ud" :( Herman, if you understand the logic, can you please try to explain it with a reproducible example? I' can't run your code to understand what you meant by sending it to me :(

Phi

--
Yassin Philip      New album NOW
http://yassinphilip.bitbucket.io


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Faudiostream-users mailing list
Faudiostream-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/faudiostream-users

Reply via email to