Commit Graph

289 Commits

Author SHA1 Message Date
Charles J. Cliffe
3ab8669d06 Initial IOThread prototype 2015-07-29 18:34:58 -04:00
Charles J. Cliffe
2d8c2800cb more ReBuffer<> updates 2015-07-28 22:14:48 -04:00
Charles J. Cliffe
f731602017 initial ScopeVisualProcessor, ReBuffer template 2015-07-28 21:56:39 -04:00
Charles J. Cliffe
88c1bb5d51 Merge pull request #115 from cjcliffe/master
update lab
2015-07-21 01:11:16 -04:00
Charles J. Cliffe
19f9b7ab70 MSVC fixes 2015-07-21 00:59:18 -04:00
Charles J. Cliffe
6b61943fba Merge work from @Dantali0n to digital_lab branch, thanks\! 2015-07-20 00:00:50 -04:00
Charles J. Cliffe
57e988572f type updates 2015-07-19 23:19:10 -04:00
Charles J. Cliffe
6beeb70549 Disable I/Q AGC when gain < 0.25 2015-07-19 15:34:06 -04:00
Charles J. Cliffe
8827ff9e26 add some missing init vars causing problems with new demod 0/false value checks 2015-07-18 17:03:29 -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
corne lukken
e5bdcb1fc9 Finished messaging pop-up started implementing advanced modulations 2015-05-29 13:45:15 +02:00
Charles J. Cliffe
2a9eadbf9a Issue #81 patches from @dovandung 2015-05-27 23:22:19 -04:00
Charles J. Cliffe
8589a39f66 Simple active demod tracking, helptip updates. 2015-04-23 19:38:44 -04:00
Charles J. Cliffe
efa2cd75c9 tuning tweaks, zoomed view following fix 2015-03-29 20:24:00 -04:00
Charles J. Cliffe
3af564037c New tuning bar now functional 2015-03-26 22:45:52 -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
40938a3619 Disable sample imbalance-carry patch
Seems to be causing a problem with peak gains between samples causing
pops, and it’s no longer necessary for SSB
2015-02-23 00:44:04 -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
0c66d19f92 Merge branch 'master' into osx-app-build 2015-02-21 23:33:05 -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
9d9bb8f103 OSX .app compiles but with runtime dylib errors
Regular binary compilation works, manual wxWidgets compile required for
app (port version doesn’t work for me).
Fixed-up app has runtime errors with dylib files but otherwise verifies…
2015-02-17 21:26:14 -05:00
Charles J. Cliffe
ddbdd81699 Ensure demodulator always gets even buffer lengths 2015-02-16 13:49:04 -05:00
Charles J. Cliffe
24fe742f8e Improve SSB UI visuals and interactivity 2015-02-16 02:15: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
4218fb73a0 Demod visual activation when entering/leaving view 2015-02-05 20:54:04 -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
b4e4f3017f Remove public access to demod internal state vars and clean-up improper use 2015-02-02 18:24:04 -05:00
Charles J. Cliffe
e504f4f282 Fix demodulator selection menu radio and display 2015-01-25 21:03:17 -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
c55b94eee1 Bandwidth change patch 2015-01-23 02:09:37 -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
4213b47c99 Move waterfall color themes to general theme classes, convert hard-coded colors 2015-01-14 22:14:57 -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
93da5b5fa1 Some basic color themes and selector 2015-01-11 03:09:59 -05:00
Charles J. Cliffe
a18d59aa44 missing demodulator pop on terminate 2015-01-10 22:45:43 -05:00
Charles J. Cliffe
60b5dbb07f Per-demodulator gain settings 2015-01-10 20:33:30 -05:00
Charles J. Cliffe
f454c34245 Save / Load session working 2015-01-10 12:27:03 -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
7d5d638666 FFTW->FFTWF better CPU usage 2015-01-06 19:15:27 -05:00
Charles J. Cliffe
9f945026b8 Fix frequency related data types for >2Ghz 2015-01-04 17:11:20 -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
6679b20fbb Can now choose demodulator output devices 2014-12-31 21:31:37 -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
d642cc63fd scope resolution adjust 2014-12-28 21:14:08 -05:00
Charles J. Cliffe
1e970f4373 Zoomed-in demodulator waterfall somewhat working
- update demod WF from demodulator is jittery
- adjustments with immediate update is awkward
2014-12-28 05:13:46 -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
45b223aed9 eliminate fp/int IQ data conversions 2014-12-26 16:15:35 -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
8c852ed491 SDR thread reusable buffers implemented 2014-12-24 00:11:41 -05:00
Charles J. Cliffe
b7375ce09f Threading crash fixes, reusable IQ buffer queue 2014-12-23 23:37:18 -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
703501f32d OSX fixes 2014-12-22 23:27:52 -05:00
Charles J. Cliffe
1dc218d346 Disable FIR filter -- decimation is enough? 2014-12-22 21:31:53 -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
76c68cc4fa OSX fix-up 2014-12-16 00:22:33 -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
24cd93d1ae Split DemodulatorMgr and DemodulatorInstance 2014-12-11 23:35:06 -05:00
Charles J. Cliffe
5db4dcdbac prototype drag range demod create/select tool 2014-12-11 20:50:58 -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
380145fdaa Waterfall hover-state/interactivity improvements 2014-12-10 00:34:27 -05:00
Charles J. Cliffe
7dcab0a078 OSX exit crash fix 2014-12-01 19:45:34 -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
0d8991eb67 Demodulator finder, hover states for waterfall 2014-11-30 18:54:13 -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
df853bfd65 Removed unused/empty source files 2014-11-27 12:55:55 -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
ac20bc1e84 Cleanup 2014-11-22 23:38:37 -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
9150439283 Thread priority bump, main thread sleep 2014-11-18 19:02:07 -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
75c51f1236 missing return params 2014-11-17 23:25:14 -05:00
Charles J. Cliffe
dd42d112c9 Demodulator can now be initialized with parameters 2014-11-17 22:58:56 -05:00
Charles J. Cliffe
7f5031b6e5 cleanup 2014-11-17 21:35:10 -05:00
Charles J. Cliffe
532968a818 Source folder cleanup 2014-11-17 21:29:27 -05:00