-
Notifications
You must be signed in to change notification settings - Fork 14
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
return notes position #75
Comments
Hi Marilena, I can think of three different things 'position' might mean :) And I think you mean position of note and not key signature. I'll try to answer for each.
I hope it helps. I'm honored that you're using my thing in your work. |
Hi Aaron, thanks for your reply, and apologies for not being clear. When the user submits the form, I need to collect an object that includes (a) the sequence of pitches and (b) the sharp accidentals only (if any). I managed to get the the sequence of pitches (see screenshot) I need to perform the search on the dataset (this was my original question, I hoped there was an out-of-the-box method to get it), and it is automatically updated if the user moves left/right. I'm using
Below my tentative code so far.
Thank you for your help! |
I admit I have no idea why you are doing this :) but, if you want to force a sharp you could just go:
Or toggle the sharp, read the value first and set 'n' for natural and '#' for sharp, etc.. Edit: to access the score directly: |
I was trying your nice demo
https://codepen.io/aarondavidnewman/pen/WNoRqgg
and I'd like to reuse the library to create a simple melodic search.
I have a question. When my user submits, how can I get the final list of keys and their position in the score?
Thanks in advance, it would save me some time!
The text was updated successfully, but these errors were encountered: