public marks

PUBLIC MARKS from sbrothier with tags music & javascript

September 2015

Waveform.js

Waveform.js makes drawing SoundCloud waveforms simple and lets you style and color them the way you want it. It comes as a small JavaScript library and is using a lightweight service hosted on waveformjs.org that translates the waveform images provided by SoundCloud into floating points.

January 2014

TypedArray.org | JavaScript for interactive developers

A few years ago, I wrote a little ActionScript 3 library called MicRecorder, which allowed you to record the microphone input and export it to a .WAV file. Very simple, but pretty handy. The other day I thought it would be cool to port it to JavaScript. I realized quickly that it is not as easy. In Flash, the SampleDataEvent directly provides the byte stream  PCM samples) from the microphone. With getUserMedia, the Web Audio APIs are required to extract the samples. Note that getUserMedia and Web Audio are not broadly supported yet, but it is coming. Firefox has also landed Web Audio recently, which is great news.

Teoria.js - Music Theory in JavaScript

(via)
Write a chord in the input (try C13b9 or maybe Fsus4maj#11) above and hit enter. You can click and drag your way around the wave function.

April 2010

SoundManager 2: Javascript Sound For The Web

by 13 others
SoundManager 2 makes it easier to play sounds using Javascript. By wrapping and extending the Flash sound API, SoundManager 2 brings solid audio functionality to Javascript.