Skip to content

Commit

Permalink
fix: forgot to add new files in new location on last commit.
Browse files Browse the repository at this point in the history
  • Loading branch information
olzzon committed Jun 1, 2019
1 parent ace0e04 commit b6e24ab
Show file tree
Hide file tree
Showing 8 changed files with 491 additions and 7 deletions.
14 changes: 7 additions & 7 deletions src/constants/MixerProtocolPresets.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import { ArdourMaster } from './protocols/ardourMaster';
import { Reaper } from './protocols/reaper';
import { BehringerXrMaster } from './protocols/behringerXrMaster';
import { BehringerXrClient } from './protocols/behringerXrClient';
import { MidasMaster } from './protocols/midasMaster';
import { MidasClient } from './protocols/midasClient';
import { GenericMidi } from './protocols/genericMidi';
import { ArdourMaster } from './mixerProtocols/ardourMaster';
import { Reaper } from './mixerProtocols/reaper';
import { BehringerXrMaster } from './mixerProtocols/behringerXrMaster';
import { BehringerXrClient } from './mixerProtocols/behringerXrClient';
import { MidasMaster } from './mixerProtocols/midasMaster';
import { MidasClient } from './mixerProtocols/midasClient';
import { GenericMidi } from './mixerProtocols/genericMidi';

