Skip to content

Commit

Permalink
feat: Lawo R3LAYVRX4 - NOT WORKING YET
Browse files Browse the repository at this point in the history
  • Loading branch information
olzzon committed Jun 29, 2019
1 parent 229618a commit ffccf79
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 7 deletions.
34 changes: 28 additions & 6 deletions src/constants/mixerProtocols/EmberLawo.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import fs from 'fs';
export const LawoClient: IMixerProtocol = {
protocol: 'EMBER',
label: 'Lawo Relay VRX4 - client',
mode: "client", //master (ignores mixers faderlevel, and use faderlevel as gain preset),
mode: "master", //master (ignores mixers faderlevel, and use faderlevel as gain preset),
//client (use feedback from mixers fader level)
leadingZeros: false, //some OSC protocols needs channels to be 01, 02 etc.
pingCommand: [
Expand Down Expand Up @@ -34,16 +34,38 @@ export const LawoClient: IMixerProtocol = {
channelTypeName: 'CH',
channelTypeColor: '#2f2f2f',
fromMixer: {
CHANNEL_FADER_LEVEL: [{ mixerMessage: 'R3LAYVRX4/Ex/GUI/FaderSlot_{channel}/Amplification', value: 0, type: 'f', min: 0, max: 1, zero: 0.75}],
CHANNEL_FADER_LEVEL: [{
mixerMessage: 'R3LAYVRX4/Ex/GUI/FaderSlot_{channel}/FaderPosition',
value: 0,
type: 'real',
min: 0,
max: 100,
zero: 75
}],
CHANNEL_OUT_GAIN: [{ mixerMessage: 'none', value: 0, type: 'f', min: 0, max: 1, zero: 0.75}],
CHANNEL_VU: [{ mixerMessage: '/track/{channel}/vu', value: 0, type: 'f', min: 0, max: 1, zero: 0.75}],
CHANNEL_NAME: '/track/{channel}/name',
CHANNEL_VU: [{ mixerMessage: 'none', value: 0, type: 'f', min: 0, max: 1, zero: 0.75}],
CHANNEL_NAME: 'none',
PFL: [{ mixerMessage: 'none', value: 0, type: 'f', min: 0, max: 1, zero: 0.75}],
AUX_SEND: [{ mixerMessage: 'none', value: 0, type: 'f', min: 0, max: 1, zero: 0.75}],
},
toMixer: {
CHANNEL_FADER_LEVEL: [{ mixerMessage: 'R3LAYVRX4/Ex/GUI/FaderSlot_{channel}/Amplification', value: 0, type: 'f', min: 0, max: 1, zero: 0.75}],
CHANNEL_OUT_GAIN: [{ mixerMessage: 'R3LAYVRX4/Ex/GUI/FaderSlot_{channel}/FaderPosition', value: 0, type: 'f', min: 0, max: 1, zero: 0.75}],
CHANNEL_FADER_LEVEL: [{
mixerMessage: 'R3LAYVRX4/Ex/GUI/FaderSlot_{channel}/FaderPosition',
value: 0,
type: 'real',
min: 0,
max: 100,
zero: 75
}],
CHANNEL_OUT_GAIN: [{
mixerMessage: 'R3LAYVRX4/Ex/GUI/FaderSlot_{channel}/Amplification',
value: 0,
type: 'real',
min: -200,
max: 20,
zero: 0

}],
PFL_ON: [{
mixerMessage: "/track/{channel}/solo",
value: 1,
Expand Down
1 change: 0 additions & 1 deletion src/utils/MixerConnection.ts
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,6 @@ export class MixerGenericConnection {
dispatchTrigger = 0;
}


if ( outputLevel <= min ){
outputLevel=min;
this.mixerConnection.updateFadeIOLevel(channelIndex, outputLevel);
Expand Down

0 comments on commit ffccf79

Please sign in to comment.