|
libSDRForge
|
Optional redsea streaming RDS adapter. More...
Classes | |
| class | RedseaRecord |
| Provide redsea record behavior. More... | |
| class | RedseaRdsAdapter |
| Manage a redsea process without coupling it to the WBFM receiver. More... | |
Functions | |
| RedseaRecord|None | parse_redsea_line (str line) |
| Parse one JSON line, rejecting incomplete groups as validated data. | |
| bytes | multiplex_to_pcm (np.ndarray multiplex, *, float amplitude=0.2) |
| Convert 240 kHz discriminator output to signed little-endian PCM16. | |
Optional redsea streaming RDS adapter.
redsea consumes 240 kHz mono S16LE FM multiplex through stdin and emits newline-delimited JSON on stdout. Partial groups are retained for diagnostics but never promoted to validated RDS groups.
| bytes sdrforge.protocols.rds.redsea_adapter.multiplex_to_pcm | ( | np.ndarray | multiplex, |
| * | , | ||
| float | amplitude = 0.2 ) |
Convert 240 kHz discriminator output to signed little-endian PCM16.
| multiplex | The multiplex value. |
| amplitude | The amplitude value. |
| RedseaRecord | None sdrforge.protocols.rds.redsea_adapter.parse_redsea_line | ( | str | line | ) |
Parse one JSON line, rejecting incomplete groups as validated data.
| line | The line value. |