project:sdr:squelchcut
Differences
This shows you the differences between two versions of the page.
| project:sdr:squelchcut [2012/08/09 13:30] – created jenda | project:sdr:squelchcut [2012/08/09 13:30] (current) – [Detecting] jenda | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ====== Silence detection and timestamping ====== | ||
| + | Imagine there is something like civil band radio and you want to run some software overnight and have conversations logged like this: | ||
| + | < | ||
| + | -rw-r--r-- | ||
| + | -rw-r--r-- | ||
| + | -rw-r--r-- | ||
| + | -rw-r--r-- | ||
| + | </ | ||
| + | We will use one computer for receiving and another for splitting based on silence detection. | ||
| + | |||
| + | ==== Receiving ==== | ||
| + | |||
| + | gnuradio-companion sketch is [[http:// | ||
| + | |||
| + | Create a pipe, run netcat to transmit data over the network and run the gnuradio program. | ||
| + | |||
| + | < | ||
| + | mkfifo test.wav | ||
| + | cat test.wav | nc 192.168.77.226 3333 & | ||
| + | ./ | ||
| + | </ | ||
| + | |||
| + | ==== Detecting ==== | ||
| + | |||
| + | On the other end (well, you can run everything on one computer just by piping it instead of using netcat) download and compile [[http:// | ||
| + | |||
| + | < | ||
| + | |||
| + | WAV (they are actually RAW) files should appear in current working directory after the first transmission occurs. | ||
| + | |||
| + | Use oggenc to encode them to some more common format. | ||
| + | |||
| + | < | ||