Forums > Max For Live

Getting curve of ableton's Track Volume slider.


RRG
October 29, 2012 | 4:26 pm

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


October 30, 2012 | 9:03 am

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



RRG
October 30, 2012 | 6:08 pm

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!


November 4, 2012 | 4:11 pm

Hi,

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

richard


November 4, 2012 | 5:07 pm

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

July 22, 2014 | 10:45 am

Hey, we approximated this problem by empiric trial and error. Its a simple patch which splits the linear GUI values into the regions that we think Ableton changes the volume curve and then applies a logarithm and an offset to approach the values as shown in dB in Ableton. Its not perfect, but not far off.

– Pasted Max Patch, click to expand. –

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