Commit Graph

143 Commits

Author SHA1 Message Date
Charles J. Cliffe
6beeb70549 Disable I/Q AGC when gain < 0.25 2015-07-19 15:34:06 -04:00
Charles J. Cliffe
be1055a2c7 reduce demod I/Q AGC bandwidth for better raw output 2015-07-17 19:14:39 -04:00
Dantali0n
fe37d50bd9 Finished digital data buffer with vectors 2015-07-03 11:29:52 +02:00
Dantali0n
74255606df Implementing digital data buffer with vectors 2015-06-29 21:55:21 +02:00
Charles J. Cliffe
26ca557349 Experimental raw I/Q output mode 2015-06-27 23:23:43 -04:00
Dantali0n
cac5d0b9ea digital output 'buffer' and fix ifdef 2015-06-18 22:07:53 +02:00
Charles J. Cliffe
6c016a7199 More sample rates, unify defaults
- also fix possible crash related to unlocking before queueing visual
data.
2015-06-11 17:18:36 -04:00
Dantali0n
951a1ee9c6 Requested Constellations & actual Constellations are now separated. 2015-06-10 19:39:08 +02:00
Dantali0n
f71d04eb75 Propagate Constelattion setting to demodulator, not working properly yet. 2015-06-10 10:50:14 +02:00
Dantali0n
b76eafe8df Fix lock UI update and start on constellation implementation 2015-06-09 17:00:05 +02:00
Charles J. Cliffe
95ff1e9c36 Disable stereo @ <100khz to prevent invalid filters 2015-06-06 20:47:14 -04:00
Charles J. Cliffe
234ac5bd15 Simplify/fix PLL, tweak parameters 2015-06-05 20:58:10 -04:00
Dantali0n
9e1601c446 Working demodulator lock status text 2015-06-05 09:51:46 +02:00
Charles J. Cliffe
0ccd5b4156 Comment PLL debug 2015-06-05 00:35:18 -04:00
Charles J. Cliffe
0e80e1009e First pass at FM Stereo improve via pilot tone PLL 2015-06-05 00:28:32 -04:00
Dantali0n
2ca6786be7 Modem demodulations returning bitstreams 2015-06-04 22:38:43 +02:00
corne lukken
0a0e7db242 deModulators selections 2015-06-03 11:23:16 +02:00
Charles J. Cliffe
2a9eadbf9a Issue #81 patches from @dovandung 2015-05-27 23:22:19 -04:00
Charles J. Cliffe
d5d44b0b30 Better initial sample rate setup, remove hard-coded default rate and use device info matching /w fallback 2015-03-22 20:47:07 -04:00
Charles J. Cliffe
4147582d2a Refactor for sample rate changes, audio thread race crash fixes 2015-03-15 21:02:26 -04:00
Charles J. Cliffe
3c5bad4e3d Audio bandwidth menu items 2015-03-12 19:41:50 -04:00
Charles J. Cliffe
4e13b625ca Fix for mixer clipping bug that's causing audio to crackle 2015-03-01 10:30:02 -05:00
Charles J. Cliffe
009e20e448 Linux patches 2015-02-22 01:58:00 -05:00
Charles J. Cliffe
aa540115d3 windows patch 2015-02-22 01:01:28 -05:00
Charles J. Cliffe
4e26c2a38a Simplify SSB demod with resamp2 half-band filter 2015-02-19 23:51:24 -05:00
Charles J. Cliffe
ddbdd81699 Ensure demodulator always gets even buffer lengths 2015-02-16 13:49:04 -05:00
Charles J. Cliffe
6b120cff95 SSB supression via decim/interp, removed LSB/USB bandwidth limit, fix SSB audio/visual delay 2015-02-12 22:46:45 -05:00
Charles J. Cliffe
eada5aa01d AM/DSB fix 2015-02-12 02:14:22 -05:00
Charles J. Cliffe
4f47fa7375 Experimenting with improving SSB 2015-02-12 01:38:53 -05:00
Charles J. Cliffe
add04883eb Audio thread mixer adjustments
- Automatic gain balance
- Clipping prevention
2015-02-08 18:59:08 -05:00
Charles J. Cliffe
1a9f7d31b7 missing atomic<int> load 2015-02-03 12:25:02 -05:00
Charles J. Cliffe
524cfbe0df Demodulator options persist and apply to newly created 2015-02-02 20:10:55 -05:00
Charles J. Cliffe
bc991c2cd9 dealloc filter init var 2015-01-25 01:27:37 -05:00
Chris Motch
1ed7d95193 Fixes to allow Compilation using VC++ 12
Some minor fixes and tweaks to allow compilation under Visual C++ 12.
This doesn't include changes that I need to make to the build
generation.
2015-01-24 22:01:47 -05:00
Charles J. Cliffe
b2e8cf0482 Demod worker lock-on-remove fix 2015-01-22 23:41:33 -05:00
Charles J. Cliffe
6d0fc54400 Staggered tile updates and moving texture window to eliminate constant memmove() for animation 2015-01-22 21:32:32 -05:00
Charles J. Cliffe
4dad30e9bd GL context init fixes and warning cleanup 2015-01-20 19:13:49 -05:00
Charles J. Cliffe
2b6da304ef Fix demodulator termination / thread lock 2015-01-11 20:26:51 -05:00
Charles J. Cliffe
ea2627ace6 Can now change input device bandwidth 2015-01-11 17:08:16 -05:00
Charles J. Cliffe
95fcb30733 Audio thread lock fix 2015-01-08 21:12:49 -05:00
Charles J. Cliffe
aa13aa2e16 Mousewheel fix for non-OSX, AM reset tweak 2015-01-07 21:25:35 -05:00
Charles J. Cliffe
93e88a9208 Import TinyXML and DataTree, OSX related UI tweaks 2015-01-07 20:23:15 -05:00
Charles J. Cliffe
44bee1f553 Cleanup, demod limits, prevent negative freq, move iq resampler process back to demodulator pre thread 2015-01-04 13:20:31 -05:00
Charles J. Cliffe
e2e261f1c0 OSX fix 2015-01-03 19:03:16 -05:00
Charles J. Cliffe
334618d000 cleanup, refactor, right mouse waterfall zoom drag 2015-01-03 17:07:39 -05:00
Charles J. Cliffe
ef5462d13c Zoom follows and pins mouse frequency 2015-01-02 19:35:34 -05:00
Charles J. Cliffe
4f43f65065 AM, USB and LSB somewhat working 2015-01-01 18:08:54 -05:00
Charles J. Cliffe
8b89b27b40 Experimental AM/LSB/USB demodulation 2015-01-01 03:48:32 -05:00
Charles J. Cliffe
b7793ef905 Squelch slider/signal indicator 2014-12-31 19:45:01 -05:00
Charles J. Cliffe
4403824e3b Demodulator now has it's own spectrum view 2014-12-29 00:24:10 -05:00
Charles J. Cliffe
a93deee564 Crash fixes, apply FIR filter to stereo output 2014-12-27 15:04:43 -05:00
Charles J. Cliffe
5e9414702d Cleanup, stereo audio thread memory leak fix 2014-12-27 12:45:21 -05:00
Charles J. Cliffe
376ddfad98 Better Stereo FM implementation using liquid-dsp tools 2014-12-27 12:23:09 -05:00
Charles J. Cliffe
06103a2d1b Show stereo divider 2014-12-26 23:28:18 -05:00
Charles J. Cliffe
b69f90b17b Show stereo in vis output 2014-12-26 22:20:50 -05:00
Charles J. Cliffe
591b03dc7d Indicate stereo status in term 2014-12-26 22:07:49 -05:00
Charles J. Cliffe
44602303a7 Add stereo re-sampler 2014-12-26 21:55:13 -05:00
Charles J. Cliffe
0fc47bc916 FM Stereo experiment, partly working 2014-12-26 20:58:42 -05:00
Charles J. Cliffe
b487cf9901 convert inline buffers to dynamic growth per instance 2014-12-24 03:03:34 -05:00
Charles J. Cliffe
576a77e095 Update remaining buffers, cleanup 2014-12-24 01:28:33 -05:00
Charles J. Cliffe
a7913e3290 refactor remaining transaction objects 2014-12-23 01:59:03 -05:00
Charles J. Cliffe
8ce3065bce cleanup / refactor / profiled 2014-12-23 01:12:14 -05:00
Charles J. Cliffe
24d06e13d7 Fix for various threading crashes during stress test 2014-12-22 21:12:13 -05:00
Charles J. Cliffe
312b25f55a Changed data transaction objects to use pointers 2014-12-22 19:43:56 -05:00
Charles J. Cliffe
24c86bc9e4 optimize demod, allow for channel count changes 2014-12-21 17:37:41 -05:00
Charles J. Cliffe
2b18f03cb5 Experimental squelch--hover demod and press S to toggle 2014-12-21 16:08:32 -05:00
Charles J. Cliffe
c8adad8d6d Default to new demod if last active out of range 2014-12-18 21:39:32 -05:00
Charles J. Cliffe
b196fbfdea Basic mixer for OSX -- multi demod streams working
RtAudio can’t open multiple streams, so now opening a new device will
start a static audio thread and all other threads will attach/detach
their input queues there.
2014-12-18 20:11:25 -05:00
Charles J. Cliffe
9e32ef478d Cleanup, reformat 2014-12-16 21:30:03 -05:00
Charles J. Cliffe
02cf2099a9 Rebalance demodulator threads, tweak priorities 2014-12-16 20:33:44 -05:00
Charles J. Cliffe
62c5ab38e5 Demodulator split 2014-12-16 18:27:32 -05:00
Charles J. Cliffe
c7a167a1d0 Experimental demodulator preprocessor thread
Demodulator becoming a CPU hotspot, trying to break up the workload
between threads..
2014-12-16 18:27:02 -05:00
Charles J. Cliffe
cd5f43d5c4 Switch to liquid-dsp block functions in demod 2014-12-14 20:23:52 -05:00
Charles J. Cliffe
f04ec72394 Demodulator garbage collection 2014-12-11 19:07:21 -05:00
Charles J. Cliffe
4d35075655 Can now spawn/delete demodulators 2014-12-10 21:22:13 -05:00
Charles J. Cliffe
e668fa2b5d Increase demodulator stack size on OSX
Using pthreads as a drop-in, should work since underlying is already
pthreads?
2014-12-01 18:59:07 -05:00
Charles J. Cliffe
746eca8d3e Demod worker now handles filter reconstruction
Reduces audio jittering and only generates the last queued filter to
save redundant regeneration during dragging.
2014-12-01 02:10:36 -05:00
Charles J. Cliffe
38b1393c44 Worker results.. 2014-12-01 01:14:32 -05:00
Charles J. Cliffe
5fc5e4269c Demodulator worker thread test 2014-11-30 23:33:55 -05:00
Charles J. Cliffe
0bc31eed6c Transparent demod overlay on waterfall 2014-11-30 17:59:24 -05:00
Charles J. Cliffe
874746b1d4 Removed one too many lines 2014-11-30 17:17:28 -05:00
Charles J. Cliffe
52c1db89a7 Remove unused code 2014-11-30 17:16:35 -05:00
Charles J. Cliffe
06513e2064 Cleanup / re-factor. Pair audio thread with demod 2014-11-30 17:11:29 -05:00
Charles J. Cliffe
1554348f55 Demodulator can now tune offset!
Demodulator will up-convert / down-convert by mixing VCO with incoming
IQ to shift frequency -- No longer limited to center freq. can listen
anywhere on the waterfall.
2014-11-27 22:13:21 -05:00
Charles J. Cliffe
65a5dbb24d Proper demodulator resamp and filter reinit 2014-11-26 22:29:23 -05:00
Charles J. Cliffe
ddbc08a4ff Drag up/down to set arbitrary FM demod bandwidth
Shouldn't need separate WBFM/FM/NFM setting this way -- Just "FM" and
then set arbitrary bandwidth by dragging.

Also removed redundant demod resampling stages left over from early
experiments.
2014-11-26 21:05:19 -05:00
Charles J. Cliffe
cae1855fc5 Move code out of frame, proper thread termination 2014-11-23 19:39:27 -05:00
Charles J. Cliffe
39ba38b82a Cleanup / Reformat 2014-11-22 22:33:32 -05:00
Charles J. Cliffe
58708a720e SDR->Demod->Audio chain all using std::thread
2% CPU usage drop on 3.2G i7 desktop
2014-11-22 22:17:33 -05:00
Charles J. Cliffe
26168a2713 SDR and Audio thread now using std::thread
Next up, demod thread..
2014-11-22 20:57:06 -05:00
Charles J. Cliffe
6624ec11a3 IQ->Demod->Audio threads now chained
No longer passing anything through the main thread which was causing
audio and IQ interrupts on UI events -- hopefully improves OSX jitter.

SDRThread can now have unlimited Demodulator bindings.. :)
2014-11-18 18:00:06 -05:00
Charles J. Cliffe
dd42d112c9 Demodulator can now be initialized with parameters 2014-11-17 22:58:56 -05:00
Charles J. Cliffe
532968a818 Source folder cleanup 2014-11-17 21:29:27 -05:00