(play! content)

Takes edna content and plays it. Returns a score map, which can be used to stop it later.

Source

(defn play! "Takes edna content and plays it. Returns a score map, which can be used to stop it later." [content] (binding [midi/*midi-synth* (midi/new-midi-synth true) sound/*use-midi-sequencer* false sound/*play-opts* {:async? true :one-off? true}] (-> content edna->alda als/score sound/play! :score)))