lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Openlilylib snippets announcement


From: ul
Subject: Re: Openlilylib snippets announcement
Date: Tue, 27 Dec 2016 18:33:04 +0100
User-agent: Roundcube Webmail/1.2.0

Am 2016-12-27 17:22, schrieb Trevor Bača:

Dear Andrew,

Just a quick note to tell you much I'm enjoying the pedal decorations work you implemented in openlilylib:

https://github.com/openlilylib/snippets/tree/master/notation-snippets/pedal-decorations

Being able to head a pedal bracket with L, M, R for the left, middle, right pedals is incredibly easy to do with the pedal decorations (and overcomes a hard limitation in LilyPond's default pedal spanner implementation which forbids custom markup). Thanks so much for publishing the work: all incorporated into the piano music I'm currently writing.

Also, I'm somewhat embarrassed to say that the pedal decorations were my first real interaction with openlilylib. Quite a collection of extensions! Other LilyPond users with even minimal Git experience will find it easy to clone the repository. And LilyPond users without Git experience might be interested in knowing that they can cut-and-paste directly from many of the openlilylib files directly into their own scores. The entire project is
really worth checking out.

I would like to hook into this.

I strongly suggest *not* to copy-and-paste the snippets into your own files. One of the motivations to create openLilyLib as a complement to the LSR was that it is *includable*, so you don't have to create literal copies in your own files.

People without Git experience or the willingness to install it should rather download a copy of the repository as a ZIP file, which is available from the project page (https://github.com/openlilylib/snippets) through the green "Clone or download" button. Simply extract the archive to some location on your disk and add that directory to LilyPond's search path (either as a command line argument or through Frescobaldi's Preference dialog.

Best
Urs



Thanks again,

Trevor.

On Tue, Nov 22, 2016 at 3:47 AM, Andrew Bernard <address@hidden> wrote:

Hello All,

Just letting you know that I have contributed some snippets to openlilylib worth having for doing some small things in contemporary style scores, but which need some Scheme coding.

Slashed beams

A function \slashBeam that can add a slash to the left or the right of a beamed group, with a fair degree of control over angle and position. This is a generalisation of work that others have created previously, in particular it extends the concept of \slash.

Slashed stems

The function \slashStem allows you to add a slash to a stem with a fair degree of control over position and angle. Note that this is a different case from slashing a beamed group. [There may be arguments against this but I wanted a separate function.] I developed this to make horizontal stem slashes, but it was easy to generalize.

Pedal decorations

People have often requested to be able to add cautionary labels to pedal brackets on continued lines. There have been many workarounds given. This solution in Scheme attacks the problem directly by modifying the bracket stencil. An arbitrary text label can be added, and optional continuation arrows can be added to the right hand end of the bracket. This style is commonly seen in contemporary scores.

These three new capabilities can be found under snippets/notation-snippets in the openlilylib repository.

If there do not exist bugs and defects I would be surprised. I am happy to take feedback and suggestions. The code is for the >= 2.19.45 releases. I have not tested on 2.18.2, and unless somebody requests, I don't intend to.

Andrew

_______________________________________________
lilypond-user mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/lilypond-user

--

Trevor Bača
www.trevorbaca.com
soundcloud.com/trevorbaca
_______________________________________________
lilypond-user mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/lilypond-user



reply via email to

[Prev in Thread] Current Thread [Next in Thread]