bmxplayjs

0.1.0 • Public • Published

BmxplayJS

Bmxplay, JavaScript version. Written in "modern" OOP with closures (where applicable).

For C version and Buzz-compatible machines see the original bmxplay project.

Demo

http://bmxplay.sourceforge.net

Installation

npm:

npm install && npm run-script compile

API

  • Load(bytes: string): number
  • SetCallback(callback: function({pos:number, size:number})): void
  • Play(): boolean
  • Stop(): boolean
  • SetPos(pos: number): void
  • IsPlaying(): boolean
  • SetMasterVolume(vol: number): void
  • Render(callback: function(data: array), repeats: number): void
  • GetOscData(type: number, size: number, smooth: number): array

License

MIT

Readme

Keywords

Package Sidebar

Install

npm i bmxplayjs

Weekly Downloads

1

Version

0.1.0

License

MIT

Last publish

Collaborators

  • joric