X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=Documentation%2Fsnippets%2Fadding-orchestral-cues-to-a-vocal-score.ly;h=f175a9d110435da57c42f3b299953d18068b75dc;hb=53da8b7d3773da804e79fd455d168efd9475d2f9;hp=ce93b59f8a74701d76fb7c47c354d5a8c514e715;hpb=c75e554c93a26d28bf58fb41a5cfbaf13eec115d;p=lilypond.git diff --git a/Documentation/snippets/adding-orchestral-cues-to-a-vocal-score.ly b/Documentation/snippets/adding-orchestral-cues-to-a-vocal-score.ly index ce93b59f8a..f175a9d110 100644 --- a/Documentation/snippets/adding-orchestral-cues-to-a-vocal-score.ly +++ b/Documentation/snippets/adding-orchestral-cues-to-a-vocal-score.ly @@ -1,77 +1,15 @@ -%% DO NOT EDIT this file manually; it is automatically -%% generated from LSR http://lsr.dsi.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. -\version "2.12.2" +% 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.15.20 +\version "2.15.20" \header { lsrtags = "staff-notation, vocal-music" -%% Translation of GIT committish: 59caa3adce63114ca7972d18f95d4aadc528ec3d - - texidoces = " - Este ejemplo muestra una forma de simplificar la adición de muchas -notas guía orquestales a la reducción de piano en una partitura vocal. -La función musical @code{\\cueWhile} toma cuatro argumentos: la música -de la que se toma la cita, como viene definida por @code{\\addQuote}, -el nombre que insertar antes de las notas guía, y después @code{#UP} o -@code{#DOWN} para especificar @code{\\voiceOne} con el nombre encima -del pentagrama o bien @code{\\voiceTwo} con el nombre debajo del -pentagrama, y finalmente la música de piano con la que las notas guía -deben aparecer en paralelo. El nombre del instrumento citado se -posiciona a la izquierda de las notas guía. Se pueden citar muchos -pasajes como guía, pero no se pueden superponer en el tiempo entre -ellos. - -" - - doctitlees = "Añadir notas guía orquestales a una partitura vocal" - - - - -%% Translation of GIT committish: 27b1197f3bae8512c14d946752cd3e40e7c76016 - - - texidocde = " -Hier wird gezeigt, wie man das Hinzufügen von vielen Orchsterstichnoten -zu einem Klavierauszug hinzufügen kann. Die musikalische Funktion -@code{\\cueWhile} braucht vier Argumente: Die Noten, von denen die -Stichnoten formatiert werden sollen, definiert durch @code{\\addQuote}, -die Bezeichnung, die mit den Noten angegeben werden soll, dann entweder -@code{#UP} (hoch) oder @code{#DOWN} (runter) zur Angabe von entweder -@code{\\voiceOne} mit der Bezeichnung über dem System oder @code{\\voiceTwo} -mit der Bezeichnung unter dem System, und schließlich die Klaviermusik, -die parallel zu den Stichnoten gespielt werden soll. Die Bezeichnung des -Stichnoteninstruments wird links der Stichnoten positioniert. Viele -Abschnitte können zitiert werden, aber sie dürfen sich nicht überlappen. - -" - doctitlede = "Orchesterstichnoten zu einem Klavierauszug hinzufügen" - - -%% Translation of GIT committish: c1d5bb448321d688185e0c6b798575d4c325ae80 - - texidocfr = " -Lorsque le nombre d'instruments cités dans la réduction pour piano se -multiplie, vous pourriez avoir intérêt à créer votre propre fonction -pour gérer ces repères. La fonction musicale @code{\\cueWhile} prend -quatre arguments@tie{}: la musique d'où provient la citation, telle que -définie par @code{\\addQuote}, le nom qui sera mentionné en regard de -cette citation, son positionnement -- @code{#UP} ou @code{#DOWN} selon -qu'il sera attribué à @code{\\voiceOne} et placé au-dessus ou -@code{\\voiceTwo} et placé en dessous -- et enfin la musique du piano -qui interviendra en parallèle. Le nom de l'instrument en question -viendra s'aligner sur la gauche de la citation. Bien que vous puissiez -effectuer plusieurs citations, elle ne peuvent être simultanées. - -" - doctitlefr = "Indication de l'instrument cité dans l'accompagnement d'une -partition pour chœur" - - texidoc = " This shows one approach to simplify adding many orchestral cues to the piano reduction in a vocal score. The music function @code{\\cueWhile} @@ -88,15 +26,16 @@ can be cued, but they cannot overlap each other in time. doctitle = "Adding orchestral cues to a vocal score" } % begin verbatim + cueWhile = #(define-music-function (parser location instrument name dir music) (string? string? ly:dir? ly:music?) #{ - \cueDuring $instrument #$dir { + \cueDuring $instrument #dir { \once \override TextScript #'self-alignment-X = #RIGHT \once \override TextScript #'direction = $dir - s1*0-\markup { \tiny $name } + <>-\markup { \tiny #name } $music } #})