On Sat, Apr 2, 2022 at 5:11 AM Gilles Sadowski <[email protected]> wrote:
> Le sam. 2 avr. 2022 à 01:19, Dario Marrini <[email protected]> a écrit :
[snip]
> > to give some 'human behavior' to midi rendering, I should create a lot of 
> > dynamics signs, even where they are not present; is there a way to create 
> > them, but then keeping them hidden on the score, leaving just normal 
> > dynamic sign?
>
> Yes (using "\tag").

Here's an example of how to use tags to control the MIDI volume
independently from the layout volume:

%%%
\version "2.22.2"

music = \relative {
  c''4\f
  \tag layout { c c }
  \tag midi   { c\mf c\mp }
  c\p |
}

\score {
  \keepWithTag #'layout
  \new Staff \music
  \layout {}
}

\score {
  \keepWithTag #'midi
  \music
  \midi {}
}
%%%

--
Knute Snortum

Reply via email to