Getting curve of ableton's Track Volume slider.

Oct 29, 2012 at 4:26pm

Getting curve of ableton's Track Volume slider.

Hi everyone.

Im looking for a way to get the curve of the Track Volume slider. I have made a list of data.
Click here on this link for the collection of data. http://i.imgur.com/n1A5J.jpg

I have two questions.
- first of all, does anyone know a way to get the real gain/scale factor of the input of the track slider to dB.
- does anyone know how to integrate the plotted curve into a max object so you can control X (0.0 – 1.0) to a Y (-70 dB – +6 dB)

Help is appreciated :)

RG

#64987
Oct 30, 2012 at 9:03am

hello,

I don’t know if this is what you’re looking for, but I had a similar problem with the send pot.

To resolve it, I measured its response by generating white noise and ramping up the send level over time. Then I put a device in the return channel which measured the levels received and wrote them, at intervals, to a [coll]. Having collected 512 points over the range of the pot, I then inverted the curve and poked the results into a buffer object. In effect, this produced an “anti-log pot” tailored to the live send knob.

more at:

http://cycling74.com/forums/topic.php?id=38462

hope this helps

Richard

#234357
Oct 30, 2012 at 6:08pm

Hi,

Ah oke! I’ve downloaded the antipot patch, but can you share your project about getting those values? I like the idea of storage all those values into a .aif!

#234358
Nov 4, 2012 at 4:11pm

Hi,

I’ve been offline for a few days. Will dig out the relevant patches and put them up here soon.

richard

#234359
Nov 4, 2012 at 5:07pm

Here’s a couple of patches, I think they’re the working versions:

The first one is the M4L measurement tool used to collect signals (pink noise) at eighth-note intervals and store in the [coll]. I put it in the return channel and used the Live send envelope to ramp the noise source slowly over time.

The second patch interpolates the results in [coll fred] to produce an evenly spaced lookup table in [coll george]. This was a very rough patch and will not cope with negative gradients so, any bogus entries in fred where one entry is less than the preceding one will have to be massaged out before running the patch. Hope it works for you.

Having produced [coll george], write it to a [buffer~] using [poke~], as per poke~.maxhelp.

Richard

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

You must be logged in to reply to this topic.