Skip to content

Commit

Permalink
fix: remove "E#" from MIDI notes (E# = F)
Browse files Browse the repository at this point in the history
oops!
  • Loading branch information
ascpixi committed Dec 23, 2024
1 parent 2831034 commit f2a1480
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions src/audioUtil.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,13 @@ export const MIDI_NOTES = {
/** D */ D : 2,
/** D# */ Ds: 3,
/** E */ E : 4,
/** E# */ Es: 5,
/** F */ F : 6,
/** F# */ Fs: 7,
/** G */ G : 8,
/** G# */ Gs: 9,
/** A */ A : 10,
/** A# */ As: 11,
/** B */ B : 12
/** F */ F : 5,
/** F# */ Fs: 6,
/** G */ G : 7,
/** G# */ Gs: 8,
/** A */ A : 9,
/** A# */ As: 10,
/** B */ B : 11
} as const;

/** Represents all notes in the chromatic scale. */
Expand Down

0 comments on commit f2a1480

Please sign in to comment.