lilypond-user
[Top][All Lists]
Advanced

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

RE: Different accidentals for same pitch bend?


From: Richard Sabey
Subject: RE: Different accidentals for same pitch bend?
Date: Sun, 29 May 2011 16:30:09 +0000

Keith,

Thank you for your message. Your suggestion of ly:set-default-scale, together with ly:make-scale, turned out to do just what I wanted. That showed me what to Google for, and that gave me the info I needed.

Richard

> Message: 5
> Date: Sat, 28 May 2011 23:17:48 +0000 (UTC)
> From: Keith OHara <address@hidden>
> To: address@hidden
> Subject: Re: Different accidentals for same pitch bend?
> Message-ID: <address@hidden>
> Content-Type: text/plain; charset=us-ascii
>
> I think Lilypond already does what you want. Some of the pitch bend goes
> into the note-name itself for 34ET (differently from makam).
>
> Suppose you choose f-natural to have zero pitch bend in MIDI.
> Then if b-natural is 18/34 of an octave higher, it needs 1/34*1200 cents pitch-
> bend of sharpening relative to the default 12-ET version of b.
>
> You set these pitch-bends for the naked note-names with ly:set-default-scale.
>
> Then with ly:parser-set-note-names, you assign b-down-one-step whatever name
> you choose, and the pitch of scale-step 6 lowered by 1/34. When you use that
> name, Lilypond prints a lowering glyph because it is lower than the note in the
> scale, and calculates a pitch bend 1/34*1200 cents flatter than the default
> scale, which is right back to zero in this case.
>
>
> Graham Breed has posted some helpful emails, such as
> http://lists.gnu.org/archive/html/lilypond-devel/2008-12/msg00499.html

Yes, I saw that discussion as a result of Googling, and I tried his code, but unfortunately I couldn't get it to work on v.2.13.62. Never mind, I now have something which does what I want.


reply via email to

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