View Single Post
Old 16 March 2023, 20:41   #11
remz
Registered User
 
Join Date: May 2022
Location: Canada
Posts: 139
Quote:
Originally Posted by roondar View Post
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.
remz is offline  
 
Page generated in 0.04372 seconds with 11 queries