Please keep all conversation on the list.

Am 14.01.20 um 11:36 schrieb bb:
Thanks for reply. Works only partially.

1st there stays a Staff artefact

This is because you tagged only the music inside the staff, not the staff itself.

2nd ther is no midi sound for the hidden notes

I need the midi sound, but not the grafics.

Is there a solution?

You’ll need two scores for both of the following solutions:

Either you don’t put \metronome into the \layout score.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\version "2.19.83"

metronome = { 4 4 4 4 }
music = \relative { c' d e f }

\score {
  \new Staff \music
  \layout { }
}

\score {
  <<
    \new Staff \metronome
    \new Staff \music
  >>
  \midi { }
}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

Or you use the same score for both \score blocks and remove the metronome by using \tag.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\version "2.19.83"

metronome = { 4 4 4 4 }
music = \relative { c' d e f }
everything = <<
  \tag metronome \new Staff \metronome
  \new Staff \music
>>

\score {
  \everything
  \layout { }
}

\score {
  \removeWithTag metronome \everything
  \midi { }
}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

Reply via email to