Adjusting the Gain with a midi controller

You have a question or need an advice about how to do something? Ask it here!
Post Reply
nguoivohinh
Posts: 1
Joined: 22 Jan 2024 09:46
Adjusting the Gain with a midi controller

Post by nguoivohinh »

As mentioned in previous post I have a Korg NanoKontrol2 midi controller. I have a number of the sliders and buttons configure for certain actions.

I have been playing around with trying to control my MIC gain with the knob control instead of a slider but I am not sure if I got right or not. I tried the Macro as well just some simple commands but it goes full to one side only.

I want to get to a position where I can gradually increase or decrease the gain with the Midi controller. Is this possible? :ugeek: :ugeek:
User avatar
radio42
Site Admin
Posts: 8350
Joined: 05 Apr 2012 16:26
Location: Hamburg, Germany
Contact:
Re: Adjusting the Gain with a midi controller

Post by radio42 »

The volume of an input mixer channel is actually controlled by its fader. The gain is on top - but both attenuate/amplify the volume of the recorded source. Note, that digital audio has no headroom.

The fader range is from -unlimited dB (-999, fader down) to 0 dB (fader up).
The gain ranges from -15 dB to +15 dB.

Commands you can use are for example:
MIXER_OUTPUT_VOLUME_SET
MIXER_INPUT_VOLUME_CHANGE
MIXER_INPUT_GAIN_SET

Macros you can use are for example:
${mididata2asvol}
${mididata2aspan}
${mididata2asgain}

See the user manual appendix for more details.

In your case it might be: MIXER_INPUT_GAIN_SET command with the ${mididata2asgain} macro which you can use in your MIDI mapping.
E.g.
MIXER_INPUT_GAIN_SET MIC|${mididata2asgain}

Post Reply