mirror of
https://github.com/romanz/amodem.git
synced 2026-04-19 20:55:59 +08:00
calib: allow lower coherency
This commit is contained in:
@@ -59,7 +59,7 @@ def run_recorder(config, recorder):
|
||||
freq = config.frequencies[max_index]
|
||||
rms = abs(coeffs[max_index])
|
||||
coherency = rms / total
|
||||
flags = [rms > 0.1, peak < 1.0, coherency > 0.9999]
|
||||
flags = [rms > 0.1, peak < 1.0, coherency > 0.99]
|
||||
|
||||
states.append(all(flags))
|
||||
states = states[-2:]
|
||||
|
||||
Reference in New Issue
Block a user