mirror of
https://github.com/9001/copyparty.git
synced 2026-03-22 08:03:32 +10:00
audioplayer: s-s: use clamp from util (#1313)
This commit is contained in:
@@ -10041,7 +10041,7 @@ var mpss = (function() {
|
||||
vthresh: afilt.sscv[0],
|
||||
sthresh: afilt.sscv[1],
|
||||
etresh: afilt.sscv[2],
|
||||
sspeed: Math.min(8.0, Math.max(0.15, afilt.sscv[3])),
|
||||
sspeed: clamp(afilt.sscv[3], 0.15, 8.0),
|
||||
rspeed: 0.2,
|
||||
loopInterval: 25,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user