Skip to content

Commit

Permalink
fix soundfont notes starting location
Browse files Browse the repository at this point in the history
  • Loading branch information
sethbrasile committed Sep 24, 2024
1 parent e9aba71 commit 109c93c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/pages/sound-fonts/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ const codeExample = `
// piano.js is a soundfont created with MIDI.js' Ruby-based soundfont converter
const piano = await createFont('/ez-web-audio/piano.js')
// Slicing just so the whole keyboard doesn't show up on the screen
const notes = piano.notes.slice(39, 51)
const notes = piano.notes.slice(43, 55)
notes.forEach((note: Note) => {
const key = document.createElement('li')
Expand Down

0 comments on commit 109c93c

Please sign in to comment.