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
Solmization added #570
Solmization added #570
Conversation
( ref #302 ) thanks for looking into this :) Then the question would be how these solmizations are actually used. Should they be usable as part of note? Like this: note("do re mi fa") But... if everything is inside note, there could be naming collisions, for example "B" in german is "Bb" in the english notation. Maybe a dedicated control function sol("do re mi fa") There could be one control function per type (so there would be Or maybe, instead of adding one function for each type (or in addition to), there could just be sol("[A B C D]:german") This is just me thinking out loud.. What do you think? |
i think the test file should work now! i made it into vitest form. |
great!
you can add new controls to |
I am just reading about indian note systems. there is a system of 12 notes called svaras: https://en.wikipedia.org/wiki/Svara they have slight regional differences. At first sight, the most friendly in terms of textual notation is the carnatic one: https://en.wikipedia.org/wiki/Svara#Svaras_in_Carnatic_music (see Mnemonic). The Hindustani system normally has underlines to denote flats. In some corners of the internet they are notated uppercase / lowercase: Sa re Re ga Ga Ma ma Pa dha Dha ni Ni. You also see only single letters sometimes: S r R g G M m P d D n N It probably makes sense to ask actual indian classical musicians about that.. It also does not seem to be a 1:1 mapping for 12 equal divisions of the octave... edit: added some more research notes to the issue |
@dariacotocu do you want to develop this further or should we merge the midi2note function as is to be developed further in a later PR? |
i can try looking into it further, but i would not mind you merging the midi2note function to be developed further! when i get some free time i would love to look into the issue again and think about it more in-depth :) thank you |
ok, I'll merge it now, otherwise it'll get too many diffs later.. There was already a little conflict, which should now be fixed (I moved your logic to a new function called sol2note).
thank you! when you're looking into it again, feel free to send another PR |
Added alternative solmization types for the notes. I added to the code : solfege, german, indian, byzantine and japanese.
Also created a file in order to test if it works with the terminal.