DewDSPMasterNET
TSignalOut.ScaleFactor Property

Class
TSignalOut

Declaration
Property ScaleFactor: TSample read FScaleFactor write SetScaleFactor;
Description
Defines the scale factor by which the data will be scaled just before it will be played. Ideally the scaleFactor should be such, that the maximum value of the audio stream never needs to be clipped, but it is also not less then 2x smaller then the maximum allowed value for the given dynamic range. (bits of precision).

Here are the maximum allowed ranges for different bit depths:

If the values of the signal do not take advantage of the full available dynamic range, the quality of the sound will suffer. The monitorData method will returned unscaled data.

Copyright 2008 Dew Research
http://www.dewresearch.com