Forums > MaxMSP

Logarithmic ramp in matrix~ ?

Apr 04 2010 | 3:59 pm

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.

Apr 14 2010 | 9:51 am

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. --

Viewing 2 posts - 1 through 2 (of 2 total)

Forums > MaxMSP