Replies: 1 comment 6 replies
-
Hi, it is the player.addEventListener("note", (event) => console.log(event.detail.note)); If it's still not working, please share your code (your screenshot failed to upload). |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi Cifkao, thank you so much for this amazing gift. I want to be able to display the notes played on a custom HTML and CSS model of the instrument (much like the midi-visualizer). Please which of the player event returns the current notes being played? I've tried
player.addEventListener('note', listener)
andplayer.addEventListener('playing', listener)
but none of them works.How do I achieve that?
Beta Was this translation helpful? Give feedback.
All reactions