alda-lang / alda-server-clj

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

Support for stop-playback command #9

Closed daveyarwood closed 7 years ago

daveyarwood commented 7 years ago

The glue between the client running alda stop (or :stop in the Alda REPL), and the worker using the new "stop playback" feature implemented in https://github.com/alda-lang/alda-sound-engine-clj/pull/8.

When the server gets a stop-playback command, it sends a STOP message to all workers.

When a worker gets the STOP signal, it stops any currently playing scores.