X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=input%2Fregression%2Fmusic-function-post-event.ly;fp=input%2Fregression%2Fmusic-function-post-event.ly;h=77346dcc8722bd76f902e6757a5e5d0e893ea760;hb=e90f0536f9be39ada0bef0aeb0d275dec3b2fb5b;hp=0000000000000000000000000000000000000000;hpb=a8c9e8a7ca320ab0df5fd32e717fd62cd7635ce6;p=lilypond.git diff --git a/input/regression/music-function-post-event.ly b/input/regression/music-function-post-event.ly new file mode 100644 index 0000000000..77346dcc87 --- /dev/null +++ b/input/regression/music-function-post-event.ly @@ -0,0 +1,22 @@ +\version "2.14.0" + +\header +{ + + texidoc = "Music functions may be attached to notes; +in this case they must be introduced by a direction +indicator. If a non-neutral direction is given (i.e. +anything else than a dash), then the 'direction property +of the resulting object is set accordingly." + +} + +dynScript = +#(define-music-function (parser location text) (string?) + (make-dynamic-script text)) + +\relative c' { + c1-\dynScript "pp" + c^\dynScript "fp" + c_\dynScript "spz" +}