Joris van Rantwijk
d5dd2d9603
Fix minor issues in checking of IF sample rate option.
2015-11-22 16:04:25 +01:00
Divye Kapoor
e9fe05c4ea
Be accurate in disallowing sampling rates in SoftFM.
...
The rtl-sdr driver code disallows most of the sampling rates below
900 kS/s. However, it allows a small window of sampling rates
between [250001, 300000]. The update to the conditional is along
the lines of the conditions imposed by the RTL SDR driver here:
http://cgit.osmocom.org/rtl-sdr/tree/src/librtlsdr.c
The default sampling rate of 1 MS/s causes severe buffer underruns on
a Raspberry Pi 2. However choosing a sampling rate of 250 kS/s and
lower values for PCM sampling causes successful FM demodulation of
strong FM stations on the device.
2015-11-21 08:20:44 +00:00
Joris van Rantwijk
fc30717198
Add pthread library in CMakeList. This is required for C++11 threads.
2015-06-02 20:45:37 +02:00
Joris van Rantwijk
c4c6c79765
Removed failed ideas from TODO list.
2014-05-31 21:07:04 +02:00
Joris van Rantwijk
6a5ccbb818
Tried LNA gain adjustments but it does not help for the DIY antenna.
2014-05-29 21:32:32 +02:00
Joris van Rantwijk
844d0c1684
Merge remote-tracking branch 'origin/master'
2014-05-29 20:51:51 +02:00
Joris van Rantwijk
640c75038b
Add RDS demodulation stuff to pyfm.py.
2014-05-29 19:19:19 +02:00
Joris van Rantwijk
ca411c57e1
Wait a bit longer before accepting stereo lock.
2014-05-29 18:28:59 +02:00
Joris van Rantwijk
5b547da40d
Add note about RTL-SDR version 0.5.3.
2014-05-29 14:42:21 +02:00
Joris van Rantwijk
ec8fc6bee3
Disable RTL AGC mode by default.
2014-05-29 13:56:15 +02:00
Joris van Rantwijk
4f90345a52
Disable RTL AGC mode by default.
2014-01-26 21:42:01 +01:00
Joris van Rantwijk
c2de34860a
Implement command-line option for LNA gain.
2014-01-26 20:31:38 +01:00
Joris van Rantwijk
5744e0affd
Tried reducing PLL bandwidth; does not improve stereo sound.
2014-01-23 21:48:21 +01:00
Joris van Rantwijk
860c2db7bd
Remove unnecessary special case for PPS output.
2014-01-22 23:11:39 +01:00
Joris van Rantwijk
0ffd44f3fd
More pilot frequency measurements.
2014-01-22 23:10:23 +01:00
Joris van Rantwijk
fda975b1ff
Measured radio2 pilot frequency.
2014-01-20 07:50:15 +01:00
Joris van Rantwijk
4bff1f823b
Tested 19 kHz stability for radio3.
2014-01-19 20:00:17 +01:00
Joris van Rantwijk
6d735bb0f0
Pilot PPS logging works.
2014-01-19 15:49:43 +01:00
Joris van Rantwijk
f6bca05bf0
Prepare pilot PLL to produce PPS events.
2014-01-19 12:19:19 +01:00
Joris van Rantwijk
cfc5e07db6
Fix incorrect use of uint8_t, FILE, etc. outside std namespace.
2014-01-19 11:43:22 +01:00
Joris van Rantwijk
ddcb6a8500
Implement k, M suffixes for frequency and sample rates.
2014-01-18 23:44:25 +01:00
Joris van Rantwijk
d19123946e
Update TODO list.
2014-01-18 22:24:21 +01:00
Joris van Rantwijk
761b368282
Set RTL AGC mode by default (no improvement), with command-line option to disable.
2014-01-18 20:44:17 +01:00
Joris van Rantwijk
ff985cd623
Experimented with IF gain and AGC mode; does not seem to help much.
2014-01-12 22:08:22 +01:00
Joris van Rantwijk
4619295d9a
Simulated effects of IF filter bandwidth.
2014-01-12 18:12:53 +01:00
Joris van Rantwijk
13219ed6ba
Reorganize notes; measure effect of LNA gain, ADC calibration.
...
Python code to experiment with IF filtering.
2014-01-11 23:19:20 +01:00
Joris van Rantwijk
f1b4dc55d6
Add Python functions to demodulate FM and to measure quality of 19 kHz pilot.
2014-01-10 21:32:27 +01:00
Joris van Rantwijk
a256775f28
Update notes.
2014-01-09 21:18:44 +01:00
Joris van Rantwijk
f9d6cfd0d0
Add comments to Python code.
2014-01-05 22:02:08 +01:00
Joris van Rantwijk
6bce6702d2
Fix mistake in note about forbidden sample rate range.
2014-01-05 22:01:22 +01:00
Joris van Rantwijk
d1593544a4
Reject IF sample rates 900kS/s or lower because RTL chip does not support it.
2014-01-05 21:57:53 +01:00
Joris van Rantwijk
7948164205
Better handling of "-d list".
2014-01-05 21:57:53 +01:00
Joris van Rantwijk
6fd7c91e52
Print device name on stderr.
...
When invalid device index specified, print list of detected devices.
2014-01-05 21:57:53 +01:00
Joris van Rantwijk
357451f639
More notes about gain and filters.
2014-01-05 21:56:06 +01:00
Joris van Rantwijk
32dcfdd57f
Fix bug in Python code for reading raw samples.
2014-01-05 16:43:38 +01:00
Joris van Rantwijk
d4e12c75ce
Add notes. Start building Python module with useful algorithms.
2014-01-05 16:33:05 +01:00
Joris van Rantwijk
c71a39d3d2
Trivial cleanups in header files.
...
Print newline before message in signal handler.
2014-01-03 22:00:31 +01:00
Joris van Rantwijk
7f1a8bb1d7
Write valid .WAV header with dummy sample count at start of run.
...
As a result, the .WAV file is somewhat usable even during the recording run.
2014-01-03 18:50:12 +01:00
Joris van Rantwijk
829e39594d
Print status message saying where audio output is going.
2014-01-03 18:10:37 +01:00
Joris van Rantwijk
8a2cef5e35
Implement .WAV file writing based on Sidney's WavFile.h.
2014-01-03 18:07:28 +01:00
Joris van Rantwijk
3e8c2232d2
Update TODO list.
2014-01-01 17:53:22 +01:00
Joris van Rantwijk
f24f42755d
Update todo list.
2014-01-01 12:04:38 +01:00
Joris van Rantwijk
e650df4bc2
Add README, add license statement.
2014-01-01 12:04:30 +01:00
Joris van Rantwijk
f6b0d2b546
Support large output files.
2013-12-31 20:07:46 +01:00
Joris van Rantwijk
0091737339
Switch to cmake for building.
2013-12-31 20:07:11 +01:00
Joris van Rantwijk
47525ef796
Very slight speed improvement in FIR filters.
2013-12-31 15:19:14 +01:00
Joris van Rantwijk
cecf407d00
Stereo decoding works. WHEEE!!
2013-12-31 00:56:53 +01:00
Joris van Rantwijk
351e22f9bb
Code cleanups.
2013-12-31 00:29:52 +01:00
Joris van Rantwijk
f119f2f72c
Stereo pilot PLL now working. (Stereo decoding not yet implemented.)
2013-12-31 00:07:14 +01:00
Joris van Rantwijk
620dba5d13
Increase filter order for baseband downsample filter. Add comments.
2013-12-30 15:58:17 +01:00