[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: hide Stuff
From: |
Malte Meyn |
Subject: |
Re: hide Stuff |
Date: |
Tue, 14 Jan 2020 14:54:58 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.4.1 |
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 { }
}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%