(loop-music music-file)
Continuously loop a music track using the main music thread.
Continuously loop a music track using the main music thread.
(play-sound sound-file)
Play a sound effect on it's own thread so that we don't kill the
music when we call .close
.
Play a sound effect on it's own thread so that we don't kill the music when we call `.close`.
(stop-music)
Stop the music on the main music thread.
Stop the music on the main music thread.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close