You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It appends the two together as expected, however, the r4 at the end gets stripped off, so the c4 at the beginning of the second command ends up happening a quarter note too soon.
I was also able to reproduce this in an interactive Alda REPL session.
Before that line finishes playing, press Up arrow, Enter to enter the same line again.
Expected Behavior
The notes you hear are all spaced apart by quarter note rests.
Actual Behavior
It sounds like the r4 quarter note rest at the end of the first line is omitted, and there is a "hiccup" where the second line starts a quarter note too early.
Environment
Operating system and version: Ubuntu 20.04
Alda version: 2.2.3
The text was updated successfully, but these errors were encountered:
🐞 Bug report 🐞
Description
@litan on Alda Slack observed that if you run the following command twice in succession:
alda repl \ --client \ --port 43009 \ --message '{"op": "eval-and-play", "code": "percussion: o2 (tempo 240) c4 r4 c4 r4 | c4 r4 c4 r4 | c4 r4 c4 r4 | c4 r4 d4 r4"}'
It appends the two together as expected, however, the
r4
at the end gets stripped off, so thec4
at the beginning of the second command ends up happening a quarter note too soon.I was also able to reproduce this in an interactive Alda REPL session.
Steps to Reproduce
alda repl
to start a REPL session.percussion: o2 (tempo 240) c4 r4 c4 r4 | c4 r4 c4 r4 | c4 r4 c4 r4 | c4 r4 d4 r4
and press Enter.Expected Behavior
The notes you hear are all spaced apart by quarter note rests.
Actual Behavior
It sounds like the
r4
quarter note rest at the end of the first line is omitted, and there is a "hiccup" where the second line starts a quarter note too early.Environment
Operating system and version: Ubuntu 20.04
Alda version: 2.2.3
The text was updated successfully, but these errors were encountered: