fmdemod

package module
v0.0.0-...-d0cb2de Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 16, 2022 License: BSD-3-Clause Imports: 5 Imported by: 0

README

FM demodulation in Go

Reads complex uint8 (re, im) from stdin, outputs UQ16 (unsigned fixed point, 16 fraction bits).

Receiving radio broadcast

Requires rtlsdr (software and a receiver dongle) and sox (for audio output). For oneliner without server-client-architecture, drop the nc and just pipe the output of the demodulator to play.

Server:

rtl_sdr -f 91900000 -s 256000 - | go run fmdemod.go | nc -l 1337

Client:

nc localhost 1337 | play -t raw -r 256k -e unsigned -b 16 -c 1 -V1 -L -

Documentation

Index

Constants

View Source
const SampleCount = 8192

Variables

This section is empty.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL