Conversation
- Introduced DSD types and constants in `src/client/worker/dsd/types.ts`. - Implemented lazy loading for the mbelib WASM module in `src/client/worker/mbelib-init.ts`. - Enhanced RX stream handling to include DSD status updates in `src/client/worker/rx-stream.ts`. - Updated worker types to accommodate DSD decoder and audio resampling in `src/client/worker/types.ts`. - Modified Vite configuration to include mbelib WASM files during the build process.
Deploying with
|
| Status | Name | Latest Commit | Preview URL | Updated (UTC) |
|---|---|---|---|---|
| ✅ Deployment successful! View logs |
browsdr | feb08e4 | Commit Preview URL Branch Preview URL |
Apr 08 2026, 10:59 PM |
Owner
Author
|
This is still a WIP and doesn't quite work correctly yet |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This PR implements a full Digital Speech Decoder (DSD) stack to enable listening to digital voice protocols directly in the browser. It introduces a new
dsdmode that supports FM-demodulated digital protocols, including DMR, P25 Phase 1, D-STAR, and NXDN.To handle voice synthesis, the PR includes a WebAssembly (WASM) port of
mbelib, allowing the decoding of AMBE and IMBE voice frames within the browser's performance constraints.Core Changes
1. DSD DSP Pipeline
2.
mbelibWASM Integrationmbeliband an Emscripten-based build script (build.sh).3. Protocol Support
4. UI & State Management
dsdmode selector to the VFO panel.How to Build mbelib (Prerequisite)
Since the
mbelib.jsand.wasmfiles are served frompublic/lib/, you must compile them once if they are missing:cd mbelib-wasm bash build.shTechnical Notes
RationalResamplerin the DSP worker to maintain compatibility with the existing audio pipeline.