Commit Graph

263 Commits

Author SHA1 Message Date
Charles J. Cliffe edd154296c FIR Polyphase filterbank channelizer prototype implementation
- Can now handle several 200khz FM streams with SDRPlay at 8Mhz+ on my
old 2010 Macbook Pro :)
- Demod bandwidth max now limited to 400khz, temporary until alternate
path for high-bandwidth is available
2015-10-14 00:54:48 -04:00
Charles J. Cliffe eaaf6cd02e Merge pull request #143 from cjcliffe/master
update lab
2015-09-12 14:11:55 -04:00
Charles J. Cliffe 52387f97f7 Merge pull request #142 from cjcliffe/fftdata_nodrop
Fix Waterfall Jitter
2015-09-11 00:07:29 -04:00
Charles J. Cliffe fc9ff9c877 iq data operator 2015-09-09 23:46:23 -04:00
Charles J. Cliffe 3ce569f043 MSVC / Win32 x86 fixes 2015-08-31 20:26:17 -04:00
Charles J. Cliffe b549f9748e Other apps seem to want I/Q pipe in this format; going with the flow 2015-08-28 19:55:25 -04:00
Charles J. Cliffe 2974546436 update digital_lab 2015-08-26 20:32:53 -04:00
Charles J. Cliffe fe46fb191f Fix demodulator worker thread crash on terminate 2015-08-24 07:25:04 -04:00
Charles J. Cliffe c30cce9114 Add functional Spectrum view to demodulator visuals
- Might need to do some renaming from Scope->AVDisplay or something for
ScopeCanvas to avoid confusion.
2015-08-24 01:31:37 -04:00
Charles J. Cliffe 03c8619c5a Carry / preset mute state; mute button visual tweaks 2015-08-19 17:06:06 -04:00
Charles J. Cliffe 9de1abd539 Add mute button and 'M' to toggle mute on waterfall hover 2015-08-17 00:59:38 -04:00
Charles J. Cliffe 88ebb7a83a Merge pull request #130 from cjcliffe/master
update lab
2015-08-13 22:17:34 -04:00
Charles J. Cliffe 1d5a2f1ac7 Fix for an initial priming overload and visuals memory leak 2015-08-12 21:45:02 -04:00
Charles J. Cliffe 5f96f4c839 Merge pull request #124 from cjcliffe/ui_visuals_to_panels
Ui visuals to panels
2015-08-04 17:09:07 -04:00
Charles J. Cliffe bab2ad3780 cleanup 2015-08-03 23:41:37 -04:00
Charles J. Cliffe 2cff389d6b SpectrumVisualProcessor now working, cleanup, refactoring 2015-08-03 01:38:38 -04:00
Charles J. Cliffe 560eec1336 ScopeVisualProcessor now working 2015-08-01 11:03:00 -04:00
Charles J. Cliffe 5033d6f5d8 Merge ui panel code and refactoring 2015-07-30 21:53:29 -04:00
Charles J. Cliffe c1774ee96a Cleanup / refactor "pipe" names for clarity 2015-07-30 20:36:06 -04:00
Charles J. Cliffe 10e35002f1 AudioThread & demod worker IOThread queues, cleanup 2015-07-30 19:30:46 -04:00
Charles J. Cliffe 5bbcf7aa11 DemodulatorThread visual out queue /w IOThread::onBindOutput 2015-07-30 00:52:00 -04:00
Charles J. Cliffe 0a9dd7692a DemodulatorThread convert to IOThread named queues 2015-07-30 00:28:53 -04:00
Charles J. Cliffe d53aabf73a DemodulatorPreThread convert to IOThread named queues 2015-07-29 22:52:54 -04:00
Charles J. Cliffe 05cd99bbf1 IOThread all the things! 2015-07-29 20:57:02 -04:00
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