X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=Documentation%2Fsnippets%2Fadding-orchestral-cues-to-a-vocal-score.ly;h=cd77b63ccc8583ed8d4e7cc59e5b58bced13c5d6;hb=26a079ca2393d053315ef8dbef626c897dc9645a;hp=51b1b62107b4fce21d4483d074ebf454ffb3f058;hpb=adc6cbf9a271370c1453bfca918f810d9f2906f1;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 51b1b62107..cd77b63ccc 100644 --- a/Documentation/snippets/adding-orchestral-cues-to-a-vocal-score.ly +++ b/Documentation/snippets/adding-orchestral-cues-to-a-vocal-score.ly @@ -1,34 +1,15 @@ -%% Do not edit this file; it is automatically -%% generated from LSR http://lsr.dsi.unimi.it -%% 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.16.0" \header { lsrtags = "staff-notation, vocal-music" -%% Translation of GIT committish: fa19277d20f8ab0397c560eb0e7b814bd804ecec - - 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" - - - - texidoc = " This shows one approach to simplify adding many orchestral cues to the piano reduction in a vocal score. The music function @code{\\cueWhile} @@ -45,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 } #})