Bmxplay, JavaScript version. Written in "modern" OOP with closures (where applicable).
For C version and Buzz-compatible machines see my original bmxplay project.
http://joric.github.io/bmxplayjs
npm:
npm install && npm run-script compile
Load(bytes: string): numberSetCallback(callback: function({pos:number, size:number})): voidPlay(): booleanStop(): booleanSetPos(pos: number): voidIsPlaying(): booleanSetVolume(vol: number): voidRender(callback: function(data: array), repeats: number): voidGetOscData(type: number, size: number, smooth: number): array
MIT