-%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.di.unimi.it
-%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
-%% and then run scripts/auxiliar/makelsr.py
-%%
-%% This file is in the public domain.
+% DO NOT EDIT this file manually; it is automatically
+% generated from Documentation/snippets/new
+% Make any changes in Documentation/snippets/new/
+% and then run scripts/auxiliar/makelsr.py
+%
+% This file is in the public domain.
+%% Note: this file works from version 2.19.20
+
\version "2.19.20"
\header {
doctitle = "Changing form of multi-measure rests"
} % begin verbatim
+
\relative c'' {
\compressMMRests {
R1*2 | R1*5 | R1*9
--- /dev/null
+% DO NOT EDIT this file manually; it is automatically
+% generated from Documentation/snippets/new
+% Make any changes in Documentation/snippets/new/
+% and then run scripts/auxiliar/makelsr.py
+%
+% This file is in the public domain.
+%% Note: this file works from version 2.18.0
+\version "2.18.0"
+
+\header {
+
+ lsrtags = "scheme-language, midi"
+
+ texidoc = "The following example shows how to create a dynamic
+ marking, not included in the default list, and assign it a specific
+ value so that it can be used to affect MIDI output.
+
+ The dynamic mark @code{\\rfz} (@notation{rinforzando}) is assigned a
+ value of @code{0.9}."
+
+ doctitle = "Creating custom dynamics in MIDI output"
+} % begin verbatim
+
+
+#(define (myDynamics dynamic)
+ (if (equal? dynamic "rfz")
+ 0.9
+ (default-dynamic-absolute-volume dynamic)))
+
+\score {
+ \new Staff {
+ \set Staff.midiInstrument = #"cello"
+ \set Score.dynamicAbsoluteVolumeFunction = #myDynamics
+ \new Voice {
+ \relative c'' {
+ a4\pp b c-\rfz
+ }
+ }
+ }
+ \layout {}
+ \midi {}
+}
-%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.di.unimi.it
-%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
-%% and then run scripts/auxiliar/makelsr.py
-%%
-%% This file is in the public domain.
+% DO NOT EDIT this file manually; it is automatically
+% generated from Documentation/snippets/new
+% Make any changes in Documentation/snippets/new/
+% and then run scripts/auxiliar/makelsr.py
+%
+% This file is in the public domain.
+%% Note: this file works from version 2.19.20
+
\version "2.19.20"
\header {
doctitle = "Forcing measure width to adapt to MetronomeMark's width"
} % begin verbatim
+
example = {
\tempo "Allegro"
R1*6
changing-midi-output-to-one-channel-per-voice.ly
changing-the-tempo-without-a-metronome-mark.ly
+creating-custom-dynamics-in-midi-output.ly
+creating-custom-dynamics-in-midi.ly
demo-midiinstruments.ly
+replacing-default-midi-instrument-equalization.ly
-%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.di.unimi.it
-%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
-%% and then run scripts/auxiliar/makelsr.py
-%%
-%% This file is in the public domain.
+% DO NOT EDIT this file manually; it is automatically
+% generated from Documentation/snippets/new
+% Make any changes in Documentation/snippets/new/
+% and then run scripts/auxiliar/makelsr.py
+%
+% This file is in the public domain.
+%% Note: this file works from version 2.19.20
+
\version "2.19.20"
\header {
doctitle = "Multi-measure rest markup"
} % begin verbatim
+
\relative c' {
\compressMMRests {
\textLengthOn
-%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.di.unimi.it
-%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
-%% and then run scripts/auxiliar/makelsr.py
-%%
-%% This file is in the public domain.
+% DO NOT EDIT this file manually; it is automatically
+% generated from Documentation/snippets/new
+% Make any changes in Documentation/snippets/new/
+% and then run scripts/auxiliar/makelsr.py
+%
+% This file is in the public domain.
+%% Note: this file works from version 2.19.20
+
\version "2.19.20"
\header {
doctitle = "Positioning multi-measure rests"
} % begin verbatim
+
\relative c'' {
% Multi-measure rests by default are set under the fourth line
R1
--- /dev/null
+% DO NOT EDIT this file manually; it is automatically
+% generated from Documentation/snippets/new
+% Make any changes in Documentation/snippets/new/
+% and then run scripts/auxiliar/makelsr.py
+%
+% This file is in the public domain.
+%% Note: this file works from version 2.18.0
+\version "2.18.0"
+
+\header {
+
+ lsrtags = "scheme-language, midi"
+
+ texidoc = "The default MIDI instrument equalizer can be replaced by
+ setting the @code{instrumentEqualizer} property in the @code{Score}
+ context to a user-defined Scheme procedure that uses a MIDI instrument
+ name as its argument along with a pair of fractions indicating the
+ minimum and maximum volumes respectively to be applied to that
+ specific instrument.
+
+ The following example sets the minimum and maximum volumes for flute
+ and clarinet respectively."
+
+ doctitle = "Replacing default MIDI instrument equalization"
+} % begin verbatim
+
+
+#(define my-instrument-equalizer-alist '())
+
+#(set! my-instrument-equalizer-alist
+ (append
+ '(
+ ("flute" . (0.7 . 0.9))
+ ("clarinet" . (0.3 . 0.6)))
+ my-instrument-equalizer-alist))
+
+#(define (my-instrument-equalizer s)
+ (let ((entry (assoc s my-instrument-equalizer-alist)))
+ (if entry
+ (cdr entry))))
+
+\score {
+ <<
+ \new Staff {
+ \key g \major
+ \time 2/2
+ \set Score.instrumentEqualizer = #my-instrument-equalizer
+ \set Staff.midiInstrument = #"flute"
+ \new Voice \relative c''' {
+ r2 g\mp g fis~
+ 4 g8 fis e2~
+ 4 d8 cis d2
+ }
+ }
+ \new Staff {
+ \key g \major
+ \set Staff.midiInstrument = #"clarinet"
+ \new Voice \relative c'' {
+ b1\p a2. b8 a
+ g2. fis8 e
+ fis2 r
+ }
+ }
+ >>
+ \layout { }
+ \midi { }
+}
changing--flageolet-mark-size.ly
changing-properties-for-individual-grobs.ly
creating-a-sequence-of-notes-on-various-pitches.ly
+creating-custom-dynamics-in-midi-output.ly
+creating-custom-dynamics-in-midi.ly
creating-double-digit-fingerings.ly
customizing-the-position-and-number-of-dots-in-repeat-sign-bar-lines.ly
displaying-grob-ancestry.ly
generating-whole-scores-also-book-parts-in-scheme-without-using-the-parser.ly
outputting-the-version-number.ly
overriding-articulations-of-destinct-type.ly
+replacing-default-midi-instrument-equalization.ly
string-number-extender-lines.ly
three-sided-box.ly
transposing-pitches-with-minimum-accidentals-smart-transpose.ly
-%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.di.unimi.it
-%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
-%% and then run scripts/auxiliar/makelsr.py
-%%
-%% This file is in the public domain.
+% DO NOT EDIT this file manually; it is automatically
+% generated from Documentation/snippets/new
+% Make any changes in Documentation/snippets/new/
+% and then run scripts/auxiliar/makelsr.py
+%
+% This file is in the public domain.
+%% Note: this file works from version 2.19.20
+
\version "2.19.20"
\header {
doctitle = "Vocal headword"
} % begin verbatim
+
%% http://lsr.di.unimi.it/LSR/Item?id=832
%% see also http://lilypond.org/doc/v2.18/Documentation/notation/vocal-music
-%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.di.unimi.it
-%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
-%% and then run scripts/auxiliar/makelsr.py
-%%
-%% This file is in the public domain.
+% DO NOT EDIT this file manually; it is automatically
+% generated from Documentation/snippets/new
+% Make any changes in Documentation/snippets/new/
+% and then run scripts/auxiliar/makelsr.py
+%
+% This file is in the public domain.
+%% Note: this file works from version 2.19.20
+
\version "2.19.20"
\header {
doctitle = "Wind headword"
} % begin verbatim
+
%% http://lsr.di.unimi.it/LSR/Item?id=833
%% see also http://lilypond.org/doc/v2.18/Documentation/notation/wind-instruments