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.
chore: cleanup old "client"-"master" mode
- Loading branch information
olzzon
authored and
olzzon
committed
Jun 4, 2020
1 parent
55bc40a
commit 5bedab5
Showing
23 changed files
with
2,354 additions
and
1,470 deletions.
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
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
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 |
---|---|---|
@@ -1,64 +1,93 @@ | ||
import { IMixerProtocol, emptyMixerMessage } from '../MixerProtocolInterface'; | ||
|
||
export const DMXIS: IMixerProtocol = { | ||
protocol: 'OSC', | ||
label: 'DMXIS Light Controller Protocol', | ||
mode: "master", | ||
FADE_DISPATCH_RESOLUTION: 5, | ||
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: '#3f2f2f', | ||
fromMixer: { | ||
CHANNEL_OUT_GAIN: [{ mixerMessage: '/dmxis/ch/{channel}', value: 0, type: 'f', min: 0, max: 1, zero: 0.75}], | ||
CHANNEL_VU: [emptyMixerMessage()], | ||
CHANNEL_VU_REDUCTION: [emptyMixerMessage()], | ||
CHANNEL_NAME: [emptyMixerMessage()], | ||
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_OUT_GAIN: [{ mixerMessage: '/dmxis/ch/{channel}', value: 0, type: 'f', min: 0, max: 1, zero: 0.75}], | ||
CHANNEL_NAME: [{ mixerMessage: '/dmxis/ch/name/{channel}', value: 0, type: 'f', min: 0, max: 1, zero: 0.75}], | ||
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: 1, | ||
zero: 0.75, | ||
step: 0.01, | ||
}, | ||
meter: { | ||
min: 0, | ||
max: 1, | ||
zero: 0.75, | ||
test: 0.6, | ||
}, | ||
} | ||
import { IMixerProtocol, emptyMixerMessage } from '../MixerProtocolInterface' | ||
|
||
export const DMXIS: IMixerProtocol = { | ||
protocol: 'OSC', | ||
label: 'DMXIS Light Controller Protocol', | ||
presetFileExtension: '', | ||
FADE_DISPATCH_RESOLUTION: 5, | ||
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: '#3f2f2f', | ||
fromMixer: { | ||
CHANNEL_OUT_GAIN: [ | ||
{ | ||
mixerMessage: '/dmxis/ch/{channel}', | ||
value: 0, | ||
type: 'f', | ||
min: 0, | ||
max: 1, | ||
zero: 0.75, | ||
}, | ||
], | ||
CHANNEL_VU: [emptyMixerMessage()], | ||
CHANNEL_VU_REDUCTION: [emptyMixerMessage()], | ||
CHANNEL_NAME: [emptyMixerMessage()], | ||
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_OUT_GAIN: [ | ||
{ | ||
mixerMessage: '/dmxis/ch/{channel}', | ||
value: 0, | ||
type: 'f', | ||
min: 0, | ||
max: 1, | ||
zero: 0.75, | ||
}, | ||
], | ||
CHANNEL_NAME: [ | ||
{ | ||
mixerMessage: '/dmxis/ch/name/{channel}', | ||
value: 0, | ||
type: 'f', | ||
min: 0, | ||
max: 1, | ||
zero: 0.75, | ||
}, | ||
], | ||
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: 1, | ||
zero: 0.75, | ||
step: 0.01, | ||
}, | ||
meter: { | ||
min: 0, | ||
max: 1, | ||
zero: 0.75, | ||
test: 0.6, | ||
}, | ||
} |
Oops, something went wrong.