alda

WE'VE MOVED! Join us at: http://slack.alda.io
sventechie 2015-10-08T15:41:40.000029Z

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/

sventechie 2015-10-08T15:42:16.000031Z

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

dave 2015-10-08T18:43:26.000032Z

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

dave 2015-10-08T18:43:38.000033Z

https://github.com/alda-lang/alda-cljs

dave 2015-10-08T18:44:03.000035Z

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

dave 2015-10-08T18:44:33.000036Z

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

dave 2015-10-08T18:45:38.000038Z

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

dave 2015-10-08T18:46:18.000039Z

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

dave 2015-10-08T18:46:34.000040Z

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.

dave 2015-10-08T18:47:29.000041Z

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