ABC syntax issues, help!

ABC syntax issues, help!

I am having issues with abc written into the site http://mandolintab.net/abcconverter.php
When I use capital letters with a comma after the note to denote below middle C the music displayed prints a bass clef sign and displays in bass clef for four beats and then prints a treble clef sign and reverts.
The abc looks like this |:{e}C[E,B]{c}[E,E]E BEFA | The treble reverts before the last four notes.
It may be an issue on their site, but any clues how to stop this anyone..?

Posted by .

Re: ABC syntax issues, help!

By default the treble goes down to G,
http://abcnotation.com/wiki/abc:standard:v2.1#pitch

You can define/set the treble clef in the K: info field.
K:G clef=treble

Pitch, absolute
X:1
K:C clef=treble
C, E, G, C E G c e g c’ e’ g’

Posted by .

Re: ABC syntax issues, help!

Thanks AB, didn’t realise about G being the lowest note in the treble, your code fixed it, thanks..!

Posted by .