Skip to content

stagas/mod-player

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mod-player

module (.mod) player in javascript

Example

function play(buffer){
  if (playing) playing.disconnect();
  var mod = new ModParser(buffer);
  var player = new ModPlayer(mod, audio.sampleRate);
  var node = playing = process(audio, sampleLength, player.process);
  node.connect(audio.destination);
}

Credits

License

MIT

About

module (.mod) player in javascript

Resources

Stars

Watchers

Forks

Packages

No packages published