adsr~ and filtergraph~
Hi there,
probably an easy for one for you guys.
I am trying to apply filtering (filtergraph~ and biquad~) to some audio where the cutoff frequency is controlled by an adsr~ object.
Now, the output of adsr~ is a signal, when feeding this into the filter cutoff frequency inlet of filtergraph nothing seems to happen.
I reckon, this is quite a standard scenario and I am wondering what I am doing wrong. The filtergraph help mentions int/float inlets rather than feeding signals.
cheers, nick
Use snapshot~ between the envelope output of adsr~ and the desired input of filtergraph.
Or use a paralell line taht you feed with what your ramp times should be.
Best, J
the problem is that you are feeding a signal into an inlet that accepts max-messages (control data).
you'll have to find another way of doing what you're attempting.
i would recommend looking int the filtercoeff~ obj.
jml
note that although jko's example is demonstrative (and a good exercise of sampling audio at control rate), it is computationally inefficient. you'll want to keep as much in the signal domain as possible in the long run.
jml
Quote: jml wrote on Mon, 22 December 2008 15:45
----------------------------------------------------
> note that although jko's example is demonstrative (and a good exercise of sampling audio at control rate), it is computationally inefficient. you'll want to keep as much in the signal domain as possible in the long run.
>
> jml
----------------------------------------------------
Yeah, that's reasonable I guess. I would use snapshot~ only for UI visualization purposes...