bmxplay BmxplayJS
Brought to you by:
joric
File | Date | Author | Commit |
---|---|---|---|
src | 2015-12-12 |
![]() |
[fed8b4] SetVolume API function (SetMasterVolume is depr... |
README.md | 2015-12-12 |
![]() |
[fed8b4] SetVolume API function (SetMasterVolume is depr... |
audio.html | 2015-11-01 |
![]() |
[731e41] first commit |
bmxplay.min.js | 2015-12-12 |
![]() |
[fed8b4] SetVolume API function (SetMasterVolume is depr... |
index.html | 2015-12-12 |
![]() |
[fed8b4] SetVolume API function (SetMasterVolume is depr... |
package.json | 2015-11-05 |
![]() |
[f59787] 0.1.0 |
test.js | 2015-11-27 |
![]() |
[dac0e4] fixed codestyle and typos |
webgl.html | 2015-12-12 |
![]() |
[fed8b4] SetVolume API function (SetMasterVolume is depr... |
Bmxplay, JavaScript version. Written in "modern" OOP with closures (where applicable).
For C version and Buzz-compatible machines see the original bmxplay project.
http://bmxplay.sourceforge.net
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