-
Notifications
You must be signed in to change notification settings - Fork 5
SNAMP
SNAMP is a music player for snapshot files. The goal is to use SNA files as a replacement for YM.
The YM format works well in simple cases, but isn't working very well for sidvoices, samples and digidrums, or even musics that use player call rates higher than 50Hz. Similar to the SID format for C64, or SNDH for Atari, it is simpler to bundle the z80 code to replay the music, and emulate the complete machine for a correct rendering of the music.
SNAMP uses the Reloaded engine from the emulator, which has a modular design. In fact, SNAMP is only 96 lines of code. By removing the CTM emulation and display, SNAMP is much lighter than Reloaded and does not use much CPU resources. It can be run in the background as a music player.
This is also a good example of how to embed Reloaded in existing applications.
Just drag a snapshot file onto the executable, or associate the .snamp extension to it to listen to your music with a double click.
- Plus emulation would allow use of the DMA channels and programmable interrupts.
- A playlist system (with title/artist/duration) would be nice.