Skip to content

A Javascript .MOD and .XM music player. Fork of a fork of a fork, changed to use Aurora.js.

Notifications You must be signed in to change notification settings

duckinator/mod.js

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

107 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mod.js

Installation

Fetch the aurora.js dependency:

git submodule init
git submodule update

Install 'importer' with npm:

sudo npm install importer -g

Build the javascript code with importer (https://npmjs.org/package/importer)

importer mod.js build.js

Demo: http://seanneilan.com/media/jsmodplayer/

Protracker features


Effects implemented:

0xy: Arpeggio
1xx: Pitch slide up (portamento)
2xx: Pitch slide down
3xx: Portamento to note [slightly buggy]
5xy: Portamento to note with volume slide [untested]
9xx: Sample offset
Axy: Volume slide
Bxx: Jump to order
Cxx: Set note volume
Dxx: Pattern break
Fxx: Set BPM
Exy Subcommands:
	E1x Fine portamento up
	E2x Fine portamento down
	E5x Set note fine-tune [untested]
	E6x Pattern loop
	E9x Re-trigger note
	EAx Fine volume slide up
	EBx Fine volume slide down
	ECx Note cut
	EDx Note delay
	EEx Pattern delay


In progress:

4xy Vibrato
6xy Vibrato with volume slide
7xy Tremolo
8xx Set note panning position
Exy Subcommands:
	E8x Set note panning position



Not implemented:

Exy Subcommands:
	E0x Amiga LED Filter toggle
	E3x Glissando control
	E4x Vibrato control
	E7x Tremolo control
	EFx Funk it!

http://www.milkytracker.org/docs/MilkyTracker.html#effects

TODO

  • Implement additional effects. Try to pass the Ode to Protracker test :)
  • Wean off dynamicaudio.js (eventually)

About

A Javascript .MOD and .XM music player. Fork of a fork of a fork, changed to use Aurora.js.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 99.5%
  • Shell 0.5%