Fork me on GitHub
#clojure-gamedev
<
2022-05-17
>
Vinicius Vieira Tozzi19:05:13

Hi, I am doing a very simple game using quill, but I noticed that there is no way to play audio/music. Is there a clojure library for this? I know overtone , but I suppose that would be overkill just to play some files.

phronmophobic04:05:21

You may be able to use https://docs.oracle.com/javase/tutorial/sound/ via interop to just play some sound files.

👍 2
blueberry01:07:28

@U027MB6K8RM Clojure Sound covers the same functionality as Java Sound that this tutorial covers, with much more convenience, and interactive REPL development. The tutorial examples are available as tests https://github.com/uncomplicate/clojure-sound/blob/master/test/clojure/uncomplicate/clojure_sound/midi_test.clj