forked from tv2/sisyfos-audio-controller
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Update gain level in redux store so a change of volume while fad…
…ing doesn´t jump back to gain from before last fade start feat: Reaper Master mode (mainly for testing)
- Loading branch information
Showing
3 changed files
with
82 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
import { IMixerProtocol } from '../MixerProtocolPresets'; | ||
|
||
export const ReaperMaster: IMixerProtocol = { | ||
protocol: 'OSC', | ||
label: 'Reaper DAW Master mode(reaper.fm)', | ||
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: [ | ||
{ | ||
oscMessage: "/note_in_use", | ||
value: 0, | ||
type: "f" | ||
} | ||
], | ||
pingTime: 0, //Bypass ping when pingTime is zero | ||
initializeCommands: [ | ||
{ | ||
oscMessage: "/note_in_use", | ||
value: 0, | ||
type: "f" | ||
} | ||
], | ||
fromMixer: { | ||
CHANNEL_FADER_LEVEL: 'none', | ||
CHANNEL_OUT_GAIN: '/track/{channel}/volume', | ||
CHANNEL_VU: '/track/{channel}/vu', | ||
CHANNEL_NAME: '/track/{channel}/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: '/track/{channel}/volume', | ||
GRP_OUT_GAIN: '/dca/{channel}/fader', | ||
PFL_ON: { | ||
oscMessage: "/track/{channel}/solo", | ||
value: 1, | ||
type: "i" | ||
}, | ||
PFL_OFF: { | ||
oscMessage: "/track/{channel}/solo", | ||
value: 0, | ||
type: "i" | ||
} | ||
}, | ||
fader: { | ||
min: 0, | ||
max: 1, | ||
zero: 0.75, | ||
step: 0.01, | ||
fadeTime: 40, //Total time for a fade in ms. | ||
}, | ||
meter: { | ||
min: 0, | ||
max: 1, | ||
zero: 0.75, | ||
test: 0.6, | ||
}, | ||
} |
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