lilypond-user
[Top][All Lists]
Advanced

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

Re: help for midi instruments


From: Knute Snortum
Subject: Re: help for midi instruments
Date: Sat, 2 Apr 2022 07:59:04 -0700

On Sat, Apr 2, 2022 at 5:11 AM Gilles Sadowski <gilleseran@gmail.com> wrote:
> Le sam. 2 avr. 2022 à 01:19, Dario Marrini <dario.marrini@gmail.com> 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

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