Lilypond compiler

According to http://www.lilypond.org Lilypond is:

LilyPond is a music engraving program, devoted to producing the highest-quality sheet music possible. It brings the aesthetics of traditionally engraved music to computer printouts. LilyPond is free software and part of the GNU Project.

It is a fantastic program capable of creating exceptionally beautiful scores. I wholeheartedly recommend it!

I have created a new STL to Lilypond compiler. This was a bit tricky, because Lilypond is quite particular about time signatures and barlines, and Gaspar Sanz (and early music in general) is not. However, with a bit of fiddling I have been able to get acceptable results.

Here is Rujero in tablature created by the STL to Postscript compiler:

Rujero

And here is Rujero in conventional notation generated by Lilypond:

RujeroLilypond

As you can see, the results are pretty good! I have still to add some font management to the compiler, and I have not yet implemented ornamentation, but the basic functionality is now in place. The Lilypond compiler isn’t really one of my priorities, but I expect I will add at least some of the notation (the trills and mordents) when I get a chance. Another addition will be the option to write a note for each string in a course. At the moment, I just write one note (the top one) for each course.

Sanz’s tablature translated directly to modern notation doesn’t always work very well, but in this case the result is OK and is quite playable.

The STL to Lilypond compiler is largely for musicological purposes – so that I can compare Sanz’s tablature directly with modern notation.

Here is the Rujero STL from which both of the above scores were generated:

P-1
    TITLE Rujero
    COMPOSER Gaspar Sanz IMSGE 2.4.1
    S-1
            T-C
            Q 2-3 4-0 5-T
            2-2
            2-3
            1-0
        B-2
            Q 1-2 4-0
            1-3
            1-2
            1-0
            C 2-3
            1-0
        B-3
            1-2 4-0 1-{
            2-3
            1-5 4-4
            1-3 4-2
        B-4
            Q 1-2 4-0
            1-3
            1-2
            1-0
            M 2-3 1-#

        SB-1
    S-2

            C. 2-3 4-0 5-T
            Q 2-2
            C 2-3
            1-0
        B-5
            Q 1-2 4-0
            1-3
            1-2
            1-0
            C 2-3
            1-0
        B-6
            C. 1-2 4-0
            Q 4-2
            C 4-4
            3-1
        B-7
            M 1-0 2-2 3-2

            5-0
        B-8
            SECTION
            C. 3-2
            Q 3-1
            C 3-2
            2-0
    S-3
        B-9
            Q 2-2 5-0
            2-3
            2-2
            2-0
            C 3-2
            2-0
        B-10
            2-2 5-0
            3-2
            1-0 2-0 4-2
            2-3
        B-11
            Q 1-0 2-2 5-0
            2-3
            2-2
            2-0
            M 3-2

        B-12
            C 1-5 2-3 4-4
            1-5
            1-3 2-0 4-2
            2-2
    S-4
        B-13
            Q 1-2 2-3 4-0
            1-3
            1-2
            1-0
            C 2-3
            1-0
        B-14
            C. 2-2 5-0 3-T
            Q 2-3
            C 1-0
            1-2
        B-15
            SECTION
            M 2-3 4-0

            2-3

        EB-1
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s