Hi Pablo,
This covers what you can do with MIDI in terms of dynamics:
http://lilypond.org/doc/v2.22/Documentation/notation/controlling-midi-dynamics
http://lilypond.org/doc/v2.22/Documentation/notation/supported-notation-for-midi
http://lilypond.org/doc/v2.22/Documentation/notation/unsupported-notation-for-midi
(NB, Crescendi and decrescendi over a /single/ note)
Note that if you want to have finer control over the MIDI, you'll likely
want to import the MIDI into another program, such as a DAW (I do this
for glissandi).
Also note that Lilypond is primarily for engraving, the MIDI is a nice
to have extra feature.
Hope that helps set your expectations.
On 2021-11-25 17:06, Pablo Cordal wrote:
Hi,
When a long note is sounding and there is a rest afterward, the note
abruptly quiets down, which is awful.
I have several staves so controlling the general MIDI volumen is
useless. I need to control the volume of one staff or the volume of
the note.
Is there any way to meke the MIDI volume of that note drop gently at
the end?
Thank you very much and best wishes