From 5a76bc93b89727e327ac55982597002431e41437 Mon Sep 17 00:00:00 2001 From: Felix Roos Date: Sun, 31 Dec 2023 14:19:16 +0100 Subject: [PATCH] rename default dict to legacy --- packages/tonal/voicings.mjs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/tonal/voicings.mjs b/packages/tonal/voicings.mjs index 7278bc78..d2c5871c 100644 --- a/packages/tonal/voicings.mjs +++ b/packages/tonal/voicings.mjs @@ -51,7 +51,7 @@ const triads = { aug: ['1P 3m 5A', '3m 5A 8P', '5A 8P 10m'], }; -const defaultDictionary = { +const legacyDictionary = { // triads '': ['1P 3M 5P', '3M 5P 8P', '5P 8P 10M'], M: ['1P 3M 5P', '3M 5P 8P', '5P 8P 10M'], @@ -77,7 +77,7 @@ export const voicingRegistry = { lefthand: { dictionary: lefthand, range: ['F3', 'A4'], mode: 'below', anchor: 'a4' }, triads: { dictionary: triads, mode: 'below', anchor: 'a4' }, guidetones: { dictionary: guidetones, mode: 'above', anchor: 'a4' }, - default: { dictionary: defaultDictionary, mode: 'below', anchor: 'a4' }, + legacy: { dictionary: legacyDictionary, mode: 'below', anchor: 'a4' }, }; export const setVoicingRange = (name, range) => addVoicings(name, voicingRegistry[name].dictionary, range);