-
Notifications
You must be signed in to change notification settings - Fork 669
Add support for all quarter tone accidentals #318
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
Comments
Oh I didn't find hat in the documentation. It would be great if you would direct me to where these are explained (this can benefit those who find this thread in the future too). I am going to modify the title of this issue and amend the original request; the only thing that is left to done is to add support for the oriental signs (links to which were provided above). |
Documentation is way behind. Best place to learn about how to use the API is the It looks like the Oriental accidentals links you provided are in Arabic. Do you have any english text that I can read? |
That page is not in Arabic, it is in Persian. But both languages use similar scripts! You can ready more about it on this web page: https://sites.google.com/site/240edo/about24-edo The person who invented this notation, Ali-Naghi Vaziri, was an influential musocologist from Iran. Iranian music system very frequently uses quarter tones (in its Dastagh's). My intention, to be honest, is to use VoxFlow to create notations for each of these Dastgah's, based on Vaziri's book and other books (such as this one published by Hormoz Farhat in English) and upload to English Wikipedia to expand those relevant articles. |
I have the same question for arabic and turkish maqam and i want help with it, use the same symbols that Mus2. |
@SalahAdDin you are absolutely correct. The maqam's are shared between Arabic, Turkish, and Persian music, and have had influences on other Mediterranean music too. The notation requested above can be essential for notation of these music genres. |
Yes, i have a two papers about it, we need six accidentals more i think, if you want i can put here. |
@SalahAdDin please provide a link to the papers and/or a screenshot that shows and explains the six accidentals. |
I hope that this aren't bad, you can see a example here: http://www.mus2.com.tr/explore/ |
Hello! This is Assoc. Prof. Dr. Ozan Yarman from Istanbul specializing in maqam music theory (tunings/tone-systems) and music technology applications (DAW pitch bends, scale tuning files and the like). I had communicated along the same lines with Mohit Muhanna in a personal e-mail correspondance dated 27 March 2013. The official tone-systems for the Arabic, Persian and Turkish main branches of Maqam music, while purporting to represent the needed microtonal pitches on paper and in practice, will undoubtedly fail in several critical/problematic scales or modes when played in exact by computer software. For a synposis of the intonation situation, please refer to the intro section of our publication: http://www.ozanyarman.com/files/Yarman36.pdf where we say: "... it is impossible to perform authentic music in such modes based on the standardized 24 pitches to the octave systems of the diametrically opposed cultures of the geography, without detuning the strings, adding or shifting frets as required, or employing an ad hoc (e.g., unmethodical) mandal configuration." The article above highlights one of the tuning solutions I proposed, with the pertinent accidentals font downloadable here: http://www.ozanyarman.com/files/Yarman36.ttf Calculations and videos are accessible below (in Turkish, with Google Translate to English option): http://www.ozanyarman.com/yarman36.html Other solutions by me include a 79-tone qanun tuning I expounded in my doctorate dissertation and explained in the links below: http://www.ozanyarman.com/files/doctorate_thesis.pdf My latest alternative tuning suggestion is a light-weight replacement of the official Arel-Ezgi-Uzdilek (AEU) 24-tone Pythagorean tone-system for Turkish Art music, while relying on the same array of accustomed accidentals. Yarman-24a, which was the first variant as an AEU substitute was compared to histogram measurements of live recordings and came out to be the best match: http://www.ozanyarman.com/files/theoryVSpractice.pdf An improved Yarman-24c variant is demonstrated in these youtube videos: https://www.youtube.com/watch?v=fP1elrsk5QM (on bowed tanbur) Notice that, Andrew McPherson, the designer and inventor of TouchKeys, has already incorporated Yarman-24c among the experimental tuning mapping options in his control software. Should there be any need to expand the microtonal capabilities of VexFlow with results that would more-or-less satisfy Maqam music enthusiasts intonation-wise, do please get in contact with me personally or in group e-mail correspondence: May VexFlow, Cordially, |
@SalahAdDin Thanks for the articles; really good reads. However, in both those articles, the Western notation for quarter-tones is used. VexFlow already supports those accidentals (which include half-sharp, sharpt-and-a-half, half-flat, and flat-and-a-half). See the first comment from @0xfe above. @ozanyarman Thanks for your comment as well. Very informative. But what you focus on here is about issues relating to microtonal music "when played in exact by computer software". VexFlow is not a tool for playing music in computers, it is a tool for annotation of music. Imagine if you want to write a online book (or an article like those posted by @SalahAdDin); you need a way to write the musical annotation for the Maqams. VexFlow allows you to do that (and just that) in HTML5. @0xfe it is becoming apparant to me that the Turkish music may be using the western quarter-tone accidentals for notation. Therefore I am going to, yet again, change the request here and specify the need for Iranian accidentals. |
You're welcome. Please note that Arel-Ezgi-Uzdilek tone-system utilizes the array of accidentals given in page 39, Fig. 3.6 of my doctoral dissertation: http://www.ozanyarman.com/files/doctorate_thesis.pdf Compare with the older Rauf Yekta notation in the table on the same page. Pages 33 and 36 delineate AEU and Yekta-24 notations in full respectively. Page 80, Fig. 4.13 demonstrates the 20th Century contender tone-system by Ekrem Karadeniz, which encapsulates 41 pitches per octave out of 106 equal divisions of the octave. There are a significant number of scores written in each of the tone-systems mentioned above, while AEU is the official notation system in circulation today. Dr. Oz. |
Hi Folks, I'm open to adding new accidentals if that will help. I don't know a lot about microtonal music, so what I will need is some agreement on what is missing and what should be added. In particular:
If someone wants to take this on and send me a PR, that would be great too. Thanks. |
The scope of this issue has been narrowed down to Iranian quarter tone accidentals. In that context, the answers are:
And I will happily fork and create a PR (once I know how to deal with the fonts). |
The most commonly used AEU accidentals in Classical Turkish music notation are: +1 comma = irha / komma diyezi (comma sharp) -1 comma = irha / komma bemolü (comma flat) (where "irha" actually signifies more accurately quarter-tone alterations as seen in various Arabic maqams.) Please refer to page 39, Fig. 3.6 of my doctoral dissertation: Dr. Oz. |
Doktor, Selam At future i hope begin with this and all help in this library will be more useful. Thanks :D |
@Huji Unfortunately I lost the tool that I used about five years ago to create the vectors from the fonts. But I could write one up again. If you can create a TTF or OTF file with the new glyphs, I can convert them to the vexflow JS font format. |
Also, here are some instructions if you want to create new entries in the font file yourself: Each character in the font is indexed by it's code (e.g.,
You can get the width of the character by The repeated commands in "o" are:
The You can look up the implementation in |
Doktor, Selam At future i hope begin with this and all help in this library will be more useful. Thanks :D |
Dear SalahAdDin, Why don't you take a look at the marvelous Mus2: You may like to get in touch with Utku Uzmen and M. Kemal Karaosmanoglu to give Mus2 a shoulder boost. It's been neglected for quite some while, and I would like to have the programmers implement some major improvements that they already have been informed about. Mus2 is very economical and can do a lot of things microtonally. If you can familiarize yourself with the program and wish to proceed upon it, write to me privately. Cordially, |
Abi, which programming language use mus2? i'll want to do like it but open source. |
SalahAdDin, Halil Kirazlı already made quite a headway with his Suzidil project before he sort of abandoned it. Maybe you should proceed on that trail: http://sourceforge.net/projects/suzidil/ Dr. Oz. P.S. I think Mus2 is based on Qt framework. |
Also take a look at: http://code.openhub.net/project?pid=&ipid=169326&fp=169326&mp&projSelected=true&filterChecked for Suzidil. Dr. Oz. |
Thanks abi, i want make something like this, and this library it's very useful. Now i'm learning play Ney. Which programming language it's the base for Mus2? |
@0xfe thank you for the response. I figured you are using Gonville Glyphs. I will create the vector versions for you and will even make an effort to add them back to Gonville itself! |
Please. |
Hi, I would like to chime in, help, and see this feature grow. I'm a student of all the traditions mentioned so far (Arabic, Turkish and Persian). All the traditions use different symbols as accidental, even though some symbols are shared between Arabic and Turkish traditions but with a different meaning: Arabic accidentalsTurkish accidentals(Source: http://www.oud.eclipse.co.uk/notation.html) You can see the symbols shared but for different pitches (an Arabic "one quarter" is in between Turkish 1 comma and 4 comma accidentals). In the case of just providing the symbol for the user to write it, it doesn't matter, but there has to be awareness of that and the fact that the Turkish system has more symbols while adding and naming them into the library. As somebody mentioned, some symbols are rarely found, like the Arabic "three quarter" and the Turkish 8 comma, but there may be cases where somebody needs them. Persian accidentals(Source: http://96edo.com) A thing to notice in the case of Persian music is the compound symbols for "flat koron" and "sori sharp", which I've not yet found in a sheet (though I have lesser experience in Persian Classical Music), but those could be written with a combination of flat+koron and sharp+sori, respectively. Finally, even though you can find many resources pointing the quarter tones of Arabic and Persian music tempered exactly the middle (50 cents up/down) of two semi-tones (like in the Persian accidentals chart I referenced above), that's not actually what happens on practice. Those pitches are not tempered to 24 TET in practice as far as I'm concerned. In some cases you can realise it by just listening some recordings. Something similar happens with the theorisation of Turkish music trying to map the pitches to 53 TET intervals. Again, that is a theorization for a very rich and complex tradition, and there's no single answer about a single pitch, depending on many factors (being geographical location one of them). As you can read on the first paragraph of @ozanyarman's thesis' summary:
Again, this is my understanding being a student on those traditions and I hope something with more experience can correct me if I'm wrong. So, what is the status of this feature? Is there any progress made? Any help needed? Thanks and have a good time. |
@Huji : If you mean koron and sori, then SMuFL does specify support for them: https://w3c.github.io/smufl/gitbook/tables/persian-accidentals.html - and since this link renders the actual character with the Bravura font, I have to assume that it is present. |
Oh, I was looking at the wrong range of Unicode characters (after U10000). |
@0xfe just to make sure my question doesn't go unnoticed: what does the |
@0xfe @infojunkie also, I have created the sori glyph:
You can add it to the glyphs.html by hand to test it,it'll look like this: Would it be okay if I create a pull request and have it added to |
Fantastic stuff! PR plz!! |
I will wait for #446 to be merged, then I will submit a PR. The advantage is that the addition of new glyphs using the new tidier format is easier to follow in diffs. |
I also submitted a PR to support all accidentals in EasyScore: #451 |
@Huji I'm not sure |
I figured it has to do with height too (and guessed that "ha" means "height Thanks for the email though! On Sat, Sep 3, 2016 at 3:46 PM, Cyril Silverman notifications@github.com
|
That is great Karim! I am thinking for sori and koron we should also define new acronyms for What are your thoughts? On Sat, Sep 3, 2016 at 8:50 AM, Karim Ratib notifications@github.com
|
"s" and "k" sound good to me. I can add these to the relevant places once your PR for the glyphs is merged. |
Actually, @Huji, it would fantastic if you could also add the 3/4-flat accidental to the new glyphs: https://w3c.github.io/smufl/gitbook/tables/arabic-accidentals.html (U+ED31) |
I will gradually work on all quarter note accidentals; I started with sori stay tuned! On Mon, Sep 5, 2016 at 7:19 AM, Karim Ratib notifications@github.com
|
I also edited the Microtonal Support wiki page https://github.com/0xfe/vexflow/wiki/Microtonal-Support - if anyone has a good suggestion on how to embed the accidental glyphs without creating a separate image for each one, please let me know :-) |
@infojunkie the problem there is that |
Thanks - yes they are on two different rows because they mean two different things in Arabic vs Turkish systems... Feel free to change the layout if you have a better idea. |
I think the minimum to do was to sort them, which I just did. |
👍 for arabic and turkish and iranian quarter tone accidentals! |
Alright, I created #461 but I need your help with it. I beautified the gonville_all font so you can better see the differences. In a second commit, I added the vd0 and vd1 glyphs. But when I build the project, they don't get added to |
Thanks @Huji will review and attempt to fix as soon as I get some time. |
@Huji: it would be great to update the microtonal wiki to reflect the sori and koron additions https://github.com/0xfe/vexflow/wiki/Microtonal-Support |
Just updated it. Since Wiki is updated and #461 has been merged, I am going to close this issue. |
Hi @infojunkie, I need microtonal accidentals and key signatures for Turkish Folks music. Here is the link to the SMuFL glyphs page. http://www.smufl.org/version/latest/range/turkishFolkMusicAccidentals . Actually, I only need just two of them. (The others are not used, at least for the song notation of instrument Baglama). What I need #3 (3 comma sharp) and b2 (2 comma flat). But until SMuFL support provided, I need to find a way to render these Turkish folks music accidentals using VexFlow. Note that the existing provided Turkish Microtonal Accidentals are used by Turkish -Classical- Music not by Turkish -Folks- Music. May be there are pitch overlapping but symbols (glyphs) and names are referred differently. Would you provide some help please? |
I need also because i play Ney, so, i'm playing turkish folk music. |
@eeskikoy I'm currently trying to use the structure of the Gonville JS font format to add the Arabic 3/4-flat glyph. So far, I understand that a glyph is made of basic 2D operations, namely moveTo, lineTo, bezierCurveTo and quadraticCurveTo. Now I need to assemble these to make a glyph. Rereading this thread, I found that @Huji's fiddle is still online: https://jsfiddle.net/629myn9f/38/ - sounds like a great environment to make new glyphs. |
I also updated the Wiki with images of each supported accidental. Looks much better 😄 |
Thanks @infojunkie, SMuFL (bravura) has already SVG, OTF glyph files which contains the accidentals that I need. I just need to convert the SVG path of them to the glyph meta data definitions of vexflow_font.js. |
Please consider adding support for quarter tone accidentals.
These include the Western notation for half-sharp, half-flat, sharp-and-a-half and flat-and-a-half, all of which are explained on https://en.wikipedia.org/wiki/Accidental_%28music%29#Microtonal_notation (and a picture us also available).
These also include the Iranian notation for half-sharp and half-flat, which are depicted in Persian Wikipedia's pages on sori and koron, respectively.
Ideally, a different identifier should be used for the western and eastern half-notes, so they can coexist in the same sheet if need be. An example of when this is needed is when sheet music is being written for many instruments (as is used by conductors) some of which are oriental instruments and some western instruments but all can play quarter tones.
-- UPDATE --
As shown below, vexflow already supports the Western quarter tone accidentals. There is need for support of Iranian accidentals though.
The text was updated successfully, but these errors were encountered: