1 % DO NOT EDIT this file manually; it is automatically
2 % generated from Documentation/snippets/new
3 % Make any changes in Documentation/snippets/new/
4 % and then run scripts/auxiliar/makelsr.py
6 % This file is in the public domain.
7 %% Note: this file works from version 2.15.31
11 %% Translation of GIT committish: 6977ddc9a3b63ea810eaecb864269c7d847ccf98
14 Las cabezas de nota de notación fácil utilizan la propiedad
15 @code{note-names} del objeto @code{NoteHead} para determinar lo que
16 aparece dentro de la cabeza. Mediante la sobreescritura de esta
17 propiedad, es posible imprimir números que representen el grado de la
20 Se puede crear un grabador simple que haga esto para la cabeza de cada
25 doctitlees = "Números como notas de notación fácil"
27 %% Translation of GIT committish: bbf8fd2b5a3ebf20a1fdc91613dc49045a53a270
29 Le teste di nota con nome della nota usano la proprietà @code{note-names}
30 dell'oggetto @code{NoteHead} per determinare cosa appaia
31 all'interno della testa. È possibile sovrascrivere questa proprietà
32 e mostrare numeri che corrispondano ai gradi della scala.
34 Si può creare un semplice incisore che faccia questo per oggni
35 oggetto testa di nota che incontra.
37 doctitleit = "Numeri dentro le teste di nota"
39 %% Translation of GIT committish: 3b125956b08d27ef39cd48bfa3a2f1e1bb2ae8b4
41 En mode @qq{easy play}, les têtes de note utilisent la propriété
42 @code{note-names} attachée à l'objet @code{NoteHead} pour déterminer ce
43 qui apparaîtra dans la tête. Intervenir sur cette propriété permet
44 d'imprimer un chiffre correspondant au degré dans la gamme.
46 La création d'un graveur dédié permet de traiter toutes les notes.
48 doctitlefr = "Easy play -- chiffre en lieu et place des lettres"
52 Easy notation note heads use the @code{note-names} property
53 of the @code{NoteHead} object to determine what appears inside
54 the note head. By overriding this property, it is possible
55 to print numbers representing the scale-degree.
57 A simple engraver can be created to do this for every note head
60 doctitle = "Numbers as easy note heads"
64 #(define Ez_numbers_engraver
67 ((note-head-interface engraver grob source-engraver)
68 (let* ((context (ly:translator-context engraver))
69 (tonic-pitch (ly:context-property context 'tonic))
70 (tonic-name (ly:pitch-notename tonic-pitch))
72 (ly:event-property (event-cause grob) 'pitch))
73 (grob-name (ly:pitch-notename grob-pitch))
74 (delta (modulo (- grob-name tonic-name) 7))
76 (make-vector 7 (number->string (1+ delta)))))
77 (ly:grob-set-property! grob 'note-names note-names))))))
79 #(set-global-staff-size 26)
85 \consists \Ez_numbers_engraver