lilypond-user
[Top][All Lists]
Advanced

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

Re: Alternative notes display


From: Menu Jacques
Subject: Re: Alternative notes display
Date: Tue, 4 Jul 2017 00:17:04 +0200

Thanks a lot Simon for the suggestion!

Here is what I’ve been able to obtain:


%%%%%%%%%%%%%
\version "2.19.55"

global = {
  \time 3/8
}

regularMusic =
\relative c'' { 
  \global
  c4. 
}

alternativeMusic =
\relative c'' {
  \global
  \shiftOn
  d8 c4
}

\score  {

  \new Staff <<
    \context Voice = "regular music" {
      \regularMusic
    }

    \context Voice = "alternative music" \with {
      fontSize = -3
      \remove "Note_performer"
    }
    {
      \alternativeMusic
    }
  >>

  \layout {}

  \midi {}
}
%%%%%%%%%%%%%


The output is legible:


and the midi contains only « regularMusic ».

The \shiftOn command was suggested by LilyPond itself.

Problem solved!

JM

Le 3 juil. 2017 à 15:49, Simon Albrecht <address@hidden> a écrit :

On 03.07.2017 14:49, Kieren MacMillan wrote:
Hi JM,

I’d like to have the eighth and quarter notes displayed smaller, as an alternative to the dotted quarter note, and them not being included in the midi output.

How can that be done?
This is probably an excellent use-case for using the \tag mechanism.

Another idea: create a VisualVoice context which is exactly like Voice but with \remove "Note_performer" &c.

HTH, Simon


reply via email to

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