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): number
SetCallback(callback: function({pos:number, size:number})): void
Play(): boolean
Stop(): boolean
SetPos(pos: number): void
IsPlaying(): boolean
SetVolume(vol: number): void
Render(callback: function(data: array), repeats: number): void
GetOscData(type: number, size: number, smooth: number): array
MIT