lilypond-user
[Top][All Lists]
Advanced

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

Re: Scheme for rhythmic transposition


From: David Kastrup
Subject: Re: Scheme for rhythmic transposition
Date: Sun, 20 Nov 2011 20:41:39 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.90 (gnu/linux)

David Kastrup <address@hidden> writes:

> "Phil Holmes" <address@hidden> writes:
>
>> \shiftDurations seems to be remaining poorly documented.  I'd be happy
>> to update the LSR with that function rather than the way it is now,
>> but it seems to me that durations can only be made shorter, not
>> longer?  If I use:
>>
>>    \shiftDurations 1 0 { \music }
>>
>> all is OK.  However, with
>>
>>    \shiftDurations -1 0 { \music }
>>
>> I get:
>>
>> ShiftDur.ly:11:20: error: wrong type for argument 1.  Expecting
>> integer, found #<Prob: Music C++: Music((digit . 1) (origin
>> . #<location ShiftDur.ly:11:21>))((display-methods #<procedure #f
>> (event parser)>) (name . FingeringEvent) (types general-music
>> fingering-event event)) >
>>
>>    \shiftDurations
>>                    -1 0 { \music }
>>
>> Is this the correct usage, and does this mean that \shiftDurations
>> does only shorted music?
>
> 1 is an UNSIGNED.  -1 is a fingering.  Hooray.  Try #-1 instead.  I'll
> eventually get around to getting the "interpret in the correct manner by
> magic" behavior for negative numbers as well, but it has never been in
> Lilypond so far.

<URL:http://code.google.com/p/lilypond/issues/detail?id=2049>

At some point of time I'll get to the stage where there are no naive
mistakes to make any more.

-- 
David Kastrup




reply via email to

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