diff --git a/packages/client/src/routes/(site)/+page.svelte b/packages/client/src/routes/(site)/+page.svelte index 4e17cd5..8faf518 100644 --- a/packages/client/src/routes/(site)/+page.svelte +++ b/packages/client/src/routes/(site)/+page.svelte @@ -33,7 +33,7 @@ import type { NoteMessageEvent } from 'webmidi' import { GuessChords, GuessKeys, GuessNotes } from '@/games' - import { getNoteAbsolute, getRootNote } from '@/chords-and-scales' + import { getNote, getNoteAbsolute, getRootNote } from '@/chords-and-scales' import { keyboardActions } from '$stores/keyboard' let timeout: ReturnType | undefined @@ -217,7 +217,7 @@
{getNoteAbsolute($midiRangeNotes[0])}
-
{getNoteAbsolute($midiRangeNotes[1])}
+
{getNoteAbsolute(getNote($midiRange[0] + 23))}
inputsActions.shiftMidiRange(true)} />