✕
ABOUT BAUBLE
BAUBLE is an FM drum synth that runs in the browser. Nothing new, doesn't sound that amazing, but it's free!
It all started when I told myself I couldn't part with the cash for an elektron model:cycles. It's far from that
but the random button is quite fun, and if you press the EXPORT button at the top, it will generate a wav file
which you can import into your favourite music making software.
Technical details
The whole point of this for me was exploing the technical challenge of creating audio UI's in html/javascript
rather than coding them painfully in C++. The outcome was very encouraging. You get so much stuff for free,
that it's almost stupid to try doing it in C++, I think I'm sold - I have done other experiments where I send
waveform data from the C++ code to the html view and you can get a lot of performance out of it.
All the audio code is programmed in C++ and converted to javascript using emscripten. It was developed using
a live coding C++ framework called cppsketch, which now has a new
demo that lets you make your UI in html, shown via a WebKit WebView (on the mac) - see the "audioweb" example.