blob: e9e43a831f90b6c28a1327a896fa8bd1aec1eefd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
# Python RTL-SDR Playground
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
```
|