Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow clickable notes #1

Open
3 tasks
joereynolds opened this issue Apr 29, 2024 · 1 comment
Open
3 tasks

Allow clickable notes #1

joereynolds opened this issue Apr 29, 2024 · 1 comment

Comments

@joereynolds
Copy link
Owner

You should be able to:

  • - Click on Sa, Ri etc... and hear the note
  • - Click on the formula 1 2 3 4... and hear the note
  • - Click on the note C D E F... and hear the note
@joereynolds
Copy link
Owner Author

Thought of an easy-ish way to do this.
Give each one a data-note data attribute and then target that in the js kinda like

document.querySelectorAll([data-note]).foreach(() => {
    play the clicked note
});

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant