forked from tv2/sisyfos-audio-controller
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
olzzon
authored and
olzzon
committed
Feb 24, 2020
1 parent
ad26a6b
commit d96533d
Showing
3 changed files
with
100 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,97 @@ | ||
import { IMixerProtocol, emptyMixerMessage } from '../MixerProtocolInterface'; | ||
|
||
export const LawoRuby: IMixerProtocol = { | ||
protocol: 'EMBER', | ||
label: 'Lawo Ruby', | ||
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: [emptyMixerMessage()], | ||
pingResponseCommand: [emptyMixerMessage()], | ||
pingTime: 0, //Bypass ping when pingTime is zero | ||
initializeCommands: [emptyMixerMessage()], | ||
channelTypes: [{ | ||
channelTypeName: 'CH', | ||
channelTypeColor: '#2f2f2f', | ||
fromMixer: { | ||
CHANNEL_FADER_LEVEL: [emptyMixerMessage()], | ||
CHANNEL_OUT_GAIN: [{ | ||
mixerMessage: 'Ruby.Sources.${channel}.Fader.Motor dB Value', | ||
value: 0, | ||
type: 'real', | ||
min: -191, | ||
max: 9, | ||
zero: 0 | ||
}], | ||
CHANNEL_VU: [emptyMixerMessage()], | ||
CHANNEL_NAME: [{ | ||
mixerMessage: '', | ||
value: 0, | ||
type: 'real', | ||
min: -200, | ||
max: 20, | ||
zero: 0 | ||
|
||
}], | ||
PFL: [emptyMixerMessage()], | ||
NEXT_SEND: [emptyMixerMessage()], | ||
THRESHOLD: [emptyMixerMessage()], | ||
RATIO: [emptyMixerMessage()], | ||
DELAY_TIME: [emptyMixerMessage()], | ||
LOW: [emptyMixerMessage()], | ||
LO_MID: [emptyMixerMessage()], | ||
MID: [emptyMixerMessage()], | ||
HIGH: [emptyMixerMessage()], | ||
AUX_LEVEL: [emptyMixerMessage()], | ||
CHANNEL_MUTE_ON: [emptyMixerMessage()], | ||
CHANNEL_MUTE_OFF: [emptyMixerMessage()] | ||
}, | ||
toMixer: { | ||
CHANNEL_FADER_LEVEL: [emptyMixerMessage()], | ||
CHANNEL_OUT_GAIN: [{ | ||
mixerMessage: 'Ruby.Sources.${channel}.Fader.Motor dB Value', | ||
value: 0, | ||
type: 'real', | ||
min: -191, | ||
max: 9, | ||
zero: 0 | ||
|
||
}], | ||
CHANNEL_NAME: [{ | ||
mixerMessage: '', | ||
value: 0, | ||
type: 'real', | ||
min: -200, | ||
max: 20, | ||
zero: 0 | ||
|
||
}], | ||
PFL_ON: [emptyMixerMessage()], | ||
PFL_OFF: [emptyMixerMessage()], | ||
NEXT_SEND: [emptyMixerMessage()], | ||
THRESHOLD: [emptyMixerMessage()], | ||
RATIO: [emptyMixerMessage()], | ||
DELAY_TIME: [emptyMixerMessage()], | ||
LOW: [emptyMixerMessage()], | ||
LO_MID: [emptyMixerMessage()], | ||
MID: [emptyMixerMessage()], | ||
HIGH: [emptyMixerMessage()], | ||
AUX_LEVEL: [emptyMixerMessage()], | ||
CHANNEL_MUTE_ON: [emptyMixerMessage()], | ||
CHANNEL_MUTE_OFF: [emptyMixerMessage()] | ||
} | ||
}], | ||
fader: { | ||
min: 0, | ||
max: 200, | ||
zero: 1300, | ||
step: 10, | ||
}, | ||
meter: { | ||
min: 0, | ||
max: 1, | ||
zero: 0.75, | ||
test: 0.6, | ||
} | ||
} | ||
|