Record external audio simply in Clojure
<p>I feel like I must be missing something obvious here (I'm quite new to Clojure), but is there a simple way to record external audio in Clojure? I've looked into <a href="https://overtone.github.io/" rel="nofollow">Overtone</a> and <a href="https://github.com/candera/dynne" rel="nofollow">Dynne</a>, but couldn't find a way to record <em>external</em> audio.</p>

<p>Something like:</p>

<pre><code>(require 'supercoolaudiolib :as a)
(def soundcard "XYZ_soundcard")
(a/defsoundbuffer x)
(a/start-recording soundcard x)
;; Some time passes
(a/stop-recording x)
</code></pre>