diff options
author | John Novak <jnovak@skedulo.com> | 2022-06-14 10:03:33 +0300 |
---|---|---|
committer | John Novak <jnovak@skedulo.com> | 2022-06-14 10:16:06 +0300 |
commit | e2f96c3fbe6ad7263bd2cee5868d01604779e25c (patch) | |
tree | f04374d78eeb1ff6b67262156a14a35d53d20415 | |
parent | 4abb46077485287fb70bd86bb88860c68138eb83 (diff) |
Add notes about the PC speaker filtersjnovak/small-speakers
-rw-r--r-- | src/hardware/pcspeaker.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/hardware/pcspeaker.cpp b/src/hardware/pcspeaker.cpp index 41926985d..69a445570 100644 --- a/src/hardware/pcspeaker.cpp +++ b/src/hardware/pcspeaker.cpp @@ -509,6 +509,11 @@ public: std::string filter_pref = section->Get_string("pcspeaker_filter"); if (filter_pref == "on") { + // The filters are meant to emulate the bandwidth limited + // sound of the small PC speaker. This more accurately + // reflects people's actual experience of the PC speaker + // sound than the raw unfiltered output, and it's a lot + // more pleasant to listen to, especially in headphones. constexpr auto hp_order = 3; constexpr auto hp_cutoff_freq = 120.0f; spkr.chan->ConfigureHighPassFilter(hp_order, hp_cutoff_freq); |