alda-lang / alda-core

The core machinery of Alda
80 stars 26 forks source link

CLI --from/--to and REPL :from/:to seem to have stopped working #63

Closed daveyarwood closed 6 years ago

daveyarwood commented 6 years ago

I think there may have been a regression at some point, causing the from/to functionality not to work as expected. I recall that the from/to options initially worked when we implemented them.

Steps to Reproduce

CLI

$ alda play -f examples/bach_cello_suite_no_1.alda --from 0:05 --to 0:10

REPL

> :load ~/code/alda-core/examples/bach_cello_suite_no_1.alda
This action will overwrite the current score. Continue?
(y)es, (n)o
c> :play from 0:05 to 0:10

Expected Behavior

You hear playback starting from 5 seconds into the score and stopping at 10 seconds into the score.

Actual Behavior

CLI

You hear what sounds like the beginning of the score up to 10 seconds(?) into the score.

REPL

You hear the entire score.

daveyarwood commented 6 years ago

Fixed in 1.0.0-rc77.