Env/adsr behavior faulty


#1

Hi, I'm making a big brass patch with all the parameters mapped to my Keylab49 keyboard in conjunction with the Music Thing Axo Control. It's in my (qui) contrib folder "patches for polysynths" as "brass voice ctrl.axs"

The problem is noticeable with the filter envelope. When i have a slow attack it opens the filter. But a fast attack doesn't open the filter at all. It should go through both attack and decay stages and sit at sustain level. I have the same sustain set and get differend held filter cutoff values depending on the attack setting, which is not the way traditional analog adsrs work


#2

Ive just tested your patch and seems fine to me, I'll come back to this in a moment.

here, Ive re-arranged your patch a bit, as I think it might help you in the future

(actually, I'll say I tested the re-arranged one, but its basically the same, but I need to first be able to clearly see what was going on)

fltenvtest.axp (9.4 KB)

changes:
a) first , Ive cut n pasted your voice patch, into an embedded patcher object, they are easier generally to manage,
so we only have 1 file to deal with :slight_smile:

b) Ive moved the effects out of the voice, and use an audio outlet
this is important, since effects are quite expensive, so unless you are doing per voice modulation, really you do not want 7 copies running.
(i.e. you'll get more polyphony with my patch)

c) execution order.
its really important you use the correct execution order, layout object left to right, top to bottom.
if not you can get weird issues,
note how in my layout all inlets are fed by an object that is processed first (L->R , T -> B)

d) I pushed some params to the parent so i could test it easier

now for testing...
ok, so you can modify the parameters on the top level patch.
seeing an min attack, and a half sustain level, I can clearly hear the filter envelope working
i turned down the filter response to velocity and your lfo, so as to be sure by velocity did not alter the cutoff.
(as your effectively summing them with a mixer)

if you want to be even more sure, if you edit the sub-patch, change the adsr for the amp to -64,-64,64,-64,
then you will clearly here the filter envelope

hope the above helps
enjoy
Mark


#3

Wow Mark, thanks a lot for such a prompt and complete reply!
Your edit of my patch works perfectly, it does not present the issue I was experiencing, so I guess the problem was in my patch, possibly something to do with the execution order? (i'm a hardware modular patcher, we don't worry about such things, lol)
Thanks for showing me the patcher object, I really was wondering how to apply just global effects to a poly patch!
Total coolness, thanks again :slight_smile:
I'll continue my work from your edit
Cheers!


#4

@thetechnobear, Now something else has happened. As I'm adding the controls I want for my Axo Control, suddenly the main patch goes into horrid feedback (careful testing!), even though when I make the patcher go live on its own it works fine. Any ideas? I put the file with the same name you used in my qui folder, by itself outside, in case you have a moment to check it out :slight_smile:


#5

Never mind, I saw what I did... please disregard the last message!