mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-03-13 23:26:07 +09:00
music player widget as a separate module
This commit is contained in:
@@ -418,7 +418,7 @@ class BasicDebugInfoWindow : UICanvas() {
|
||||
|
||||
fun getSmoothingFactor(sampleCount: Int) = (1.0 - (256.0 / sampleCount))
|
||||
val PEAK_SMOOTHING_FACTOR = getSmoothingFactor(640)
|
||||
val FFT_SMOOTHING_FACTOR = getSmoothingFactor(960)
|
||||
val FFT_SMOOTHING_FACTOR = getSmoothingFactor(1200)
|
||||
val LAMP_SMOOTHING_FACTOR = getSmoothingFactor(3200)
|
||||
val RMS_SMOOTHING_FACTOR = getSmoothingFactor(12000)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user