summaryrefslogtreecommitdiff
path: root/src/settings.h
diff options
context:
space:
mode:
authorAndré Nusser <andre.nusser@googlemail.com>2018-07-21 14:35:36 +0200
committerAndré Nusser <andre.nusser@googlemail.com>2018-07-21 14:35:36 +0200
commit6ba96e9a60428676fdf5cf6060e5d981ba1f3976 (patch)
treeadade5a7befd072b42c9d1738bcfb1a702f7954f /src/settings.h
parent94e8431f321a359743d0663f50d5e9a53155dd9d (diff)
Switch latency_stddev to be samplerate independent (and thus in ms).
Visualization seems correct but I didn't verify the math.
Diffstat (limited to 'src/settings.h')
-rw-r--r--src/settings.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/settings.h b/src/settings.h
index 6b4048c..f37a810 100644
--- a/src/settings.h
+++ b/src/settings.h
@@ -111,13 +111,13 @@ struct Settings
static float constexpr latency_laid_back_ms_default = 0.0f;
Atomic<float> latency_laid_back_ms{latency_laid_back_ms_default};
- //! 0 := Robot
- //! 100 := Good drummer
- //! 200 := Decent drummer
- //! 300 := Decent drummer on a bad day
- //! 400 := Bad drummer
- //! 500 := Bad and drunk drummer
- static float constexpr latency_stddev_default = 100.0f;
+ //! 0.0 := Robot
+ //! 2.0 := Good drummer
+ //! 4.0 := Decent drummer
+ //! 6.0 := Decent drummer on a bad day
+ //! 8.0 := Bad drummer
+ //! 10.0 := Bad and drunk drummer
+ static float constexpr latency_stddev_default = 2.0f;
Atomic<float> latency_stddev{latency_stddev_default};
//! Regain on-beat position.