]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/snippets/printing-note-names-with-and-without-an-octave-marker.ly
8c5fe23ed43dfdeb84cac29206ff82e6c3058bb0
[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.2"
8
9 \header {
10   lsrtags = "tweaks-and-overrides"
11
12 %% Translation of GIT committish: 6977ddc9a3b63ea810eaecb864269c7d847ccf98
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
33 scale = \relative c' {
34   a4 b c d
35   e4 f g a
36 }
37
38 \new Staff {
39   <<
40     \scale
41     \context NoteNames {
42       \set printOctaveNames = ##f
43       \scale
44     }
45   >>
46   R1
47   <<
48     \scale
49     \context NoteNames {
50       \set printOctaveNames = ##t
51       \scale
52     }
53   >>
54 }
55