add revv() for reversing whole patterns

This commit is contained in:
Alex McLean 2025-11-27 15:34:18 +00:00
parent d5d6284a90
commit f4b1baac87
3 changed files with 43 additions and 1 deletions

View file

@ -9256,6 +9256,19 @@ exports[`runs examples > example "rev" example index 0 1`] = `
]
`;
exports[`runs examples > example "rev" example index 0 2`] = `
[
"[ 0/1 → 1/2 | note:g ]",
"[ 1/2 → 1/1 | note:e ]",
"[ 1/1 → 3/2 | note:d ]",
"[ 3/2 → 2/1 | note:c ]",
"[ 2/1 → 5/2 | note:g ]",
"[ 5/2 → 3/1 | note:e ]",
"[ 3/1 → 7/2 | note:d ]",
"[ 7/2 → 4/1 | note:c ]",
]
`;
exports[`runs examples > example "ribbon" example index 0 1`] = `
[
"[ 0/1 → 1/1 | note:d ]",