Fork me on GitHub
#alda
<
2015-10-08
>
sventechie15:10:40

I'm really interested in the ClojureScript implementation. I noticed there's a new API for MIDI in modern browsers and a polyfill. http://www.keithmcmillen.com/blog/making-music-in-the-browser-web-midi-api/

sventechie15:10:16

@dave: what's your current idea of how to play music in CLJS?

dave18:10:26

hey @sventechie! i'm excited about the prospect of a CLJS version of alda. we've started working on it a little bit

dave18:10:03

this is a couple weeks out of date with regular alda though

dave18:10:33

and a better approach would be to convert alda's source code into cljc files, so it can compile to both java byte code and javascript

dave18:10:38

i've started working on that in a branch of alda

dave18:10:18

i think there is actually more promise in running alda as a clojurescript project than as a clojure project

dave18:10:34

it would be way more portable, and we would get to leverage the web audio api, which is super awesome, would let us define synths, etc.

dave18:10:29

this is out of date, but we have a little web demo here as a proof of concept: http://alda-lang.github.io/web-demo/ it uses midi.js