Add regression test for 2256
--- /dev/null
+\version "2.15.28"
+
+\header {
+
+ texidoc = "
+Open strings can always be part of a chord in tablature, even when frets
+above 4 have been used in the chord. In this case, both chords should show
+an open fourth string."
+
+}
+
+\score {
+ \new TabStaff {
+ \set TabStaff.stringTunings = \stringTuning <c g d' a'>
+ <c g'> 1 <c\4 g'> 1
+ }
+}
#t
(map (lambda (specced-fret)
(or (eq? 0 specced-fret)
+ (eq? 0 fret)
(>= maximum-stretch (abs (- fret specced-fret)))))
specified-frets))))
"Can @var{pitch} be played on @var{string}, given already placed
notes?"
(let* ((fret (calc-fret pitch string tuning)))
- (and (>= fret minimum-fret)
+ (and (or (eq? fret 0) (>= fret minimum-fret))
(close-enough fret))))
(define (open-string string pitch)