On 2013-09-10 12:02, David Kastrup wrote: > Hilary Snaden <[email protected]> writes: > >> This (trimmed) example doesn't work as the documentation suggests it >> should, in this case to reduce the volume of the organ relative to the >> voices. Changing the volume values makes no difference at all. \dyns >> contains dynamics for the organ, each voice part has its own dynamics. >> Am I missing something? >> >> \score { >> << >> \new Staff = "v1" { >> \set Staff.midiInstrument = #"choir aahs" >> \set Staff.midiMaximumVolume = #0.8 >> \set Staff.midiMinimumVolume = #0.4 >> \new Voice { \transpose d f \musicsoprano } >> } >> \new Staff = "v5" { >> \set Staff.midiInstrument = #"church organ" >> \set Staff.midiMaximumVolume = #0.4 >> \set Staff.midiMinimumVolume = #0.2 >> \new Voice { \transpose d f \upper } >> } >> \new Voice = "v7" { \dyns } >> \new Voice = "tempi" { >> \tempo 4.=84 >> } >> >> >> \midi { } >> } > > An actual dynamic? I think the min/max values only take to flight when > specifying a dynamic.
After more tinkering, it seems that the min/max values are only applied if a dynamic is added to every explicit voice within an instrument's music. This seems to act as an "initialisation": subsequent dynamics within the Dynamics context are applied. By way of a workaround to generate usable engraving and midi files from the same source, is there a way of making the (additional) in-voice dynamics disappear without affecting the Dynamics dynamics? _______________________________________________ lilypond-user mailing list [email protected] https://lists.gnu.org/mailman/listinfo/lilypond-user
