lilypond-user
[Top][All Lists]
Advanced

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

Re: how to transpose midi one octave ?


From: Mark Knoop
Subject: Re: how to transpose midi one octave ?
Date: Tue, 2 Mar 2010 12:55:55 +0000

At 13:12 on 02 Mar 2010, Martin Tarenskeen wrote:
> On Tue, 2 Mar 2010, James Bailey wrote:
> 
> > \score { \new Staff { \transpose c' c { \guitarMusic} } \midi {} }
> > should do the trick.
> 
> Does this mean I have to use two \score sections. One for \midi and
> onBe {} for \layout {} like this? :
> 
> \score { \new Staff { \transpose c' c { \guitarMusic} } \midi {} }
> \score { \new Staff { \guitarMusic } \layout {} }
> 
> I was hopening for an easier way, but this isn't that difficult
> either.

Alternatively you could override the clef stencil, e.g.:

\override Staff.Clef #'stencil =  #ly:text-interface::print
\override Staff.Clef #'text = #(markup #:musicglyph "clefs.G")

(untested)

-- 
Mark Knoop




reply via email to

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