Scaling Filter Envelope

    Sep 29 2014 | 1:06 pm
    Hi everybody. Tried to search here, but found nothing about my problem. Making a filter envelope, but this kind of envelope is not so simple as i found on posts here. I need an envelope that can be straight or inverted (from -100% to 100%). At this moment i made an envelope that can work as i need only straight. The main problem is when i use clip, for example. It will clip instead of scale what i need. Here is patch. For this example i used phasor as envelope generator.

    • Sep 29 2014 | 4:28 pm
    • Sep 29 2014 | 7:58 pm
      Thanks, but your patch looks strange for me. Will try you frequency scaling on my patch tomorrow. Also if you've seen my patch, i made an inversion, but my main problem were, not the inversion itself, problem were in scaling the filter frequency. And as i said, i will try you version tomorrow^ after that i will report worked it for me or not.
    • Sep 30 2014 | 1:12 pm
      Tested your patch, and it is not scaling the frequency well. It works even worse than my version, because it is using frequencies above assigned maximum, and also like in my version goes below 0.
    • Sep 30 2014 | 1:28 pm
      Just made a new version. It is working, but i'm not sure that this is the best choice for filter envelope. Will be happy to see other ideas in this topic.
    • Sep 30 2014 | 1:33 pm
      In the PM.Ladder~ (available for download on this site via the search) help file I provide an example of filter scaling.
      Basically, things will work much, much easier if you scale your envelope in half-steps (e.g. Output of ADSR~ -> *~ 24 = two octave sweep) and add it to the cutoff value (MIDI pitch, I'd use something like 36-135 or 60-135 for the range). Clip that value to 36 135, then send it through mtof~ to get the desired frequency. The help file I mentioned earlier also shows how to do key-tracking.
    • Sep 30 2014 | 1:51 pm
      Thanks Peter, will try your scaling algorithm at home.
    • Oct 01 2014 | 11:47 am
      Just tested your algorithm made in PM.Ladder~ help file. That's cool but i need something other, because i want to make envelope amount control like it is made in Ableton Operator.
      For this moment i'm digging deaper in math with my latest algorithm.