BASS.NET API for the Un4seen BASS Audio Library

VisualsMaxFrequencySpectrum Property

BASS.NET API for the Un4seen BASS Audio Library
Gets or Sets the maximum number of samples to use when the fullSpectrum option is used (Default=2047 - all).

By default the full spectrum is drawn, which are 2047 samples. With this option you might limit this, since very high frequencies are often not much relevant for a visual display. You might use the FFTFrequency2Index(Int32, Int32, Int32) method with a length value of MaxFFTData here to calculate an index for a desired upper limit frequency. E.g. if you want to limit the full spectrum display to an upper limit of around 11843Hz with a stream having a sampling rate of 44100Hz you might set this value to 1100.

Namespace:  Un4seen.Bass.Misc
Assembly:  Bass.Net (in Bass.Net.dll) Version: 2.4.17.5
Syntax

public int MaxFrequencySpectrum { get; set; }

Property Value

Type: Int32
See Also

Reference