alda-lang / alda-server-clj

A Clojure implementation of an Alda server
Other
2 stars 2 forks source link

MIDI audio is delayed after suspending and resuming the process #3

Closed daveyarwood closed 7 years ago

daveyarwood commented 7 years ago

This was fixed previously in https://github.com/alda-lang/alda/issues/160, but the issue seems to have come back, or perhaps was never completely fixed to begin with.

It's possible that this commit caused a regression. Should test that the server properly cycles its workers after being suspended and see if there is a bug there.

It may also be a good idea to cycle out workers more regularly, e.g. every 15 minutes. It would be good if we had a way to cycle workers while ensuring that there is at least one good worker in the queue at all times, so there is no noticeable "downtime" while workers are cycling.

daveyarwood commented 7 years ago

Fixed in 0.1.2. It turned out to be a regression from the commit I mentioned above.