]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/snippets/printing-note-names-with-and-without-an-octave-marker.ly
79e9720b84505e1690a0cef393a9013114eabef1
[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: b482c3e5b56c3841a88d957e0ca12964bd3e64fa
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 %% Translation of GIT committish: 28097cf54698db364afeb75658e4c8e0e0ccd716
24   texidocfr = "
25 Le contexte @code{NoteNames} permet d'imprimer le nom des notes.  La
26 propriété @code{printOctaveNames}, une fois activée, leur adjoindra une
27 indication d'octave.
28
29 "
30   doctitlefr = "Impression des noms de notes avec ou sans indication d'octave"
31
32   texidoc = "
33 The @code{NoteNames} context can be used to print the text value of
34 notes.  The @code{printOctaveNames} property turns on or off the
35 representation of the octave of the note.
36
37 "
38   doctitle = "Printing note names with and without an octave marker"
39 } % begin verbatim
40
41
42 scale = \relative c' {
43   a4 b c d
44   e4 f g a
45 }
46
47 \new Staff {
48   <<
49     \scale
50     \context NoteNames {
51       \set printOctaveNames = ##f
52       \scale
53     }
54   >>
55   R1
56   <<
57     \scale
58     \context NoteNames {
59       \set printOctaveNames = ##t
60       \scale
61     }
62   >>
63 }
64