Getting curve of ableton's Track Volume slider.

    Oct 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.
    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 :)

    • Oct 30 2012 | 9:03 am
      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:
      hope this helps
    • Oct 30 2012 | 6:08 pm
      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!
    • Nov 04 2012 | 4:11 pm
      I've been offline for a few days. Will dig out the relevant patches and put them up here soon.
    • Nov 04 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.
    • Jul 22 2014 | 5:45 pm
      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.
    • Dec 18 2019 | 11:09 am
      To answer this old post: I was able to get it almost perfect.
      I got it exactly right as Live's reported value from +6dB down to -18dB. From -18dB down to -70dB I have it almost perfect. Just sometimes there's a neglectible 0.1dB difference. Please see my Max for live patch for more info. It contains my convertLiveFaderTodB and convertdBToLiveFader patchers. The formulas are in there.