Skip to content

Latest commit

 

History

47 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BmxplayJS

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

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

Demo

http://joric.github.io/bmxplayjs

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
  • SetVolume(vol: number): void
  • Render(callback: function(data: array), repeats: number): void
  • GetOscData(type: number, size: number, smooth: number): array

License

MIT

About

Bmxplay, JavaScript version with modern OOP and closures

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages