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.
7 lsrtags = "staff-notation, fretted-strings"
10 Tablature can be formatted using letters instead of numbers.
13 doctitle = "Letter tablature formatting"
16 #(define (letter-tablature-format str context event)
17 (let ((tuning (ly:context-property context 'stringTunings))
18 (pitch (ly:event-property event 'pitch)))
21 (string (integer->char
22 (+ (char->integer #\a)
23 (- (ly:pitch-semitones pitch)
24 (list-ref tuning (- str 1))))))))))
38 tablatureFormat = #letter-tablature-format