{"id":51123503,"url":"https://github.com/kidoz/foo-dsp-speaker-range","last_synced_at":"2026-06-25T05:01:42.060Z","repository":{"id":364149632,"uuid":"1266595727","full_name":"kidoz/foo-dsp-speaker-range","owner":"kidoz","description":"foobar2000 DSP component that crops audio to a loudspeaker's reproducible range: Linkwitz-Riley 4th-order high-pass/low-pass with Vicanek matched (decramped) biquads.","archived":false,"fork":false,"pushed_at":"2026-06-11T20:12:42.000Z","size":35,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-06-11T22:07:16.313Z","etag":null,"topics":["audio","audio-filter","audio-processing","biquad","cpp23","crossover","dsp","foobar2000","foobar2000-component","linkwitz-riley","meson","msvc","windows"],"latest_commit_sha":null,"homepage":"https://github.com/kidoz/foo-dsp-speaker-range/releases","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kidoz.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-06-11T19:13:01.000Z","updated_at":"2026-06-11T20:13:21.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/kidoz/foo-dsp-speaker-range","commit_stats":null,"previous_names":["kidoz/foo-dsp-speaker-range"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/kidoz/foo-dsp-speaker-range","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kidoz%2Ffoo-dsp-speaker-range","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kidoz%2Ffoo-dsp-speaker-range/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kidoz%2Ffoo-dsp-speaker-range/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kidoz%2Ffoo-dsp-speaker-range/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kidoz","download_url":"https://codeload.github.com/kidoz/foo-dsp-speaker-range/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kidoz%2Ffoo-dsp-speaker-range/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34760219,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-25T02:00:05.521Z","response_time":101,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["audio","audio-filter","audio-processing","biquad","cpp23","crossover","dsp","foobar2000","foobar2000-component","linkwitz-riley","meson","msvc","windows"],"created_at":"2026-06-25T05:01:40.804Z","updated_at":"2026-06-25T05:01:42.023Z","avatar_url":"https://github.com/kidoz.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# foo_dsp_speaker_range\n\n[![Language: C++23](https://img.shields.io/badge/language-C%2B%2B23-00599C.svg)](https://isocpp.org/)\n[![Build system: Meson](https://img.shields.io/badge/build%20system-Meson-00ADD8.svg)](https://mesonbuild.com/)\n[![License: MIT](https://img.shields.io/badge/license-MIT-blue.svg)](LICENSE)\n[![Version: 0.2.3](https://img.shields.io/badge/version-0.2.3-informational.svg)](meson.build)\n\n`foo_dsp_speaker_range` is a foobar2000 DSP component for Windows x64. It adds `Speaker Range Crop`,\na configurable Linkwitz-Riley 4th-order high-pass/low-pass filter intended to limit playback to a\nloudspeaker's reproducible range.\n\nThe filter sections use Vicanek matched (decramped) coefficients instead of bilinear-transform\ndesigns, so the magnitude response stays close to the analog Linkwitz-Riley prototype near\nNyquist. In practice this means a 20 kHz low-pass stays active and tracks the intended response at\n44.1 kHz, where bilinear/RBJ-style low-pass biquads cramp toward their forced null at Nyquist. The\nDSP uses causal IIR filters with no lookahead and reports zero processing latency to foobar2000.\nReference: M. Vicanek, \"Matched Second Order Digital Filters\" (2016),\n\u003chttps://vicanek.de/articles/BiquadFits.pdf\u003e.\n\n## About The Plugin\n\n`Speaker Range Crop` is intended for playback systems where the loudspeaker has a known useful\nfrequency range. Instead of boosting missing bass or treble, it removes content outside that range:\nsub-bass below the speaker's low cutoff and ultrasonic/high-treble content above the high cutoff.\n\nThe DSP exposes two independent filters:\n\n| Setting | Range | Default | Notes |\n| --- | ---: | ---: | --- |\n| Low cutoff high-pass | 10 to 1000 Hz | 58 Hz | Removes content below the selected speaker range. |\n| High cutoff low-pass | 1.0 to 24.0 kHz | 20.0 kHz | Removes content above the selected speaker range. |\n\nEach side can be enabled or disabled independently. The default preset is `Wharfedale Super Denton`;\nediting any cutoff value switches the preset selector to `Custom`.\n\nFor multichannel audio, channels marked as LFE by foobar2000 keep their low-frequency content: the\nhigh-pass side is bypassed for LFE while the low-pass side still follows the selected settings.\n\nBuilt-in presets:\n\n| Preset | Low cutoff | High cutoff | Filters |\n| --- | ---: | ---: | --- |\n| Wharfedale Super Denton | 58 Hz | 20.0 kHz | High-pass and low-pass enabled |\n| Wharfedale Denton 85 | 45 Hz | 20.0 kHz | High-pass and low-pass enabled |\n| Full range / bypass | 10 Hz | 24.0 kHz | Both filters disabled |\n| Small bookshelf (generic) | 80 Hz | 20.0 kHz | High-pass and low-pass enabled |\n| Vintage radio (generic) | 150 Hz | 7.0 kHz | High-pass and low-pass enabled |\n| Custom | User value | User value | User controlled |\n\nAfter installation, the DSP appears in foobar2000 under:\n\n```text\nPreferences -\u003e Playback -\u003e DSP Manager -\u003e Speaker Range Crop\n```\n\n## Prerequisites\n\n- foobar2000 2.25+ x64.\n- Visual Studio 2022 Build Tools with the MSVC v143 toolchain.\n- Meson and Ninja.\n- `clang-format` and `clang-tidy` for local quality checks.\n- foobar2000 SDK 2024-12-03 or newer. The current wrap points at SDK 2025-03-07 from\n  \u003chttps://www.foobar2000.org/SDK\u003e.\n\n## SDK Setup\n\nThe normal shortcut flow uses the Meson wrap metadata under `subprojects/`. Because the official SDK archive is\ndistributed as `.7z` and Meson 1.11 cannot unpack that archive format directly on this machine, `just setup`\nprepares `subprojects/fb2k-sdk` with `7z` before configuring Meson with `-Dsdk_path=wrap`.\n\n```powershell\njust setup\n```\n\nFor manual SDK placement instead, extract the SDK under `third_party/fb2k-sdk` and pass that path explicitly:\n\n```powershell\nNew-Item -ItemType Directory -Force third_party | Out-Null\nInvoke-WebRequest https://www.foobar2000.org/downloads/SDK-2025-03-07.7z -OutFile third_party/SDK-2025-03-07.7z\n7z x third_party/SDK-2025-03-07.7z -othird_party/fb2k-sdk -y\nmeson setup build --vsenv -Dsdk_path=third_party/fb2k-sdk\n```\n\nThe SDK archive hash used by `subprojects/fb2k-sdk.wrap` is:\n\n```text\nccda3c5840e66e0e28a7e4fe36407c4e78581aa30c40c362a188fcbaae799a3e\n```\n\nMeson wrap metadata and packagefiles are under `subprojects/`; the extracted SDK and downloaded archives under\n`subprojects/fb2k-sdk` and `subprojects/packagecache` are local build artifacts and are ignored by git.\n\nUnit tests use [Catch2](https://github.com/catchorg/Catch2) v3, fetched automatically from Meson WrapDB\n(`subprojects/catch2.wrap`) on first configure; no manual setup is required beyond network access.\n\n## Build\n\n```powershell\njust setup\njust check\njust package\n```\n\nAfter setup, the underlying Meson commands are:\n\n```powershell\nmeson compile -C build\nmeson test -C build\nmeson compile -C build package\n```\n\nExplicit debug/release plugin builds (each configures its own build directory on first use):\n\n```powershell\njust build-debug      # debug DLL in build/\njust build-release    # release DLL in build-release/\njust release          # release build + tests + foo_dsp_speaker_range.fb2k-component\n```\n\nPackage the component:\n\n```powershell\nmeson compile -C build package\n```\n\nThis writes `foo_dsp_speaker_range.fb2k-component`, a ZIP archive containing `foo_dsp_speaker_range.dll`.\n\n## Quality Tools\n\n```powershell\nmeson compile -C build format-check\nmeson compile -C build clang-tidy\n```\n\nTo apply formatting:\n\n```powershell\nmeson compile -C build format\n```\n\n## Install\n\nOpen `foo_dsp_speaker_range.fb2k-component` with foobar2000, or install it through:\n\n```text\nPreferences -\u003e Components -\u003e Install...\n```\n\nRestart foobar2000 when prompted.\n\n## Manual Acceptance Checks\n\n- Component loads in foobar2000 2.25+ x64 without an incompatible-component warning.\n- `Speaker Range Crop` appears under `Preferences -\u003e Playback -\u003e DSP Manager`.\n- The DSP configuration dialog opens and values persist in the DSP chain.\n- With the Wharfedale Super Denton preset, a 30 Hz tone is strongly attenuated while 1 kHz remains effectively\n  unchanged.\n- Playback does not crash on seek, track change, sample-rate change, or output device change.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkidoz%2Ffoo-dsp-speaker-range","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkidoz%2Ffoo-dsp-speaker-range","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkidoz%2Ffoo-dsp-speaker-range/lists"}