Quote:
Originally Posted by roondar
Playing back sound from Slow RAM was one of the main motivations for me to create my audio mixer, though it does go further than only playing from Fast/Slow RAM.
If you're interested in the underlying code (might save you some time), you can find the source for it at https://powerprograms.nl/amiga/audio-mixing.html
|
Awesome and excellent article, roondar.
I recall a hundred years ago, I did a software mixing routine on DOS for soundblaster, and the way I did to add 8-bit channels together was a hybrid between your normal and your high-quality mixer:
I added up the samples, for example +70 (8bit) and +110 (8bit), total +180 (9 bit),
and then I used a lookup table of 512 elements to "remap" the value back into 8-bit: this table was logarithmic, which helped it sound louder since it would mainly compress just 'high peaks'. Also it distorts much less than a flat clipping.