lilypond-user
[Top][All Lists]
Advanced

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

Re: In octaves


From: Jonathan Kulp
Subject: Re: In octaves
Date: Thu, 24 Apr 2008 13:10:27 -0500
User-agent: Thunderbird 2.0.0.12 (X11/20080227)

Wow! I just got around to trying this also. What a great tool, and perfect for a piece I'm working on right now. Many thanks, Jay! I've saved this code in my personal collection of snippets but I agree it'd be a great addition to the LSR. Wish I understood how to write these kinds of things myself. Anyway thanks for sharing. Valentin, did you try your addition already? Where would it go in the code?

Jon

Valentin Villenave wrote:
2008/4/13 Jay Anderson <address@hidden>:

 I wrote a function to add the upper octave for me:
 \octaves {c d e f}

Hi Jay,

Sorry for not having reacted earlier but this function is simply
awesome! Could you please consider adding it to the LSR?
If I may suggest a minor improvement, it would be great if one could
choose whether to add the upper octave or the lower octave, as an
argument, e.g.

octaves = #(define-music-function (parser location arg mus) (integer? ly:music?)
 (if (> arg 0) (octavize-up mus) (octavize-down mus)))

Cheers,
Valentin


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


--
Jonathan Kulp
http://www.jonathankulp.com




reply via email to

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