lilypond-user
[Top][All Lists]
Advanced

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

Re: Levelling hairpins


From: Noeck
Subject: Re: Levelling hairpins
Date: Sat, 14 Feb 2015 10:49:34 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0

Hi,

there may be some issues I do not have in this simple example. But in principle
extracting dynamics from music into a dynamics context is possible (second staff
below):
- Do not engrave the dynamics with the staff (remove engraver)
- Put the same music in a dynamics context in addition (the notes are not
  printed there anyway.

I did not care about midi here, but that would be possible by removing
performers or doing a separate midi score. Not having separate dynamics has the
advantage, that it is easier for the midi output to interpret it right.

\version "2.18.2"

music = \relative c' { a\f b\p\< g f\! a\cresc c a c c\ff }

\markup "Normal staff including the dynamics"
<<
  \new Staff \music
>>

\markup "Separate dynamics context from the same variable"
<<
  \new Voice \with { \remove "Dynamic_engraver" } \music
  \new Dynamics \music
>>

Cheers,
Joram



reply via email to

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