paulrosen / abcjs

javascript for rendering abc music notation
Other
1.91k stars 282 forks source link

Tablature plugin: Add support for tin whistle #1003

Open tskarhed opened 6 months ago

tskarhed commented 6 months ago

I think ABC notation really encompasses the simplicity of tin whistle tabs, and it would be really nice to have. My goal is to create an application, which requires as little music theory knowledge as possible to write down tin whistle tabs (I used a very simplistic model for it here ).

I've looked through the code trying to figure out what could be needed to write a tablature. The SVG rendering for the different notes is pretty easy, but I lack insight into engraving and positioning, and how the tablature plugin system works in general.

Also, is the tablature plugin system designed specifically for string instruments at the moment? From the code I see that string tablature share quite some code.

Anyway, mostly looking for some general pointer, and I might open a PR if I get bored a weekend :)

asjl commented 6 months ago

You might want to look at the work Michael Easkin has done at:

https://michaeleskin.com/abctools/abctools.html

Here's an example attached:

On Mon, 25 Mar 2024, 09:30 Tobias Skarhed, @.***> wrote:

I think ABC notation really encompasses the simplicity of tin whistle tabs, and it would be really nice to have. My goal is to create an application, which requires as little music theory knowledge as possible to write down tin whistle tabs (I used a very simplistic model for it here https://pied-piper.netlify.app/editor/ ).

I've looked through the code trying to figure out what could be needed to write a tablature. The SVG rendering for the different notes is pretty easy, but I lack insight into engraving and positioning, and how the tablature plugin system works in general.

Also, is the tablature plugin system designed specifically for string instruments at the moment? From the code I see that string tablature share quite some code.

Anyway, mostly looking for some general pointer, and I might open a PR if I get bored a weekend :)

— Reply to this email directly, view it on GitHub https://github.com/paulrosen/abcjs/issues/1003, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABL6VKLA2RBWD6DPWHAVXMTYZ4ZWBAVCNFSM6AAAAABFF65SVSVHI2DSMVQWIX3LMV43ASLTON2WKOZSGIYDINJUGE3DKMY . You are receiving this because you are subscribed to this thread.Message ID: @.***>

paulrosen commented 5 months ago

Check out https://michaeleskin.com/abctools/abctools.html for an example of that. I'm planning on trying to merge that back into abcjs but I haven't at the moment. He would probably be happy to talk to you about how he implemented it.