Closed SteffeyDev closed 6 years ago
The input range can be customised in Osculator. You can do it by adjusting the Out Min and Out Max parameters in the Scalings page.
Thanks for the info! I did not know that either. @JamesFrank2525 does this help you?
Because OSCulator and I'm sure other OSC apps have the scaling ability built in, I'm closing this issue. Feel free to re-open if there is a use case that would require a midi-specific API.
Pulling from #55
Currently, the
gain
andbalance
values from the OSC audio commands are sent directly to the underlying SDK, so thegain
is indB
and the balance is-1
for full left to+1
for full right. However, this is difficult for users of OSCulator who can only map MIDI to OSC with float values in the range0-1
.One option is to make a midi-specific sub-API that would do the scaling from
0-1
to the neededgain
andbalance
values for the SDK. I'm open to other suggestions as well.The API I am imagining is something like
/atem/audio/midi/input/1/gain
, but once again that is open to discussion.