Re: PC speaker, Adlib, MIDI, Sound source volume using 16-bit samples(with dB scale 0-1 for setting the volume)?
Posted on 2015-12-01, 06:09
With 48dB being full attenuation (so it's a linear factor of 1.0. So the linear curve of the value set by the register (0-48dB) is mapped to a workable multiply factor (0.0-1.0) to multiply the output samples with for the correct volume). So effectively output of a sample is: ChannelOutput = …