Closed wiwikuan closed 3 years ago
Update: If I added a lot of extra empty bars at the end, like this, then it solves the problem. Maybe there's a bug in how alda play
calculates when to stop.
Wow, this demo file is fantastic! Well done!
I was able to reproduce the problem locally by playing the file in your first post. It also cut off abruptly for me. I think there must be a bug in the logic that determines how long to wait before shutting the player process down. I'll have a look soon and see if I can figure out why this is happening and fix it.
@wiwikuan Oops. I should have copied your score file somewhere, and now it looks like it isn't available anymore at the link you provided above.
Do you still have a score that I can use to repro the issue?
Hi, I just put them back: https://wiwicloud.com/demo3-1.alda and https://wiwicloud.com/demo3-1-extra-bars.alda
I've fixed this in Alda 2.0.5, which is available now. Thanks again for reporting this bug!
🐞 Bug report 🐞
Description
alda play
stops way too early when I try to play my file.Steps to Reproduce
I tried to play this file that I composed by
alda play -f demo3-1.alda
, and it doesn't play the whole file, instead, it stopped playing about 8 bars before the end.But if I
alda export -f demo3-1.alda -o demo3-1.mid
, it can produce a correct MIDI file from start to end.I then used Audacious to play the exported midi file by
alda export -f demo3-1.alda -o demo3-1.mid && audacious -Hq demo3-1.mid
, it plays perfectly from start to end. So the problem must be something about thealda play
command, not the interpretation of the file itself.Expected Behavior
I expect it plays the whole file without cutting off the end.
Actual Behavior
It cuts off about the final 10 seconds.
Environment
I tried on macOS 10.14 and Linux (64-bit), exactly the same behavior.
Alda version:
Health check:
Logs:
``