Created
August 6, 2010 17:37
-
-
Save sorki/511662 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | |
; General Options ; | |
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | |
; Specify a file into which sidc will write messages. This file is written | |
; using open/append/close, so that you can apply a straightforward log rotate | |
; policy | |
logfile /data/projects/sid/sidc/sidc.log | |
; Specify a directory to contain output data files. Use '.' for the | |
; current directory. | |
datadir /data/projects/sid/sidc/data/ | |
; Enable real time scheduling of sidc. Recommended so that soundcard buffers | |
; are read promptly, which means minimum latency before each fft buffer is | |
; timestamped. You have to be running as root for this to work. | |
sched low ; low (= ordinary process) or high (= soft real time scheduling) | |
; Specify the email address of whoever is to get any bad news. | |
; mail someone@someplace | |
; The loss-of-signal warning threshold and time delay. If the input | |
; signal peak level (0-1.0) falls below the given threshold for more than | |
; the delay time, a warning will be issued. The threshold applies to both | |
; left and right in stereo mode, on the assumption that you've set the gains | |
; so that the signal levels are about the same anyway. | |
;los 0.1 10 | |
; Specify a file into which spectrum data will regularly be written. | |
; This file is independent of the data record policy specified below. | |
; | |
; This file is overwritten with a fresh spectrum at intervals specified by | |
; the second parameter in seconds. | |
; | |
; This spectrum file contains three space separated columns: | |
; bin centre frequency (Hz), and the average power in the bin for the left | |
; and right channels. In mono mode there are just two columns | |
utility_spectrum /data/projects/sid/sidc/data/sidspec 100 | |
; Initialisation delay. Some combinations of PC and soundcard might need a | |
; short delay between initialising the soundcard and starting to read data. | |
; card_delay 1 ; Seconds | |
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | |
; Soundcard Settings ; | |
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | |
; | |
; The input device | |
device pulse ; For ALSA | |
;device /dev/dsp ;For OSS Linux | |
;device /dev/audio ; For OSS Solaris | |
; Specify the mode of operation - stereo or mono. | |
; mode stereo | |
mode stereo | |
; The requested sample rate. The software will use the closest | |
; setting available from the soundcard. | |
rate 192000 | |
; Sample width, 8, 16, 24, or 32 bits. | |
bits 16 | |
; Number of frequency bins to use. This determines the frequency resolution, | |
; resolution = rate / (2 * bins) | |
; For best efficiency, specify a power of 2, but this is not essential | |
bins 8192 | |
; Number of samples or sample pairs to read from the soundcard per read call | |
nread 1024 | |
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | |
; Data File Settings ; | |
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | |
; | |
; Output policy. This keyword selects which of the available data output | |
; policies to use. The available options are:- | |
; | |
; SPECTRUM: Output a whole spectrum. Your post-processing can decide later | |
; just which blocks of spectrum to monitor. | |
; | |
; BANDS_MULTI: Monitor specific frequency bands, output all monitors to | |
; a single multi-column data file, | |
; | |
; BANDS_EACH: Monitor specific frequency bands, output each monitor to its | |
; own data file. | |
; output_policy SPECTRUM | |
output_policy BANDS_MULTI | |
; Output interval. Approximate number of seconds between output records. | |
; The program will integrate whole FT frames until this interval is reached | |
; and will then output a data record. Set this value to zero to obtain an | |
; output record for every FT frame. | |
output_interval 2 | |
; Output data file names. Compose a filename format using the following % | |
; codes. All other characters are taken literally. Must not contain spaces. | |
; | |
; %y 2-digit year %H 2-digit hour | |
; %m 2-digit month %M 2-digit mins | |
; %d 2-digit day %S 2-digit secs | |
; | |
; %E seconds into current day 0..86399 | |
; %e as %E but with millisecond resolution 0.000 to 86399.999 | |
; %% a literal % | |
; | |
; %B band ident - only valid with output policy BANDS_EACH | |
; %U unix epoch time integer - seconds since midnight Jan 1st 1970 | |
; %u as %U but with millisecond resolution | |
; %s seconds with milliseconds resolution 00.000 to 59.999 | |
output_files %y%m%d.dat | |
; Specify the format of the timestamp to use in the datafiles. This is the | |
; first field of each data record. % codes are substituted as above | |
timestamp %u | |
; Data file header. Set to yes if each data file is to have a header record | |
output_header yes | |
; Format and precision of relative power levels in output records. Specify | |
; using a 'printf' style %e or %f floating point format specifier. | |
field_format %.2e | |
; Relative power values can be logged as either linear or db | |
field_scale linear | |
; Adjustment (dB) to be applied to all output values. This may be used | |
; to reduce the size of output files by eliminating leading minus signs | |
; when using logarithmic mode | |
offset_db 0 | |
; Whether to output a total power reading | |
output_power yes | |
; Whether to output peak signal reading | |
output_peak yes | |
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | |
; Settings for output policy SPECTRUM ; | |
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | |
; | |
; These options are ignored when not using output policy SPECTRUM | |
; Specify spectrum range to output - Hertz. | |
spectrum_range 10000 96000 | |
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | |
; Settings for output policy BANDS_EACH and BANDS_MULTI ; | |
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | |
; | |
; These options are ignored when using output policy SPECTRUM | |
; Specify the name, frequency range, and input side of each band to | |
; monitor | |
; | |
; In BANDS_EACH policy, the 'ident' field is embedded in the data file name | |
; In BANDS_MULTI policy, the 'ident' field goes into the heading record | |
; | |
; If you're running in mono, specify the left side | |
; | |
; See http://sidstation.lionelloudet.homedns.org/stations-list-en.xhtml | |
; for a well-maintained list of suitable VLF transmitters | |
; | |
; ident from to side | |
band FTA 20800 21040 left ; 20.9 France | |
band GQD 22000 22250 left ; 22.1 England | |
band HWU 22510 22750 left ; 22.6 France | |
band DHO 23330 23550 left ; 23.4 Germany | |
band NAA 23925 24150 left ; 24.0 Cutler, ME | |
band NRK 37400 37680 left ; 37.5 Iceland | |
band NSY 45830 46090 left ; 45.9 Italy | |
band MSF 60050 60100 left ; 60.0 England | |
band HBG 74950 75050 left ; 75.0 Switzerland | |
band DCF 77450 77550 left ; 77.5 Germany |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment