dynamicAbsoluteVolumeFunction still has [DOCUMENT-ME] as its documentation.

I cannot find any use for instrumentEqualizer or dynamicAbsoluteVolumeFunction other than to set the instrument-equalizer-alist and absolute-volume-alist respectively which it does automatically anyway and I recommend removing them from perfomer-init.ly and the documentation.

instrument-equalizer-alist and absolute-volume-alist can each be set or appended to directly.

midi-volume-equalizer.ly in input/no-notation demonstrates how to append an instrument to instrument-equalizer-alist.

I am attaching a file called set-midi-absolute-volume.ly which demonstrates how to set absolute-volume-alist to new values which I suggest placing in the same directory.

Perhaps it is not necessary to define default-dynamic-absolute-volume and default-instrument-equalizer public in midi.scm. Do you have to define the procedures public in order to define the alists public? Or are they public only to make the procedures themselves accessible to the user?

Do the examples in input/no-notation show up anywhere in the documentation?

Stephen
\version "2.4.0"
\header {
    texidoc = "@cindex Set Dynamic Absolute Volume
Change absolute dynamics in MIDI file by setting absolute-volume-alist to chosen values.
"
}


\score{
\relative c''{
%segfault in engraver
a1\ppppp 
a1\pppp 
a1\ppp 
a1\pp
a\p
a\mp
a\mf
a\f
a\ff
a\fff
a\ffff
a\sf

#(set! absolute-volume-alist
      (append
      '(
	("sf" . 1.00)
	("fffff" . 0.95)
	("ffff" . 0.92)
	("fff" . 0.85)
	("ff" . 0.80)
	("f" . 0.75)
	("mf" . 0.68)
	("mp" . 0.61)
	("p" . 0.55)
	("pp" . 0.49)
	("ppp" . 0.42)
	("pppp" . 0.35)
	("ppppp" . 0.26)
	)
      absolute-volume-alist))
}
\layout{ 
	indent = 0.0 \mm
	raggedright = ##t
 }
\midi{
\tempo 1 = 60
}
}

_______________________________________________
lilypond-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/lilypond-devel

Reply via email to