lilypond-user
[Top][All Lists]
Advanced

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

Re: Two questions: slashes and rhythmic cues


From: Paul Scott
Subject: Re: Two questions: slashes and rhythmic cues
Date: Sun, 14 May 2006 02:42:15 -0700
User-agent: Thunderbird 1.5.0.2 (X11/20060501)

Graham Percival wrote:

On 12-May-06, at 10:33 AM, Stan Mulder wrote:

But when the parts are transposed the slashes move all over the place for the Bb and Eb instruments. Is there are way to keep the slash exactly on a certain note and ignore the transposition?

As it happens, this is part of an example in 9.2.6 Defining new contexts.
Even though the slashes don't move, octaves and accidentals (because of transposition) do affect the music following the slashed music. Also transposition can cause accidentals to appear with the slashes"

\version "2.8.2"
\layout{
 \context {
   \name ImproVoice
   \type "Engraver_group"
   \consists "Note_heads_engraver"
   \consists "Text_engraver"
   \consists Pitch_squash_engraver
   squashedPosition = #0
   \override NoteHead #'style = #'slash
   \override Stem #'transparent = ##t
   \alias Voice
 }
 \context {
   \Staff
   \accepts "ImproVoice"
 }
}
aaa = \relative c'' {
 d2 e f g
 \new ImproVoice {
   c4 c c c
 }
 g4 e c2
}

{ \transpose c bes, \aaa }


Paul






reply via email to

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