X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=scm%2Fdefine-woodwind-diagrams.scm;h=f60ba5a43b10a26ae4a9833492fe5e88c9ae83bd;hb=d61cf3bbdb1c6670a127ba3baddf2f04d3e34fd3;hp=944d9c67a93830a2a6d8a0115af2b54fcfc51346;hpb=55ac733b69643a6bc6a83b706c65cb56efd388ef;p=lilypond.git diff --git a/scm/define-woodwind-diagrams.scm b/scm/define-woodwind-diagrams.scm index 944d9c67a9..f60ba5a43b 100644 --- a/scm/define-woodwind-diagrams.scm +++ b/scm/define-woodwind-diagrams.scm @@ -1,6 +1,6 @@ ;;;; This file is part of LilyPond, the GNU music typesetter. ;;;; -;;;; Copyright (C) 2010--2011 Mike Solomon +;;;; Copyright (C) 2010--2012 Mike Solomon ;;;; Clarinet drawings copied from diagrams created by ;;;; Gilles Thibault ;;;; @@ -22,16 +22,17 @@ ;; Utility functions (define-public (symbol-concatenate . names) - "Like string-concatenate, but for symbols" + "Like @code{string-concatenate}, but for symbols." (string->symbol (apply string-append (map symbol->string names)))) (define-public (function-chain arg function-list) - "Applies a list of functions in function list to arg. - Each element of function list is structured (cons function '(arg2 arg3 ...)) - If function takes arguments besides arg, they are provided in function list. - For example: - @code{guile> (function-chain 1 `((,+ 1) (,- 2) (,+ 3) (,/)))} - @code{1/3}" + "Applies a list of functions in @var{function-list} to @var{arg}. +Each element of @var{function-list} is structured @code{(cons function +'(arg2 arg3 ...))}. If function takes arguments besides @var{arg}, they +are provided in @var{function-list}. + +Example: Executing @samp{(function-chain 1 `((,+ 1) (,- 2) (,+ 3) (,/)))} +returns @samp{1/3}." (if (null? function-list) arg (function-chain @@ -863,13 +864,13 @@ CL-RH-H-STRETCH CL-RH-V-STRETCH)) -(define clarinet-rh-e-key-stencil +(define clarinet-rh-gis-key-stencil (standard-path-stencil '((0.0 1.0 1.0 1.0 1.0 0.0) (1.0 -1.0 0.0 -1.0 0.0 0.0)) CL-RH-H-STRETCH CL-RH-V-STRETCH)) -(define clarinet-rh-ees-key-stencil +(define clarinet-rh-e-key-stencil (standard-path-stencil `(,(bezier-head-for-stencil '((0.0 . 0.0) (0.0 . -1.0) (1.0 . -1.0) (1.0 . 0.0)) @@ -886,9 +887,9 @@ CL-RH-H-STRETCH CL-RH-V-STRETCH)) -(define clarinet-rh-gis-key-stencil clarinet-rh-e-key-stencil) +(define clarinet-rh-f-key-stencil clarinet-rh-gis-key-stencil) -(define bass-clarinet-rh-f-key-stencil +(define bass-clarinet-rh-ees-key-stencil (standard-path-stencil `(,(bezier-head-for-stencil '((0.0 . 0.0) (0.0 . -1.0) (1.0 . -1.0) (1.0 . 0.0)) @@ -900,9 +901,9 @@ CL-RH-H-STRETCH (- CL-RH-V-STRETCH))) -(define low-bass-clarinet-rh-f-key-stencil clarinet-rh-ees-key-stencil) +(define low-bass-clarinet-rh-ees-key-stencil clarinet-rh-e-key-stencil) -(define clarinet-rh-d-key-stencil clarinet-rh-e-key-stencil) +(define clarinet-rh-d-key-stencil clarinet-rh-gis-key-stencil) ;;; Saxophone family stencils