Topic: MIDI to dB Mapping (Control Curves)
Is there detailed information on how TotalMix maps MIDI fader commands onto fader dB values?
Documentation such as "Fader val: 0=Off, x68=0dB, x7F=Max" is helpful, but I actually am in need of the full curve ... i.e. the formula used for the mapping. This formula will certainly involve some calls to log() or pow() ...
Motivation: I am using Cantabile to coordinate setting levels in TotalMix. MIDI encoders that control volume affect settings in Cantabile for FX and also are forwarded to TotalMix to adjust the level of dry signals. This gives me the latency benefit of TM Direct Monitoring.
However, Cantabile uses different control curves than TotalMix, so dB values do not line up. Cantabile control curves are configurable by specifying the formulas used to map between MIDI and various Gain values, so I can change Cantabile to match TotalMix.
(I am guessing TotalMix control curves cannot be configured??)
This could be figured out by some laborious reverse engineering, but I'm hoping I can get the official control curve formula(s).
BTW, the Cantabile functions for the default control curve are:
dB = log(MIDI, 10) * 60 - (log(96, 10) * 60)
... and the inverse:
MIDI = 10 ^ ((dB + 118.93627)/60)