feat(control): extended global action choices
CI build oscope-of / build-check (push) Has been cancelled
CI build oscope-of / build-check (push) Has been cancelled
This commit is contained in:
@@ -66,6 +66,9 @@ export const GLOBAL_ACTION_CHOICES = [
|
||||
{ id: "none", label: "—" }, { id: "fill", label: "Fill" },
|
||||
{ id: "drop", label: "Drop" }, { id: "breakdown", label: "Breakdown" },
|
||||
{ id: "evolve", label: "Relance + evolve" },
|
||||
{ id: "muteDrums", label: "Mute drums" }, { id: "muteMelo", label: "Mute mélo" },
|
||||
{ id: "doubleTime", label: "Double-time" }, { id: "halfTime", label: "Half-time" },
|
||||
{ id: "washReverb", label: "Wash reverb" }, { id: "next", label: "Suivant" },
|
||||
];
|
||||
export const GLOBAL_SLOTS = [
|
||||
{ key: 0, label: "Main G ouverte" }, { key: 1, label: "Main G fermée" },
|
||||
|
||||
@@ -140,3 +140,9 @@ test("parseGlobalSettings decodes the OSC arg layout", () => {
|
||||
assert.equal(s.transientBars, 3);
|
||||
assert.deepEqual(s.breakdownKeep, ["kick", "snare"]);
|
||||
});
|
||||
|
||||
test("extended action choices include phase-2 actions", () => {
|
||||
const ids = GLOBAL_ACTION_CHOICES.map((c) => c.id);
|
||||
for (const id of ["muteDrums", "muteMelo", "doubleTime", "halfTime", "washReverb", "next"])
|
||||
assert.ok(ids.includes(id), `missing action ${id}`);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user