lilypond-user
[Top][All Lists]
Advanced

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

Re: Expanding bowed arpeggios


From: David Kastrup
Subject: Re: Expanding bowed arpeggios
Date: Sat, 26 Jan 2013 13:23:01 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

David Kastrup <address@hidden> writes:

> shutterfreak <address@hidden> writes:
>
>> shutterfreak wrote
>>> On Sat, Nov 24, 2012 at 1:26 PM, Olivier Biot &lt;
>>
>>> olivier.biot@
>>
>>> &gt;wrote:
>>> 
>>> Dear all,
>>> 
>>> Following up on my own request, I stumbled upon an insightful article
>>> featuring Bach's prelude for piano (BWV 846):
>>> http://news.lilynet.net/?The-LilyPond-Report-23#feature_story_prelude_1_in_scheme
>>> 
>>> Based on this example I managed to create a first version, which however
>>> only works with *absolute* pitches (see measure 1).
>>> 
>>> How can I make it work with *relative* pitches (see measure 2)?
>
> Try something like (planning to commit this macro soonish)
> #(defmacro-public make-relative (pitches last-pitch music)
>
>> So far I didn't find a way to make my arpeggio expansion work with
>> notes in *relative pitch*. My bet is that I need to do some magic on
>> "ly:pitch?" to get it to work, but I am clueless since I don't know
>> what I should type as search keywords to get that information. Is
>> there for example a relative-pitch-to-absolute-pitch checker routine
>> that I could use?
>
> Sorry for taking so long.  Designing a "user interface" and actually
> coding this was not exactly trivial.  Note that arpeggiate will work
> fine _both_ when using \relative and when not using it.

Enthusiastically acclaimed (none of the reviewers pointed out anything
he considered less than perfect), this macro has progressed into the
LilyPond code base under the auspices of issue 3118
<URL:http://code.google.com/p/lilypond/issues/detail?id=3118> and will
appear in version 2.17.11.

-- 
David Kastrup



reply via email to

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