Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/stagas/mod-parser
module (.mod) parser in javascript
https://github.com/stagas/mod-parser
Last synced: 14 days ago
JSON representation
module (.mod) parser in javascript
- Host: GitHub
- URL: https://github.com/stagas/mod-parser
- Owner: stagas
- Created: 2013-05-13T08:21:14.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2013-05-13T08:31:08.000Z (over 11 years ago)
- Last Synced: 2024-04-08T15:45:21.219Z (7 months ago)
- Language: JavaScript
- Size: 1.56 MB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# mod-parser
module (.mod) parser in javascript
## Example
```js
function play(buffer){
if (playing) playing.disconnect();
var mod = new ModParser(buffer);
var player = new ModPlayer(mod, rate, size);
var node = playing = process(audio, size, player.process);
node.connect(audio.destination);
}
```## Credits
* [gasman](https://github.com/gasman) [original](https://github.com/gasman/jsmodplayer)
* [BillyWM](https://github.com/BillyWM) [improvements (fork based upon)](https://github.com/BillyWM/jsmodplayer)## License
MIT