lilypond-user
[Top][All Lists]
Advanced

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

Re: Midi equalisation


From: David Kastrup
Subject: Re: Midi equalisation
Date: Wed, 11 Sep 2013 11:06:39 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

Hilary Snaden <address@hidden> writes:

> On 2013-09-10 12:02, David Kastrup wrote:
>> Hilary Snaden <address@hidden> 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?

-\omit\ff should be fine if you have 2.17.4 or later.  Otherwise you'll
 need to do something like

-\tweak #'stencil ##f \ff

(note that the - before either \omit or \tweak is not optional: you need
it for attaching the whole construct to a preceding note).

-- 
David Kastrup




reply via email to

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