Skip to content

Add a shorthand notation for tuplets in alphaTex #228

@cheap-glitch

Description

@cheap-glitch

Description

It often happens that several dozens notes in a row will be arranged in tuplets (usually triplets). Therefore it would be useful to have some kind of shorthand in order to apply tuplet logic to a whole slew of notes — similar to the way :8 defines all the following notes as eight notes.

So instead of writing

:8 1.3{tu 3} 2.3{tu 3} 3.3{tu 3} 1.2{tu 3} 2.2{tu 3} 3.2{tu 3} 1.1{tu 3} 2.1{tu 3} 3.1{tu 3}

one could write

:8{tu 3} 1.3 2.3 3.3 1.2 2.2 3.2 1.1 2.1 3.1

which is arguably both faster to type and easier to read.

Current Workarounds

I guess it would be possible to write a parser to extend the alphatex before feeding it to alphatab, but it seems like reinventing the wheel.

Metadata

Metadata

Assignees

Labels

area-file-formatsRelated to supported file formatsstate-acceptedThis is a valid topic to work on.

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions