Implement parsing for output compressor and sidechain effects state
This commit is contained in:
@@ -60,11 +60,30 @@ export type ScenesSettings = {
|
||||
timeSignature: TimeSignature;
|
||||
};
|
||||
|
||||
export type OutputCompressorSettings = {
|
||||
drive: number;
|
||||
speed: number;
|
||||
};
|
||||
|
||||
export type SidechainGroupRouting = {
|
||||
rawValue: number;
|
||||
sourcePadMask: number;
|
||||
duckedDestination: boolean;
|
||||
};
|
||||
|
||||
export type SidechainSettings = {
|
||||
length: number;
|
||||
shape: number;
|
||||
routing?: Record<Group, SidechainGroupRouting>;
|
||||
};
|
||||
|
||||
export type Effects = {
|
||||
rawData: Uint8Array;
|
||||
effectType: EffectType;
|
||||
param1: number;
|
||||
param2: number;
|
||||
outputCompressor?: OutputCompressorSettings;
|
||||
sidechain?: SidechainSettings;
|
||||
};
|
||||
|
||||
export type Pattern = {
|
||||
|
||||
Reference in New Issue
Block a user