export interface IMixerProtocol {
protocol: string,
Expand Down
62 changes: 62 additions & 0 deletions src/constants/mixerProtocols/ardourMaster.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
import { IMixerProtocol } from '../MixerProtocolPresets';

export const ArdourMaster: IMixerProtocol = {
protocol: 'OSC',
label: 'Ardour DAW - Master Mode',
mode: "master", //master (ignores mixers faderlevel, and use faderlevel as gain preset),
//client (use feedback from mixers fader level)
leadingZeros: false,
pingCommand: [
{
oscMessage: "/strip/list",
value: "",
type: ""
}
],
pingTime: 9500,
initializeCommands: [
{
oscMessage: "/strip/list",
value: "",
type: ""
}
],
fromMixer: {
CHANNEL_FADER_LEVEL: 'none', //'none' ignores this command
CHANNEL_OUT_GAIN: '/strip/fader/{channel}',
CHANNEL_VU: '/strip/meter/{channel}',
CHANNEL_NAME: '/strip/name/{channel}',
GRP_OUT_GAIN: 'todo',
GRP_VU: 'none',
GRP_NAME: 'todo',
PFL: 'todo'
},
toMixer: {
CHANNEL_FADER_LEVEL: 'none',
CHANNEL_OUT_GAIN: '/strip/fader/{channel}',
GRP_OUT_GAIN: 'todo',
PFL_ON: {
oscMessage: "/not_in_use",
value: 0,
type: "f"
},
PFL_OFF: {
oscMessage: "/not_in_use",
value: 0,
type: "f"
}
},
fader: {
min: 0,
max: 1,
zero: 0.75,
step: 0.01,
fadeTime: 40,
},
meter: {
min: 0,
max: 1,
zero: 0.85,
test: 0.75,
},
}
72 changes: 72 additions & 0 deletions src/constants/mixerProtocols/behringerXrClient.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
import { IMixerProtocol } from '../MixerProtocolPresets';

export const BehringerXrClient: IMixerProtocol = {
protocol: 'OSC',
label: 'Behringer XR 12,14,16 Clientmode',
mode: "client", //master (ignores mixers faderlevel, and use faderlevel as gain preset),
//client (use feedback from mixers fader level)
leadingZeros: true,
pingCommand: [
{
oscMessage: "/xremote",
value: 0,
type: "f"
},
{
oscMessage: "/meters",
value: "/meters/1",
type: "s"
},
{
oscMessage: "/meters",
value: "/meters/5",
type: "s"
}
],
pingTime: 9500,
initializeCommands: [
{
oscMessage: "/info",
value: 0,
type: "f"
}
],
fromMixer: {
CHANNEL_FADER_LEVEL: '/ch/{channel}/mix/fader', //'none' ignores this command
CHANNEL_OUT_GAIN: '/ch/{channel}/mix/01/level',
CHANNEL_VU: '/meters/1',
CHANNEL_NAME: '/ch/{channel}/config/name',
GRP_VU: 'none',
GRP_NAME: '/dca/{channel}/config/name',
GRP_OUT_GAIN: '/dca/{channel}/fader',
PFL: 'todo'
},
toMixer: {
CHANNEL_FADER_LEVEL: '/ch/{channel}/mix/fader',
CHANNEL_OUT_GAIN: '/ch/{channel}/mix/01/level',
GRP_OUT_GAIN: '/dca/{channel}/fader',
PFL_ON: {
oscMessage: "/not_in_use",
value: 0,
type: "f"
},
PFL_OFF: {
oscMessage: "/not_in_use",
value: 0,
type: "f"
}
},
fader: {
min: 0,
max: 1,
zero: 0.75,
step: 0.01,
fadeTime: 40,
},
meter: {
min: 0,
max: 1,
zero: 0.75,
test: 0.6,
},
}
72 changes: 72 additions & 0 deletions src/constants/mixerProtocols/behringerXrMaster.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
import { IMixerProtocol } from '../MixerProtocolPresets';

export const BehringerXrMaster: IMixerProtocol = {
protocol: 'OSC',
label: 'Behringer XR 12,14,16 Mastermode',
mode: "master", //master (ignores mixers faderlevel, and use faderlevel as gain preset),
//client (use feedback from mixers fader level)
leadingZeros: true,
pingCommand: [
{
oscMessage: "/xremote",
value: 0,
type: "f"
},
{
oscMessage: "/meters",
value: "/meters/1",
type: "s"
},
{
oscMessage: "/meters",
value: "/meters/5",
type: "s"
}
],
pingTime: 9500,
initializeCommands: [
{
oscMessage: "/info",
value: 0,
type: "f"
}
],
fromMixer: {
CHANNEL_FADER_LEVEL: 'none', //'none' ignores this command
CHANNEL_OUT_GAIN: '/ch/{channel}/mix/fader',
CHANNEL_VU: '/meters/1',
CHANNEL_NAME: '/ch/{channel}/config/name',
GRP_OUT_GAIN: '/dca/{channel}/fader',
GRP_VU: 'none',
GRP_NAME: '/dca/{channel}/config/name',
PFL: 'todo'
},
toMixer : {
CHANNEL_FADER_LEVEL: 'none',
CHANNEL_OUT_GAIN: '/ch/{channel}/mix/fader',
GRP_OUT_GAIN: '/dca/{channel}/fader',
PFL_ON: {
oscMessage: "/not_in_use",
value: 0,
type: "f"
},
PFL_OFF: {
oscMessage: "/not_in_use",
value: 0,
type: "f"
}
},
fader: {
min: 0,
max: 1,
zero: 0.75,
step: 0.01,
fadeTime: 40,
},
meter: {
min: 0,
max: 1,
zero: 0.75,
test: 0.6,
}
}
62 changes: 62 additions & 0 deletions src/constants/mixerProtocols/genericMidi.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
import { IMixerProtocol } from '../MixerProtocolPresets';

export const GenericMidi: IMixerProtocol = {
protocol: 'MIDI',
label: 'Generic Midi',
mode: "client", //master (ignores mixers faderlevel, and use faderlevel as gain preset),
//client (use feedback from mixers fader level)
leadingZeros: false,
pingCommand: [
{
oscMessage: "/note_in_use",
value: 0,
type: "f"
}
],
pingTime: 0,
initializeCommands: [
{
oscMessage: "/note_in_use",
value: 0,
type: "f"
}
],
fromMixer: {
CHANNEL_FADER_LEVEL: "39", //PgmChange 0 - ignores this command
CHANNEL_OUT_GAIN: "0", //PgmChange 0 - ignores this command
CHANNEL_VU: "0", //PgmChange 0 - ignores this command
CHANNEL_NAME: 'some sysex not yet build',
GRP_OUT_GAIN: 'none',
GRP_VU: 'none',
GRP_NAME: 'none',
PFL: 'todo'
},
toMixer: {
CHANNEL_FADER_LEVEL: "39",
CHANNEL_OUT_GAIN: "38",
GRP_OUT_GAIN: 'none',
PFL_ON: {
oscMessage: "/not_in_use",
value: 0,
type: "f"
},
PFL_OFF: {
oscMessage: "/not_in_use",
value: 0,
type: "f"
}
},
fader: {
min: 0,
max: 127,
zero: 100,
step: 1,
fadeTime: 40,
},
meter: {
min: 0,
max: 127,
zero: 100,
test: 80,
},
}
82 changes: 82 additions & 0 deletions src/constants/mixerProtocols/midasClient.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,82 @@
import { IMixerProtocol } from '../MixerProtocolPresets';

export const MidasClient: IMixerProtocol = {
protocol: 'OSC',
label: 'Midas M32 / Behringer X32 Client Mode',
mode: "client", //master (ignores mixers faderlevel, and use faderlevel as gain preset),
//client (use feedback from mixers fader level)
leadingZeros: true,
pingCommand: [
{
oscMessage: "/xremote",
value: 0,
type: "f"
},
{
oscMessage: "/meters",
value: "/meters/1",
type: "s"
},
{
oscMessage: "/meters",
value: "/meters/5",
type: "s"
}
],
pingTime: 9500,
initializeCommands: [
{
oscMessage: '/ch/{channel}/mix/fader',
value: "",
type: "s"
},
{
oscMessage: '/ch/{channel}/mix/01/level',
value: "",
type: "s"
},
{
oscMessage: '/ch/{channel}/config/name',
value: "",
type: "s"
}
],
fromMixer: {
CHANNEL_FADER_LEVEL: '/ch/{channel}/mix/fader', //'none' ignores this command
CHANNEL_OUT_GAIN: '/ch/{channel}/mix/01/level',
CHANNEL_VU: '/meters/1',
CHANNEL_NAME: '/ch/{channel}/config/name',
GRP_OUT_GAIN: '/dca/{channel}/mix/01/level',
GRP_VU: 'none',
GRP_NAME: '/dca/{channel}/config/name',
PFL: 'todo'
},
toMixer: {
CHANNEL_FADER_LEVEL: '/ch/{channel}/mix/fader',
CHANNEL_OUT_GAIN: '/ch/{channel}/mix/01/level',
GRP_OUT_GAIN: '/dca/{channel}/mix/01/level',
PFL_ON: {
oscMessage: "/not_in_use",
value: 0,
type: "f"
},
PFL_OFF: {
oscMessage: "/not_in_use",
value: 0,
type: "f"
}
},
fader: {
min: 0,
max: 1,
zero: 0.75,
step: 0.01,
fadeTime: 40,
},
meter: {
min: 0,
max: 1,
zero: 0.75,
test: 0.6,
},
}
Loading

0 comments on commit b6e24ab

Please sign in to comment.