mirror of
https://github.com/kennethreitz/rhymepad.org.git
synced 2026-06-11 17:08:33 +00:00
Rapper-native: ad-lib awareness and a bar counter
Inline (parentheticals) are delivery, not text — they no longer rhyme
or steal the line-ending slot ("...bunch (yeah)" rhymes on bunch).
The readout leads with "bar 3/16" for the caret's place in its verse.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -602,6 +602,10 @@ function buildReadout(){
|
||||
parts.push(p);
|
||||
}
|
||||
const st = caretStanza();
|
||||
if(st){
|
||||
const bi = st.lines.indexOf(ln);
|
||||
if(bi >= 0) parts.unshift(`bar ${bi + 1}/${st.lines.length}`);
|
||||
}
|
||||
if(st && st.scheme){
|
||||
const sch = st.scheme.toUpperCase();
|
||||
const shown = sch.slice(0, 16).split('').join(' ') + (sch.length > 16 ? ' …' : '');
|
||||
|
||||
Reference in New Issue
Block a user