[Top][All Lists]

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

RE: Octave checks, relative, and spurious warnings ...

From: Anthony Youngman
Subject: RE: Octave checks, relative, and spurious warnings ...
Date: Wed, 7 Jun 2006 11:31:54 +0100

Sounds good.

I'm trying to test it to see if it works for me, but (running in mingw,
W2K) when I add it into my files lily just seems to crash - I don't get
the cmd.exe window appear, or I get loads of complaints in the log file.

I guess I'm doing something silly, but I'd say this is a worthwhile
addition if it does what I think it does.


-----Original Message-----
From: Han-Wen Nienhuys [mailto:address@hidden 
Sent: 07 June 2006 11:20
To: Anthony Youngman
Cc: lily-devel
Subject: Re: Octave checks, relative, and spurious warnings ...

Anthony Youngman schreef:
> The manual says there's a difference between "=" and \octave (section
> 6.2.2) but both of them are giving me warnings - is there any way I
> say "I need this absolute note" in this sort of situation without
> generating warnings?

does this help?

I wrote it for Darius a while back, but maybe we should add it to the 
standard .ly include ?

resetOctave  =
    (parser location reference-note)

    ((notes (ly:music-property reference-note 'elements))
     (pitch (ly:music-property (car notes) 'pitch))


    (set! (ly:music-property reference-note 'elements) '())
    (set! (ly:music-property reference-note
       (lambda (music last-pitch)


\relative c' {
   c d e
   \resetOctave c''


Han-Wen Nienhuys - address@hidden -

LilyPond Software Design
  -- Code for Music Notation

* ************************************************************************ *

This transmission is intended for the named recipient only. It may contain 
private and confidential information. If this has come to you in error you must 
not act on anything disclosed in it, nor must you copy it, modify it, 
disseminate it in any way, or show it to anyone. Please e-mail the sender to 
inform us of the transmission error or telephone ECA International immediately 
and delete the e-mail from your information system.

Telephone numbers for ECA International offices are: Sydney +61 (0)2 8272 5300, 
Hong Kong + 852 2121 2388, London +44 (0)20 7351 5000 and New York +1 212 582 

* ************************************************************************ *

reply via email to

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