Status: historical extraction plan (superseded by the independent libSDRForge implementation and OpenRoadCode SDRForge integration). This document records original migration decisions, not current implementation status. No DSP behavior changes were made by the planning commit.
Create an independent libSDRForge Python library following the conventions of libMusicForge: Hatchling, src/ package layout, optional adapters, capability-based interfaces, examples, tests, Apache-2.0 licensing decision, and Ubuntu GitHub Actions. Do not couple the library to OpenRoadCode.
| Existing OpenRoadCode component | Destination | Notes |
|---|---|---|
| hardware_io/sdr/sdr_types.py | src/sdrforge/models/ | IQ block, formats, capabilities |
| hardware_io/sdr/sdr_source_if.py | src/sdrforge/interfaces/ | Hardware-independent contract |
| hardware_io/sdr/rtl_sdr_source.py | src/sdrforge/adapters/rtl_sdr.py | Optional librtlsdr dependency |
| controllers/radio/dsp/digital_downconverter.py | src/sdrforge/dsp/ | Preserve current behavior |
| controllers/radio/dsp/fm_multiplex_discriminator.py | src/sdrforge/dsp/ | Preserve current behavior |
| controllers/radio/dsp/fm_stereo_decoder.py | src/sdrforge/dsp/ | Preserve current behavior |
| controllers/radio/dsp/channelized_*demodulator.py | src/sdrforge/receivers/ | AM, NFM, WFM, stereo WFM |
| controllers/radio/dsp/rds_*.py | src/sdrforge/protocols/rds/ | Signal and protocol stages |
| controllers/radio/rds_receiver_controller.py | src/sdrforge/protocols/rds/ | RDS orchestration |
| controllers/radio/virtual_receiver_manager.py | src/sdrforge/core/ | Multi-channel DSP management |
| controllers/radio/multi_mode_radio_receiver.py | src/sdrforge/receivers/ | Public receiver facade candidate |
| controllers/radio/dsp/channel_rf_telemetry.py | src/sdrforge/diagnostics/ | RF diagnostics |
| controllers/radio/dsp/rds_signal_diagnostics.py | src/sdrforge/diagnostics/ | RDS signal metrics |
| controllers/radio/dsp_performance_monitor.py | src/sdrforge/diagnostics/ | Processing budget |
| controllers/radio/dsp/unit_test/ | tests/ | Preserve fixtures and assertions |
| controllers/radio/component_test/native_rds_cli.py | examples/ | Standalone live validation |
| controllers/radio/component_test/native_radio_cli.py | examples/ | Split generic demo from ORC wiring |
| controllers/radio/native_radio_service.py | ORC | ORC lifecycle and configuration |
| controllers/radio/recovering_radio_session.py | ORC initially | Recovery policy; revisit after extraction |
| controllers/radio/radio_audio_session.py | ORC | Audio integration |
| hardware_io/audio/ | ORC | Audio sinks, buffering, playback |
| ORC UI / Android bridge / service manager | ORC | Application-specific integration |
No dependency substitution is approved solely on feature overlap. Benchmark, verify licensing, and validate Linux/Termux support before selecting one.
Baseline before extraction: 102 passing radio DSP tests reported on native-sdr-radio by the hardware owner. This document does not claim any new CI/test run.