implement eq type/mode/gain/freq/q commands for strip/bus

This commit is contained in:
2026-02-01 22:37:17 +00:00
parent a9110f0986
commit fc36e9bf5c
5 changed files with 518 additions and 2 deletions

View File

@@ -10,6 +10,14 @@ func linSet(min float64, max float64, value float64) float64 {
return (value - min) / (max - min)
}
func logGet(min float64, max float64, value float64) float64 {
return min * math.Exp(math.Log(max/min)*value)
}
func logSet(min float64, max float64, value float64) float64 {
return math.Log(value/min) / math.Log(max/min)
}
func mustDbInto(db float64) float64 {
switch {
case db >= 10: