summaryrefslogtreecommitdiff
path: root/README.md
blob: ff0d1dda679f75e62c83cd84f8a933f9f60ba5b7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# Pulling Radio Waves out of Thin Air

Just some tests with binding RTL-SDR to Python programs

## NumPy Demod

```bash
$ python numpy_fm_demod.py capture
$ aplay wbfm-mono-50000.0.raw -r 50000 -f S16_LE -t raw -c 1
```

Note that the final sample rate can never really be 44.1kHz.

Alternatively dump and load samples:

```bash
$ python numpy_fm_demod.py dump out.npy
$ python numpy_fm_demod.py load out.npy
$ aplay wbfm-mono-50000.0.raw -r 50000 -f S16_LE -t raw -c 1
```