Skip to content

Commit ffeda19

Browse files
committed
snapshots + fix default anchor for lefthand
1 parent 70fe8f1 commit ffeda19

File tree

3 files changed

+3838
-3889
lines changed

3 files changed

+3838
-3889
lines changed

packages/tonal/voicings.mjs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,9 @@ const triads = {
5151
};
5252

5353
export const voicingRegistry = {
54-
lefthand: { dictionary: lefthand, range: ['F3', 'A4'], mode: 'below', anchor: 'c5' },
55-
triads: { dictionary: triads, mode: 'below', anchor: 'c5' },
56-
guidetones: { dictionary: guidetones, mode: 'above', anchor: 'g4' },
54+
lefthand: { dictionary: lefthand, range: ['F3', 'A4'], mode: 'below', anchor: 'a4' },
55+
triads: { dictionary: triads, mode: 'below', anchor: 'a4' },
56+
guidetones: { dictionary: guidetones, mode: 'above', anchor: 'a4' },
5757
};
5858
export const setVoicingRange = (name, range) => addVoicings(name, voicingRegistry[name].dictionary, range);
5959

test/__snapshots__/examples.test.mjs.snap

Lines changed: 0 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -4415,31 +4415,6 @@ exports[`runs examples > example "vowel" example index 0 1`] = `
44154415
]
44164416
`;
44174417

4418-
exports[`runs examples > example "webdirt" example index 0 1`] = `
4419-
[
4420-
"[ 0/1 → 1/8 | s:bd n:0 ]",
4421-
"[ 1/8 → 1/4 | s:bd n:0 ]",
4422-
"[ 1/4 → 1/2 | s:hh n:0 ]",
4423-
"[ 1/2 → 3/4 | s:sd n:0 ]",
4424-
"[ 3/4 → 1/1 | s:hh n:0 ]",
4425-
"[ 1/1 → 9/8 | s:bd n:1 ]",
4426-
"[ 9/8 → 5/4 | s:bd n:1 ]",
4427-
"[ 5/4 → 3/2 | s:hh n:1 ]",
4428-
"[ 3/2 → 7/4 | s:sd n:1 ]",
4429-
"[ 7/4 → 2/1 | s:hh n:1 ]",
4430-
"[ 2/1 → 17/8 | s:bd n:0 ]",
4431-
"[ 17/8 → 9/4 | s:bd n:0 ]",
4432-
"[ 9/4 → 5/2 | s:hh n:0 ]",
4433-
"[ 5/2 → 11/4 | s:sd n:0 ]",
4434-
"[ 11/4 → 3/1 | s:hh n:0 ]",
4435-
"[ 3/1 → 25/8 | s:bd n:1 ]",
4436-
"[ 25/8 → 13/4 | s:bd n:1 ]",
4437-
"[ 13/4 → 7/2 | s:hh n:1 ]",
4438-
"[ 7/2 → 15/4 | s:sd n:1 ]",
4439-
"[ 15/4 → 4/1 | s:hh n:1 ]",
4440-
]
4441-
`;
4442-
44434418
exports[`runs examples > example "when" example index 0 1`] = `
44444419
[
44454420
"[ 0/1 → 1/3 | note:c3 ]",

0 commit comments

Comments
 (0)