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