1 %% DO NOT EDIT this file manually; it is automatically
2 %% generated from LSR http://lsr.di.unimi.it
3 %% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
4 %% and then run scripts/auxiliar/makelsr.py
6 %% This file is in the public domain.
10 lsrtags = "midi, scheme-language"
13 The following example shows how to create a dynamic marking, not
14 included in the default list, and assign it a specific value so that it
15 can be used to affect MIDI output.
18 The dynamic mark @code{\\rfz} is assigned a value of @code{0.9}.
21 doctitle = "Creating custom dynamics in MIDI output"
24 #(define (myDynamics dynamic)
25 (if (equal? dynamic "rfz")
27 (default-dynamic-absolute-volume dynamic)))
31 \set Staff.midiInstrument = #"cello"
32 \set Score.dynamicAbsoluteVolumeFunction = #myDynamics