Logarithmic ramp in matrix~ ?

Apr 4, 2010 at 3:59pm

Logarithmic ramp in matrix~ ?

I am working on a project that randomly shifts 3 sound sources to 6 audio outputs using the matrix~ object. My intent is to have the sound crossfade slowly over 10 seconds between outputs. The problem is the ramp is happening in a linear fashion and since I am working with audio signals, I’d like to have the audio crossfade using a logarithmic curve so the fading sounds smoother.
Is there a way to do this with matrix~ or do I need a different approach?
I have attached an example so you can see what I’m doing.

#49530
Apr 14, 2010 at 9:51am

you may have solved it in the past week, but perhaps something like this would work for you…

(dividing the long fade into small steps, each of which will be linear because that’s how matrix~ is, but overall giving a curved transition)

– Pasted Max Patch, click to expand. –
#177994

You must be logged in to reply to this topic.