diff --git a/index.html b/index.html index 7fdc440..66d3a55 100644 --- a/index.html +++ b/index.html @@ -883,33 +883,43 @@ function LessonBody({ id, detected, onTarget, listening, onStartMic }) { {f+1} ))} - {/* Open string circles left of nut */} - - 0 - - 0 + {/* Per-string markers left of nut: O=open, X=muted, nothing=fretted */} + {[ + {s:0, type:"open"}, + {s:1, type:"muted"}, + {s:2, type:"muted"}, + {s:3, type:"muted"}, + {s:4, type:"open"}, + {s:5, type:"open"}, + ].map(({s,type})=>{ + const cy = TOP+s*strGap; + const cx = LEFT-16; + if(type==="open") return ( + + + 0 + + ); + return ( + + + + + ); + })} {/* Fretted dots */} - {[{s:0,f:3,n:"G"},{s:1,f:2,n:"A"},{s:4,f:2,n:"B"},{s:5,f:3,n:"G"}].map(({s,f,n},i)=>{ + {[{s:0,f:3,n:"3"},{s:1,f:2,n:"2"},{s:4,f:2,n:"1"},{s:5,f:3,n:"4"}].map(({s,f,n},i)=>{ const cx=LEFT+(f-0.5)*fretGap, cy=TOP+s*strGap; return ( - {n} ); })} - {/* Muted strings */} - {[2,3].map(s=>{ - const cy=TOP+s*strGap; - return ( - - - - - ); - })} 0 = open string (no fingers). A number = press that fret. X = don't play that string. Green O = open, play it.