You are here: Symbol Reference > AudioSignal Namespace > Classes > TSignalOut Class > published > TSignalOut.ScaleFactor Property
DSP Master VCL
ContentsIndex
PreviousUpNext
TSignalOut.ScaleFactor Property

Defines the scale factor by which the data will be scaled just before it will be played.

Pascal
property ScaleFactor: Double;

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:

  • 8 bits: -128..+127
  • 16 bits: -32768..+32767
  • 24 bits: -8388608..+838860

 

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 (c) 1999-2025 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!