Webbased old-school Amiga music tracker in plain old javascript - Plays and edits Amiga Mod files and FastTracker XM files
Branch: master
Clone or download
Latest commit a9772f5 Feb 5, 2019
Type Name Latest commit message Commit time
Failed to load latest commit information.
api Render entire song to .wav or .mp3 (WIP) Nov 3, 2018
auth Basic Dropbox integration: load and save files Jun 26, 2017
data http to https - fixes #32 Jan 31, 2019
demomods Properly handle Pattern Breaks (thanks @zorggn for pointing that out) Jun 14, 2017
docs This file was MIA - fixes #19 Jan 31, 2019
player Updated Standalone Player Jan 25, 2019
script Typo - tx @warpdesign Feb 5, 2019
skin New Screenshots Jan 25, 2019
tools Fasttracker mode: implemented linear frequency tuning (finally!) Jun 26, 2018
.gitignore More complete modArchive API Mar 10, 2017
GruntMangleExceptions.json Package .js files into 1 file for distribution Jan 20, 2017
Gruntfile.js Making it run in FriendUP Feb 1, 2019
dev.html Making it run in FriendUP Feb 1, 2019
favicon.ico Major restructuring of UI components - multi-channel layouts - xm-mode May 4, 2018
icon48.png Initial commit Jan 12, 2017
index.html Force HTTPS on hosted version - needed by Dropbox integration. Jan 25, 2019
index_src.html Force HTTPS on hosted version - needed by Dropbox integration. Jan 25, 2019
license.txt Package .js files into 1 file for distribution Jan 20, 2017
manifest.json Combine image assets into 1 spritesheet Feb 2, 2017
package.json Making it run in FriendUP Feb 1, 2019
readme.md Updated Readme - Ready for Launch! Jan 25, 2019
version.txt Making it run in FriendUP Feb 1, 2019
version_src.txt Prepping for new release 0.3.0 Jan 25, 2019


Bassoon Tracker

Browser based old-school Amiga Music Tracker in plain old javascript.

Bassoon Tracker

Plays and edits Amiga Mod files and FastTracker XM files.
Live demo at http://www.stef.be/bassoontracker/

If you have ever heard of Protracker or Fasttracker, then you know the drill,
if not, then you are probably too young :-)

It needs a modern browser that supports WebAudio. It's tested to work on Chrome, Firefox, Safari, Edge, Chrome on Android, mobile Safari and the Samsung Android Browser. It works best in Chrome.

Bassoon Tracker


  • Load, play, edit and save Protracker and FastTracker compatible module files
  • All Protracker audio effects are supported (99% accurate, in case of historical differences in playback engines, I tend to follow the Protracker 2.X one)
    • Portamento / Frequency slides (Effect 1, 2, 3, 5, E1 and E2)
    • Vibrato (Effect 4, 6 and E4)
    • Tremolo (Effect 7 and E7)
    • Arpeggio (Effect 0)
    • Glissando (Effect E3)
    • Sample offsets (Effect 9)
    • Volume slides and settings (effect A, C, E10 and E11)
    • Position jumps (effect B)
    • Pattern breaks, loops and delays (effect D, E6 and E14)
    • Speed settings (Effect F))
    • Sample Delay, Cut, Retrigger and Finetune (Effect E13, E12, E9 and E5)
    • Lowpass/LED filter (effect E0)
  • Almost all FastTracker audio effects are supported (95% accurate)
    • Volume and Panning Envelopes
    • Auto Vibrato
    • Multiple samples per instrument
    • Extended volume commands
  • Next to the tracker effects, there are per-channel effects for low, mid, high frequency, panning and reverb control
  • Mute/solo tracks
  • Edit pattern data and sample properties, use ranges and cut/copy/paste for quick editing
  • Up to 32 channels
  • Import 8bit WAV, 8SVX and RAW samples (as well as any other format AudioContext can read, like .mp3 and .ogg)
  • Integrated sample editor: Edit and slice your samples right inside Bassoontracker
  • Includes the historic ST-01 and ST-02 sample disks, released in 1987 (as well as a bunch of others)
  • The modarchive API is integrated to access many thousands of music files
  • The modules.pl API is integrated to access even more music files
  • Export to .mod, .xm, wav and .mp3
  • Connect your Dropbox account to directly read and write your own files
  • Read more in The Docs

The playback engine has gone through extensive compatibility testing, but as the Protracker code itself is somewhat messy and muddy throughout different versions, there's always room for improvement. If you find a module that doesn't sound the way it should, let me know! There are still some very specific Protracker 1 and 2 playback quirks that are not implemented (and probably never will as they are too bat-shit-crazy)

Missing features and bugs:

  • no undo/redo functionality yet
  • the following FastTracker features are not fully supported yet
    • Tremor
    • "Set envelope position" command
    • PingPong Loops are unrolled to normal loops (There's no difference in sound but if you save your XM file, your samples will have changed.)
    • when writing XM files patterns are not packed so the resulting files will probably a little bigger then when saved with FastTracker.
  • Safari doesn't support WebAudio StereoPanners so songs will be played in mono on Safari.

Note: if you use an AZERTY, QWERTZ or DVORAK keyboard, you can set that option in the settings to have the correct layout when playing notes on your computer keyboard.

How to Build

  • the build step is optional, there are no runtime dependencies (bliss!)
  • just open dev.html in a browser to load the plain uncompressed scripts
  • to build the packaged version:
    • run "npm i" to install the grunt build tools.
    • use "grunt" to build the compressed files -> index.html will be created.
    • use "grunt sprites" to build the spritesheet. This will compact all files in the "skin/src" to a single .png file and will create a spritemap.

Future plans

  • MIDI support!
  • undo/redo on pattern edits and sample edits
  • export and import .xi instruments
  • 3SM/Screamtracker file support, maybe Octamed too
  • Allow synth/FM instruments next to sample instruments.
  • Although the tracker concept is awesome - it also would be nice to integrate it in a more modern "horizontal block compose" style interface where you can re-use and combine tracks/patterns in a composition instead of endlessly copying tracks.
  • Allow multiple notes per track (or at least give the option to let them play when a new note is triggered)
  • More effects (echo, reverb, flange, ...) should probably be implemented with graphical track-envelopes instead of instrument envelopes or more numerical effect parameters. All this would require (yet another) new file format, but that seems inevitable.
  • more simple HTML/CSS based layout - maybe the canvas approach is too heavy for really large screens? (this one is in progress)
  • plugins:
    • Jukebox plugins, filter on genre/rating etc, hit play and let it perform.
    • more expanded sample editor with audio processing features - probably as an external plugin
    • Nibbles... we definitely need Nibbles.

Player If you want to integrate the Bassoontracker playback routines in your own website, check out the "Standalone Player" examples in the "player" directory or visit the live Player demo