WebSid (WebAudio version of Tiny'R'Sid)
It allows to play .mus and RSID/PSID format *.sid music files. (Respective music files can be found here: http://www.hvsc.c64.org/)
There also is a WordPress plugin that allows to easily integrate the player: https://wordpress.org/plugins/tinyrsid-adapter/
This current version uses a cycle-by-cycle emulation approach (i.e. it has been substantially rewritten). As compared to the previously used "predictive" approach it allows for a much simpler implementation and it simply avoids most of the problems that had haunted the old implementation (e.g. correct timing of ADSR-delay bug, etc). Unfortunately the new implementation is computationally much more expensive (50-100% more CPU).
Known limitations: see src/KnownLimitations.txt for details
An online demo of the emulator can be accessed using: http://www.wothke.ch/tinyrsid/index.php/explorer?playlistId=103 or http://www.wothke.ch/websid/
- old/original TinySid PSID emulator code (there is not much left of it..) - Copyright (C) 1999-2012 T. Hinrichs, R. Sinsch
- "combined waveform" generation, "waveform anti-aliasing" and "filter" implementation by Hermit (see http://hermit.sidrip.com)
- based on various reverse engineering information by: Christian Bauer, Wolfgang Lorenz, resid team, etc
- playback of Compute! .mus files is based on "Enhanced Sidplayer" by Craig Chamberlain
You'll need Emscripten; see http://kripken.github.io/emscripten-site/docs/getting_started/downloads.html . In case you want to compile to WebAssembly (see respective "WASM" switch in the make-scripts) then you'll need at least emscripten 1.37.29 (for use of WASM you'll then also need a recent version of my respective "WebAudio ScriptProcessor music player").
The below instructions assume a command prompt has been opened within the "websid" folder, and that the Emscripten environment vars have been set (run emsdk_env.bat).
Running the makeEmscriptenTest.bat will generate test version which is directly written into the web-page example in the "htdocs_test" sub-folder (the respective page then allows to run the various tests from Wolfgang Lorenz's "test-suite").
Disclaimer: the .sh version of the make-script has been contributed by somebody else and I am not maintaing it or verifying that it still works.
The current version requires version 1.02 (older versions will not support WebAssembly) of my https://github.com/wothke/webaudio-player (use of the most recent version is recommended).