Force spectrum dashboard through reservoir
This commit is contained in:
parent
2351a8ffb8
commit
0eb18b0c46
3 changed files with 21 additions and 12 deletions
|
|
@ -29,7 +29,7 @@ public sealed class MimirAudioSpectrumAnalyzer
|
|||
public MimirAudioSpectrumAnalyzer(int fftSize = 8192, int displayBandCount = 48)
|
||||
{
|
||||
this.fftSize = Math.Clamp(NextPowerOfTwo(Math.Max(MinimumFftSize, fftSize)), MinimumFftSize, MaximumFftSize);
|
||||
this.displayBandCount = Math.Clamp(displayBandCount, 16, 96);
|
||||
this.displayBandCount = Math.Clamp(displayBandCount, 16, 192);
|
||||
spectrum = new Complex[this.fftSize];
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue