Skip to content

Commit

Permalink
Update index.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
sethbrasile committed Sep 24, 2024
1 parent 13928fd commit a57e02b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/pages/audio-files/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import { initAudio, createSound } from 'ez-web-audio'
const url = 'https://raw.githubusercontent.com/mudcube/MIDI.js/master/examples/soundfont/acoustic_grand_piano-mp3/B5.mp3'
// Sounds can be created in advance, but they won't be playable until after \`initAudio\` is called
// Sounds can be created in advance, but they won't be playable until after the end user has interacted with the page
const leftNote = createSound('Eb5.mp3').then(note => note.changePanTo(-0.7))
const rightNote = createSound(url).then(note => note.changePanTo(0.7))
Expand Down

0 comments on commit a57e02b

Please sign in to comment.