Restrict binaural difference UI range to 0.5-20 Hz to match validator

This commit is contained in:
Tretzi
2026-04-16 17:46:08 -05:00
parent f2a9e3daa7
commit 3a40ee5a0c
2 changed files with 2 additions and 2 deletions

View File

@@ -13,5 +13,5 @@ object ParameterRanges {
const val CARRIER_HZ_MAX = 1200f
const val BINAURAL_HZ_MIN = 0.5f
const val BINAURAL_HZ_MAX = 30f
const val BINAURAL_HZ_MAX = 20f
}

View File

@@ -35,7 +35,7 @@ object TimelineParameters {
ParameterId.BRIGHTNESS to Range(min = 0.0001f, max = 1.0f, logScale = true, units = "%"),
ParameterId.BLINK_RATE to Range(min = 0.1f, max = 30f, logScale = true, units = "Hz"),
ParameterId.CARRIER_FREQUENCY to Range(min = 200f, max = 1200f, logScale = true, units = "Hz"),
ParameterId.BINAURAL_BEAT to Range(min = 0.5f, max = 30f, logScale = true, units = "Hz"),
ParameterId.BINAURAL_BEAT to Range(min = 0.5f, max = 20f, logScale = true, units = "Hz"),
)
fun parameterForCurve(curve: TimelineEditorState.ActiveCurve): ParameterId {