Open Vahen1981 opened 3 years ago
I see numbers between 0 - 160000 (or something like that)
The range sent by Control Surface is [0, 16,368]. (16,368 = (210 ─ 1) × 24)
This is the same range as commercial controllers such as the Mackie Control Universal.
The maximum range supported by MIDI is [0, 16,383]. The last 15 values are not usually used because many microcontroller ADCs only have a 10 bit resolution.
Control Surface just sends the fader position to the DAW over MIDI, it doesn't do anything fancy to the number. Your DAW is free to interpret that number however it wants, if it chooses 14,000 as +6dB, then it's not making use of the full range that MIDI provides, and it's probably an issue with the DAW.
If you want a workaround in your Arduino code, you can use the PBPotentiometer::map()
function, see this example: https://tttapa.github.io/Control-Surface-doc/Doxygen/d3/d26/CCPotentiometer-Map_8ino-example.html
(The example is for CCPotentiometer, but the principle is the same.)
Hi there! I finished my project, but now I would like to focus in some details... Here is my question: I am using the PBpotentiometers, when I check the values in the hairless midi software I see numbers between 0 - 160000 (or something like that)... then, when I check this in my daw I see the fader of the daw achieving the maximum level (6 dB), but in the hairless midi is not the maximum ( around 14000) and also in my real fader is far to achieve the maximum... Why this is happening? Is it a daw configuration problem? Or maybe is my fader itself? Or maybe something in my code? Thanks!