leipzig.live

channels

jam

(jam riff)
Plays riff repeatedly, freshly dereferencing it each time
(riff must be a ref). To terminate the looping, set riff
to nil.
e.g. (jam (var melody))

     ; Later...
     (def melody nil)

play

(play notes)
Plays notes now.
e.g. (->> melody play)

play-note

multimethod

Plays a note according to its :part.
e.g. (play-note {:part :bass :time _})

stop

(stop)
Kills all running melodies.
e.g. (->> melody play)

     ; Later
     (stop)