Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

THE CURE

Profound demo (demoscene production) [Amiga] · By RETREAM

About the music

A topic by RETREAM created Jul 22, 2020 Views: 191
Viewing posts 1 to 1
Developer (9 edits)

A few times I've been asked questions about the music, so here's some detailed technical information:

  • music lasts 5 minutes and 23.2 seconds;
  • the original data is 48000 Hz, 16 bit, stereo;
  • the original data has been downsampled to 29073 Hz, 8 bit, stereo;
  • the resulting data amounts to (5 * 60 + 23.2) * 29073 * 2 = 18792788 bytes;
  • the resulting data has been compressed with a custom lossless method (Huffman-based) that brings it to 10902907 bytes (5479759 left + 5520940 right);
  • the compressed data is decompressed in real time by an algorithm written specifically for an unexpanded A1200 (originally for SkillGrid);
  • every frame, the algorithm decompresses just slightly more than the amount of data strictly needed (so, after a bunch of frames, the internal buffers are full and the decompression stops for a frame);
  • on a 68030-equipped Amiga, decompressing takes about 42 rasterlines, i.e. about 14% of a frame time.

The close-to-the-original version can be listened to from SoundCloud: