mirror of
https://github.com/ninjamuffin99/Funkin.git
synced 2025-12-01 16:51:27 +00:00
lower fft res on desktop
This commit is contained in:
parent
4f0e77c974
commit
c54c10f562
|
|
@ -55,6 +55,13 @@ class ABotVis extends FlxTypedSpriteGroup<FlxSprite>
|
||||||
{
|
{
|
||||||
@:privateAccess
|
@:privateAccess
|
||||||
analyzer = new SpectralAnalyzer(snd._channel.__source, 7, 0.1, 30);
|
analyzer = new SpectralAnalyzer(snd._channel.__source, 7, 0.1, 30);
|
||||||
|
|
||||||
|
#if desktop
|
||||||
|
// On desktop it uses FFT stuff that isn't as optimized as the direct browser stuff we use on HTML5
|
||||||
|
// So we want to manually change it!
|
||||||
|
analyzer.fftN = 512;
|
||||||
|
#end
|
||||||
|
|
||||||
// analyzer.maxDb = -35;
|
// analyzer.maxDb = -35;
|
||||||
// analyzer.fftN = 2048;
|
// analyzer.fftN = 2048;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue