diff --git a/client/components/ChanStripFull.tsx b/client/components/ChanStripFull.tsx index 709776a1..3a71d6fd 100644 --- a/client/components/ChanStripFull.tsx +++ b/client/components/ChanStripFull.tsx @@ -681,6 +681,18 @@ class ChanStripFull extends React.PureComponent< )} + {this.doesParamExists(fxParamsList.GainTrim) ? ( +
+
GAIN TRIM
+
+ {this.fxParamFader( + fxParamsList.GainTrim + )} +
+
+ ) : ( + + )} {this.doesParamExists(fxParamsList.CompThrs) ? (
COMPRESSOR
diff --git a/server/constants/MixerProtocolInterface.ts b/server/constants/MixerProtocolInterface.ts index 9d83c489..f7c5ab8c 100644 --- a/server/constants/MixerProtocolInterface.ts +++ b/server/constants/MixerProtocolInterface.ts @@ -12,6 +12,7 @@ export enum fxParamsList { EqQ03, EqQ04, DelayTime, + GainTrim, CompThrs, CompRatio, CompKnee, diff --git a/server/constants/mixerProtocols/midasMaster.ts b/server/constants/mixerProtocols/midasMaster.ts index 031103ae..540292a7 100644 --- a/server/constants/mixerProtocols/midasMaster.ts +++ b/server/constants/mixerProtocols/midasMaster.ts @@ -38,6 +38,9 @@ export const MidasMaster: IMixerProtocol = { mixerMessage: '/ch/{channel}/mix/{argument}/level', type: 'aux', }, + { + mixerMessage: '/ch/{channel}/preamp/trim', + }, { mixerMessage: '/ch/{channel}/dyn/thr', }, @@ -130,6 +133,15 @@ export const MidasMaster: IMixerProtocol = { CHANNEL_NAME: [emptyMixerMessage()], //[{ mixerMessage: '/ch/{channel}/config/name', value: 0, type: 'f', min: 0, max: 1, zero: 0.75}], PFL: [emptyMixerMessage()], NEXT_SEND: [emptyMixerMessage()], + [fxParamsList.GainTrim]: [ + { + mixerMessage: '/ch/{channel}/preamp/trim', + minLabel: -18, + maxLabel: 18, + label: 'Gain Trim', + valueLabel: ' dB', + }, + ], [fxParamsList.CompThrs]: [ { mixerMessage: '/ch/{channel}/dyn/thr', @@ -333,6 +345,15 @@ export const MidasMaster: IMixerProtocol = { PFL_ON: [emptyMixerMessage()], PFL_OFF: [emptyMixerMessage()], NEXT_SEND: [emptyMixerMessage()], + [fxParamsList.GainTrim]: [ + { + mixerMessage: '/ch/{channel}/preamp/trim', + minLabel: -18, + maxLabel: 18, + label: 'Gain Trim', + valueLabel: ' dB', + }, + ], [fxParamsList.CompThrs]: [ { mixerMessage: '/ch/{channel}/dyn/thr',