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 new tool to output original line numbers #103

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

Conversation

WolfgangDrescher
Copy link
Contributor

Some of the older programs (e.g. beat) sometimes make some lines of the kern score disappear. In order to be able to create a mapping between the original line numbers, I have created a program lnnr with which the line numbers can be displayed as new **lnnr spines.

test.krn:

!!!OTL: Test
**kern
*clefG2
*M4/4
=
!local comment
4c
4d
4e
4f
=
!!global comment
4g
4a
4h
4cc
==
*-

lnnr test.krn

!!!OTL: Test
**kern	**lnnr
*clefG2	*
*M4/4	*
=	=
!local comment	!
4c	7
4d	8
4e	9
4f	10
=	=
!!global comment
4g	13
4a	14
4h	15
4cc	16
==	==
*-	*-

lnnr test.krn --index --prepend

!!!OTL: Test
**lnidx	**kern
*	*clefG2
*	*M4/4
=	=
!	!local comment
6	4c
7	4d
8	4e
9	4f
=	=
!!global comment
12	4g
13	4a
14	4h
15	4cc
==	==
*-	*-

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