Re: Alternative notes display

2017-07-03 Thread Menu Jacques
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  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" 
> 
> HTH, Simon

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Alternative notes display

2017-07-03 Thread Simon Albrecht

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" 


HTH, Simon

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Alternative notes display

2017-07-03 Thread Kieren MacMillan
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.

Hope this helps,
Kieren.


Kieren MacMillan, composer
‣ website: www.kierenmacmillan.info
‣ email: i...@kierenmacmillan.info


___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Alternative notes display

2017-07-03 Thread Menu Jacques
Hello folks,

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.

Merely making them smaller won’t solve the midi part of the problem, as won’t 
\cueDuring, since:

> LPNR: The music from the corresponding measures of the quote name is added as 
> a CueVoice context and occurs simultaneously with the music, which then 
> creates a polyphonic situation.

How can that be done?

Thanks for your help!

JM


___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user