Skip to content
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

Add beatx tool #107

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Conversation

WolfgangDrescher
Copy link
Contributor

In order to be able to create annotations for scores in VHV and verovio faster with beat values for certain moments on certain beats, I have created the basic functionality of humextra beat for humlib as beatx. Since humlib already has meter I only implemented the missing functionalities.

In terms of functionality, it is a mixture of the meter and the humextra beat program. For the formatting of the numbers I also use the HumNum::printTwoPart notation as with meter. Float values can be activated with -f instead.

Spine splits are currently not supported. The first token found for a track is used.

Options are:

s|spine-tracks|spine|spines|track|tracks=s   process only the specified spines
k|kern-tracks=s                              process only the specified kern spines
d|duration|dur=b                             display duration for each slice
u|beatsize|rhythm=s:4                        beatsize (recip rhythmic value); default=4
f|float=b                                    floating-point beat values instead of rational numbers
D|digits=i:0                                 number of digits after decimal point
c|comma=b                                    display decimal points as commas
t|tied|ties=b                                show beats of tied notes
r|rest=b                                     show beats of rests
full=b                                       show numbers on each slice

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant