Update test cases to use PAN fader parameter instead of REL for automation testing
This commit is contained in:
@@ -36,7 +36,7 @@ const occurrence: AblGroupPatternOccurrence = {
|
|||||||
timeSignature: { numerator: 4, denominator: 4 },
|
timeSignature: { numerator: 4, denominator: 4 },
|
||||||
faderParams,
|
faderParams,
|
||||||
faderAutomation: [
|
faderAutomation: [
|
||||||
{ parameter: FaderParam.REL, position: 96, value: 0.75, flags: 0 },
|
{ parameter: FaderParam.PAN, position: 96, value: 0.75, flags: 0 },
|
||||||
{ parameter: FaderParam.VEL, position: 192, value: 0.5, flags: 0 },
|
{ parameter: FaderParam.VEL, position: 192, value: 0.5, flags: 0 },
|
||||||
],
|
],
|
||||||
};
|
};
|
||||||
@@ -58,7 +58,7 @@ test('preserves each pad pitch offset while applying group PTC automation', () =
|
|||||||
test('tiles arrangement automation across the scene length', () => {
|
test('tiles arrangement automation across the scene length', () => {
|
||||||
const envelopes = buildArrangementEnvelopes(
|
const envelopes = buildArrangementEnvelopes(
|
||||||
[occurrence],
|
[occurrence],
|
||||||
{ [FaderParam.REL]: [{ arrangement: 22000 }] },
|
{ [FaderParam.PAN]: [{ arrangement: 22000 }] },
|
||||||
track,
|
track,
|
||||||
false,
|
false,
|
||||||
);
|
);
|
||||||
@@ -77,7 +77,7 @@ test('tiles arrangement automation across the scene length', () => {
|
|||||||
test('uses absolute automation targets for Session clip envelopes', () => {
|
test('uses absolute automation targets for Session clip envelopes', () => {
|
||||||
const envelopes = buildClipEnvelopes(
|
const envelopes = buildClipEnvelopes(
|
||||||
occurrence,
|
occurrence,
|
||||||
{ [FaderParam.REL]: [{ session: 23000 }] },
|
{ [FaderParam.PAN]: [{ session: 23000 }] },
|
||||||
track,
|
track,
|
||||||
false,
|
false,
|
||||||
);
|
);
|
||||||
|
|||||||
@@ -239,9 +239,7 @@ test('serializes nested Live 10 Simplers without artificial empty Session clips'
|
|||||||
(match) => match[0],
|
(match) => match[0],
|
||||||
);
|
);
|
||||||
assert.ok(
|
assert.ok(
|
||||||
simplerBlocks.every((simpler) =>
|
simplerBlocks.every((simpler) => /<FadeInTime>[\s\S]*?<Manual Value="0"\s*\/>/.test(simpler)),
|
||||||
/<FadeInTime>[\s\S]*?<Manual Value="0"\s*\/>/.test(simpler),
|
|
||||||
),
|
|
||||||
);
|
);
|
||||||
assert.ok(
|
assert.ok(
|
||||||
simplerBlocks.every((simpler) =>
|
simplerBlocks.every((simpler) =>
|
||||||
|
|||||||
Reference in New Issue
Block a user