lilypond-user
[Top][All Lists]
Advanced

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

Re: Moving accidentals above or below notes


From: address@hidden
Subject: Re: Moving accidentals above or below notes
Date: Mon, 17 Dec 2012 21:07:56 +0100

On 17 déc. 2012, at 20:58, Dominique Faure <address@hidden> wrote:

> Hi,
> 
> Using the following code, I'd like to move accidentals above or below notes.
> 
> ----------8<- - - - - - - - - -
> \version "2.16"
> 
> accidentalBelow = {
> \once \override Score.Accidental #'extra-offset = #'(1.5 . -2.5)
> }
> 
> accidentalAbove = {
> \once \override Score.Accidental #'extra-offset = #'(1.5 . 2.5)
> }
> 
> \relative c'' {
> a16 b \accidentalAbove cis \accidentalAbove bes
> g a \accidentalBelow b \accidentalBelow c
> }
> 
> \relative c'' {
> a b c b
> g a b c
> }
> ----------8<- - - - - - - - - -
> 
> 

This seems rather complicated - what is your end goal? If it is just to have an 
accidental printed over or below the note, consider making a \markup with a 
\musicglyph. To get the accidental in midi playback, you can use tags and a 
separate midi score.

Cheers,
MS


reply via email to

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