]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/snippets/printing-note-names-with-and-without-an-octave-marker.ly
Docs: run convert-ly for 2.14.0.
[lilypond.git] / Documentation / snippets / printing-note-names-with-and-without-an-octave-marker.ly
1 %% DO NOT EDIT this file manually; it is automatically
2 %% generated from LSR http://lsr.dsi.unimi.it
3 %% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
4 %% and then run scripts/auxiliar/makelsr.py
5 %%
6 %% This file is in the public domain.
7 \version "2.14.0"
8
9 \header {
10   lsrtags = "tweaks-and-overrides"
11
12 %% Translation of GIT committish: 59caa3adce63114ca7972d18f95d4aadc528ec3d
13   texidoces = "
14 Se puede usar el contexto @code{NoteNames} para imprimir el valor
15 textual de las notas.  La propiedad @code{printOctaveNames} activa o
16 desactiva la representación de la octava de las notas.
17
18 "
19   doctitlees = "Impresión de los nombres de las notas con o sin indicación de la octava"
20
21
22
23   texidoc = "
24 The @code{NoteNames} context can be used to print the text value of
25 notes.  The @code{printOctaveNames} property turns on or off the
26 representation of the octave of the note.
27
28 "
29   doctitle = "Printing note names with and without an octave marker"
30 } % begin verbatim
31
32 scale = \relative c' {
33   a4 b c d
34   e4 f g a
35 }
36
37 \new Staff {
38   <<
39     \scale
40     \context NoteNames {
41       \set printOctaveNames = ##f
42       \scale
43     }
44   >>
45   R1
46   <<
47     \scale
48     \context NoteNames {
49       \set printOctaveNames = ##t
50       \scale
51     }
52   >>
53 }
54