|
libSDRForge
|
Decode 2.4 MSPS interleaved U8 RF IQ into 48 kHz mono or stereo PCM. More...
Public Member Functions | |
| None | __init__ (self, *, int channel_frequency_hz, Literal["mono", "stereo"] mode="stereo", bool rds_enabled=False, bool rds_persistent_sync=False, bool rds_experimental_soft_pairs=False, float rds_extractor_cutoff_hz=3_000.0, Literal["native", "redsea"] rds_backend="native", str redsea_executable="redsea", int channel_bandwidth_hz=180_000) |
| Initialize the instance. | |
| bool | stereo_locked (self) |
| Whether the stereo pilot is currently locked. | |
| float | stereo_blend (self) |
| Stereo blend amount; zero for mono receivers. | |
| RdsReceiverStatus|None | rds_status (self) |
| Return the rds status. | |
| np.ndarray | multiplex_preview (self) |
| Recent FM multiplex samples; empty when stereo is disabled. | |
| tuple[RdsGroup,...] | last_rds_groups (self) |
| CRC-validated RDS groups from the latest processed IQ block. | |
| tuple[RdsGroup,...] | experimental_rds_groups (self) |
| Diagnostic-only groups, never eligible for TMC discovery. | |
| tuple[ExperimentalRadioText,...] | experimental_radio_text (self) |
| Diagnostic-only per-phase RadioText. | |
| tuple[RedseaRecord,...] | redsea_records (self) |
| Records available from the most recent processing step. | |
| None | ingest_rds_groups (self, tuple[RdsGroup,...] groups) |
| Feed validated or diagnostic RDS groups through the live TMC path. | |
| dict[str, object]|None | tmc_candidate_report (self) |
| Diagnostic-only ALERT-C candidates, never routing instructions. | |
| int | redsea_dropped_blocks (self) |
| Return the redsea dropped blocks. | |
| None | close (self) |
| Close the component. | |
| None | reset (self, *, bool preserve_metadata=False) |
| Reset the component. | |
| np.ndarray | process (self, IqBlock block) |
| Process the component. | |
Public Attributes | |
| channel_frequency_hz = channel_frequency_hz | |
Protected Attributes | |
| tuple | _redsea |
| tuple | _redsea_records = () |
| _tmc_tracker = AlertCCandidateTracker() if rds_enabled else None | |
| _downconverter | |
| ChannelizedWbfmDemodulator|ChannelizedStereoWbfmDemodulator | _demodulator |
| int|None | _last_center_hz = None |
Decode 2.4 MSPS interleaved U8 RF IQ into 48 kHz mono or stereo PCM.
One receiver owns one downconverter and one demodulator. Multiple receivers can process the same input block for independent channels.
| None sdrforge.receivers.wbfm_receiver.WbfmReceiver.__init__ | ( | self, | |
| * | , | ||
| int | channel_frequency_hz, | ||
| Literal["mono", "stereo"] | mode = "stereo", | ||
| bool | rds_enabled = False, | ||
| bool | rds_persistent_sync = False, | ||
| bool | rds_experimental_soft_pairs = False, | ||
| float | rds_extractor_cutoff_hz = 3_000.0, | ||
| Literal["native", "redsea"] | rds_backend = "native", | ||
| str | redsea_executable = "redsea", | ||
| int | channel_bandwidth_hz = 180_000 ) |
Initialize the instance.
| self | The current instance. |
| channel_frequency_hz | The channel_frequency_hz value. |
| mode | The mode value. |
| rds_enabled | The rds_enabled value. |
| rds_persistent_sync | The rds_persistent_sync value. |
| rds_experimental_soft_pairs | The rds_experimental_soft_pairs value. |
| rds_extractor_cutoff_hz | The rds_extractor_cutoff_hz value. |
| rds_backend | The rds_backend value. |
| redsea_executable | The redsea_executable value. |
| channel_bandwidth_hz | The RF channel bandwidth in hertz. |
| None sdrforge.receivers.wbfm_receiver.WbfmReceiver.close | ( | self | ) |
Close the component.
| self | The current instance. |
| tuple[ExperimentalRadioText, ...] sdrforge.receivers.wbfm_receiver.WbfmReceiver.experimental_radio_text | ( | self | ) |
Diagnostic-only per-phase RadioText.
| self | The current instance. |
| tuple[RdsGroup, ...] sdrforge.receivers.wbfm_receiver.WbfmReceiver.experimental_rds_groups | ( | self | ) |
Diagnostic-only groups, never eligible for TMC discovery.
| self | The current instance. |
| None sdrforge.receivers.wbfm_receiver.WbfmReceiver.ingest_rds_groups | ( | self, | |
| tuple[RdsGroup, ...] | groups ) |
Feed validated or diagnostic RDS groups through the live TMC path.
Intended for recorded replay and tests as well as live reception. The tracker never promotes groups into navigable traffic incidents.
| self | The current instance. |
| groups | The groups value. |
| tuple[RdsGroup, ...] sdrforge.receivers.wbfm_receiver.WbfmReceiver.last_rds_groups | ( | self | ) |
CRC-validated RDS groups from the latest processed IQ block.
| self | The current instance. |
| np.ndarray sdrforge.receivers.wbfm_receiver.WbfmReceiver.multiplex_preview | ( | self | ) |
Recent FM multiplex samples; empty when stereo is disabled.
| self | The current instance. |
| np.ndarray sdrforge.receivers.wbfm_receiver.WbfmReceiver.process | ( | self, | |
| IqBlock | block ) |
Process the component.
| self | The current instance. |
| block | The IQ sample block to process. |
| RdsReceiverStatus | None sdrforge.receivers.wbfm_receiver.WbfmReceiver.rds_status | ( | self | ) |
Return the rds status.
| self | The current instance. |
| int sdrforge.receivers.wbfm_receiver.WbfmReceiver.redsea_dropped_blocks | ( | self | ) |
Return the redsea dropped blocks.
| self | The current instance. |
| tuple[RedseaRecord, ...] sdrforge.receivers.wbfm_receiver.WbfmReceiver.redsea_records | ( | self | ) |
Records available from the most recent processing step.
| self | The current instance. |
| None sdrforge.receivers.wbfm_receiver.WbfmReceiver.reset | ( | self, | |
| * | , | ||
| bool | preserve_metadata = False ) |
Reset the component.
| self | The current instance. |
| preserve_metadata | The preserve_metadata value. |
| float sdrforge.receivers.wbfm_receiver.WbfmReceiver.stereo_blend | ( | self | ) |
Stereo blend amount; zero for mono receivers.
| self | The current instance. |
| bool sdrforge.receivers.wbfm_receiver.WbfmReceiver.stereo_locked | ( | self | ) |
Whether the stereo pilot is currently locked.
| self | The current instance. |
| dict[str, object] | None sdrforge.receivers.wbfm_receiver.WbfmReceiver.tmc_candidate_report | ( | self | ) |
Diagnostic-only ALERT-C candidates, never routing instructions.
| self | The current instance. |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
| sdrforge.receivers.wbfm_receiver.WbfmReceiver.channel_frequency_hz = channel_frequency_hz |