User Tools

Site Tools


project:sdr:szdc

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
project:sdr:szdc [2016/07/31 22:46] – [Obtaining szdc] jendaproject:sdr:szdc [2016/08/09 02:55] (current) – [szdc] jenda
Line 1: Line 1:
 ====== szdc ====== ====== szdc ======
  
-**szdc** is a receiver for a specific inverse tone coded squelch used by a certain railway network. It uses [[:project:sdr:fcl]] to get baseband channels and then some code with FFTW to detect presence of the IDLE tone. If IDLE tone is not present, the channel is assumed be active and is dumped to a file.+**szdc** is a receiver for a specific inverse tone coded squelch used by a certain railway network. It uses [[:project:sdr:fcl]] to get baseband channels and then some code with FFTW to detect presence of the IDLE tone. If IDLE tone is not present, the channel is assumed to be active and is dumped to a file
 + 
 +If the channel is active for too long (see guard in constants.h), it is presumed that signal is lost or something and it is disabled (and appears in mask).
  
 Edit run.sh to suit your needs. Edit constants.h (number of channels, SNR). Edit run.sh to suit your needs. Edit constants.h (number of channels, SNR).
Line 7: Line 9:
 $ make $ make
 $ ./run.sh $ ./run.sh
 +Using Volk machine: avx_666
 +snr: 54 31 51 58 60 61 59 32 58 57 61 mask: 
 +snr: 54 30 50 58 61 62 59 32 60 58 62 mask: 
 +Opening new file 2016-08-09-02-47-13.8.cfile
 +snr: 42 29 52 57 60 62 50 37 4 50 52 mask: 
 +snr: 53 29 50 57 60 62 59 32 3 53 53 mask: 
 +snr: 46 27 52 58 61 62 57 50 55 51 58 mask: 
 +snr: 53 28 51 58 61 62 59 48 55 57 61 mask: 
 +snr: 53 32 50 57 59 61 59 36 56 56 59 mask: 
 +closing 8
 +snr: 37 26 53 57 61 62 46 33 59 53 61 mask: 
 +...
 </code> </code>
  
 To decode audio, you can use for example mfm.py from [[:user:jenda:kukuruku]]. To decode audio, you can use for example mfm.py from [[:user:jenda:kukuruku]].
 <code> <code>
-cat foo.cfile | mfm.py -r 0.666+cat foo.cfile | mfm.py -r 0.520833 # 25/48 kHz
 </code> </code>
  
project/sdr/szdc.1470005197.txt.gz · Last modified: 2016/07/31 22:46 by jenda