Commit Graph

657 Commits

Author SHA1 Message Date
Charles J. Cliffe c200048bf7 Reduce glTexSubImage2D calls
- far less texture update calls for high speed waterfall rates
2015-10-18 13:44:31 -04:00
Charles J. Cliffe 67c184262a Minor tweaks and cleanup
- add functions to access SDRPostThread
2015-10-18 12:26:07 -04:00
Charles J. Cliffe 6ee51711db Fix channel gap on upper edge of spectrum 2015-10-17 18:25:14 -04:00
Charles J. Cliffe f1475fb9be Move DC correction to channel 0, reduce demod vis CPU usage
- Demod vis now uses channelizer output instead of decimation
- DC correction now only applied to channel 0
2015-10-17 16:17:12 -04:00
Charles J. Cliffe beccdf8c63 firpfbch2->firpfbch experiment
- My assumption about this not working correctly may be wrong, this
actually seems to work ok compared to firpfbch2
2015-10-16 18:40:40 -04:00
Charles J. Cliffe a4dc4498fc Add support for my experimental firpfbch2_crcf_set_channel_state
- Needs my fork of liquid-dsp at:
https://github.com/cjcliffe/liquid-dsp/tree/firpfbch_toggle_channels
2015-10-15 21:01:07 -04:00
Charles J. Cliffe 249e04e69c Move DC blocking filter to SDRThread
- DC blocker + Channelizer too heavy together
2015-10-15 01:35:08 -04:00
Charles J. Cliffe d8c048fecc SDRPostThread cleanup/refactor
- Cache active demodulators and channel info instead of running the
whole list each time
2015-10-14 18:09:29 -04:00
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
jocover 1ec45e84d5 fix setCORR bug and more device names support 2015-10-11 15:46:16 +08:00
Charles J. Cliffe 2b08c5d248 Fixed and working with MSVC 32-bit 2015-10-10 01:13:48 -04:00
Charles J. Cliffe b8cb4f9c9f Fix for linux (and possibly windows) startup error 2015-10-09 19:42:52 -04:00
Charles J. Cliffe 207d61cd0c Merge pull request #156 from cjcliffe/master
Two crash fixes from master branch
2015-10-09 12:58:44 -04:00
Eoin Mcloughlin 0b10a5b30c Fix crash in AudioThread::setActive
If AudioThread::run() hasn't been called yet, we can dereference a null inputQueue
2015-10-07 20:18:29 +01:00
Eoin Mcloughlin 2a95d05631 Fix crash when rtlsdr_open fails 2015-10-07 20:17:38 +01:00
Charles J. Cliffe dff879f233 Move deviceSelector init startup -> appframe
- Plus some minor static analysis fixes and missing atomic store() for
MSVC
2015-10-05 19:59:17 -04:00
Charles J. Cliffe 0df2439658 Make init asynchronous, support for SoapyRemote servers
- tested with 2xRTLSDR, SDRPlay + RTLSDR on Raspberry Pi
- parameters/info dialog portion currently hidden until it works
- remotes aren’t saved on exit yet
- can now start CubicSDR without devices (remote only mode)
- can’t currently refresh local or remote devices through UI
- can’t currently remove remotes through UI
2015-10-05 02:21:08 -04:00
Charles J. Cliffe 3bf0439c56 Integrate more soapy device params
- Check current sample/frequency ranges when switching devices to keep
them in bounds.
2015-10-04 19:55:52 -04:00
Charles J. Cliffe bf9695ecd3 Separate SDR data thread and enumeration, device dialog 2015-10-04 16:07:14 -04:00
Charles J. Cliffe 4ce8bc1781 SDR Thread rework, async device init.
- Preparing for new device selection/configuration dialog.
2015-10-03 21:35:11 -04:00
Charles J. Cliffe d7d1008d89 tweak buffer memory usage 2015-10-01 22:23:02 -04:00
Charles J. Cliffe 942a511fea FFT data buffering tweaks, remove logging 2015-10-01 22:21:44 -04:00
Charles J. Cliffe 9d06fa77c7 Use hardware DC when available
- un-comment code in SoapySDRThread for remote testing…
2015-09-30 23:45:06 -04:00
Charles J. Cliffe 748bb39795 fix waterfall lock-up 2015-09-30 02:07:00 -04:00
Charles J. Cliffe 730d123e23 Waterfall data distributor optimization
- Reduce memory thrashing and cpu usage from unnecessary buffer
allocations and deallocations
2015-09-29 22:34:34 -04:00
Charles J. Cliffe f7e9d805e3 Whoops, HackRF needs more than 16Mhz :) 2015-09-27 19:18:51 -04:00
Charles J. Cliffe 89ecf8eb9c SoapySDRThread readStream buffering tweak 2015-09-26 20:39:33 -04:00
Charles J. Cliffe 404632f373 Limit frequency CORR changes to rtlsdr and rtl drivers 2015-09-26 01:41:30 -04:00
Charles J. Cliffe fc068bff7a Experimental [sample rate buffer <-> frame rate] balancing. 2015-09-22 21:03:23 -04:00
Charles J. Cliffe 6eb2636499 Fix device init and switching 2015-09-20 21:48:37 -04:00
Charles J. Cliffe d551d5f2c4 Make sure n_read is > 0 .. 2015-09-19 22:30:00 -04:00
Charles J. Cliffe 7f2f3d95d2 Fix soapy device args init 2015-09-14 20:31:39 -04:00
Charles J. Cliffe 1918707304 Initial experimental support for SoapySDR device input 2015-09-13 22:18:29 -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 7a01c436d6 memory leak fix 2015-09-11 00:42:09 -04:00
Charles J. Cliffe 45d6531b82 remove test var 2015-09-11 00:13:30 -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 9906816c19 Remove test var 2015-09-11 00:03:02 -04:00
Charles J. Cliffe aa5a162888 Cleanup 2015-09-10 23:42:22 -04:00
Charles J. Cliffe eec1d7936f smoothest windows results so far 2015-09-10 23:01:10 -04:00
Charles J. Cliffe 0a6d409065 tex update lock, VisualData"Re"Distributor 2015-09-10 21:48:18 -04:00
Charles J. Cliffe 4301d0d434 fix missing processed check 2015-09-10 19:56:15 -04:00
Charles J. Cliffe 0b7cbbde35 fix skewing lag offset, mouse hover issues 2015-09-10 01:26:05 -04:00
Charles J. Cliffe 7b48a1f455 Windows Timer fixes 2015-09-10 00:55:39 -04:00
Charles J. Cliffe fc9ff9c877 iq data operator 2015-09-09 23:46:23 -04:00
Charles J. Cliffe 43b30367d9 Visual queue smoothing tweak 2015-09-09 23:46:05 -04:00
Charles J. Cliffe a1bf5b839e Prototype waterfall rate smoothing / fps matching 2015-09-09 23:29:38 -04:00
Charles J. Cliffe 7163cd13f2 Spectrum panel init fixes, more FFT distributor tweaks 2015-09-09 17:31:55 -04:00
Charles J. Cliffe 11121d8a0e waterfall jitter and general refresh improvements 2015-09-08 21:32:15 -04:00
Charles J. Cliffe ed2dd5e5d4 svp timing 2015-09-07 20:54:09 -04:00
Charles J. Cliffe 125a967ee3 svp header update 2015-09-07 20:53:55 -04:00
Charles J. Cliffe 2e6b173fb1 attempt to fix waterfall stutter working parts 2015-09-07 20:46:03 -04:00
Charles J. Cliffe 3ce569f043 MSVC / Win32 x86 fixes 2015-08-31 20:26:17 -04:00
Charles J. Cliffe 45c0eafa2e MSVC FFTVisualDataThread constructor fix 2015-08-28 21:48:33 -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 ecda9a8f76 Windows exit crash fix.. ? 2015-08-25 22:30:47 -04:00
Charles J. Cliffe 8dd46eb1ab Merge pull request #137 from cjcliffe/audio_spectrum
Audio spectrum visuals + fixes
2015-08-25 21:38:47 -04:00
Charles J. Cliffe 261afbce8e Windows fix-up 2015-08-25 21:35:38 -04:00
Charles J. Cliffe eae47fdfd7 Fix IQ swap default 2015-08-25 21:26:32 -04:00
Charles J. Cliffe 233e07164a spectrum label calc error 2015-08-24 08:58:08 -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 13140ec28c SpectrumVisualProcessor thread fixes, spectrum label optimize 2015-08-23 17:51:20 -04:00
Charles J. Cliffe 7a0f523eaf Test of draggable scope area + fixes
- Will be able to drag back/forth to cycle scope/spectrum/plot
- Fix for two crashes
2015-08-19 23:22:46 -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 8b5500fc9b Smooth keyboard navigation while zoomed. 2015-08-19 00:48:52 -04:00
Charles J. Cliffe b236a9cb3e fix for spectrum disconnect after zooming in/out 2015-08-18 19:21:31 -04:00
Charles J. Cliffe db1374045b missing include 2015-08-18 18:43:55 -04:00
Charles J. Cliffe 2b7edb9b0f spectrum visual spacing/floor tweak 2015-08-18 00:08:22 -04:00
Charles J. Cliffe 3c822e1bd8 Make decibels display toggleable 2015-08-17 23:31:22 -04:00
Charles J. Cliffe 62858abbf5 Spectrum peak and floor dB are now displayed 2015-08-17 21:52:38 -04:00
Charles J. Cliffe 4df66ea0e3 Move [M] to avoid confusion with Mhz 2015-08-17 01:11:42 -04:00
Charles J. Cliffe 58fb313d6f Update waterfall helptip 2015-08-17 01:07:57 -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 5ceddcfa92 Activate demodulator from session if there's only one 2015-08-16 22:31:14 -04:00
Charles J. Cliffe 867174edf3 update digital lab 2015-08-16 20:33:51 -04:00
Charles J. Cliffe 5de181cf67 keyboard waterfall zoom input tweaks 2015-08-16 19:47:49 -04:00
Charles J. Cliffe d1ed603ff0 Move demodulator and main spectrum visual processors to threads 2015-08-16 18:12:12 -04:00
Charles J. Cliffe cd129e0726 fix keyboard control code 2015-08-16 16:43:19 -04:00
Charles J. Cliffe 3e2570a26c Waterfall keyboard control updates 2015-08-15 04:47:01 -04:00
Charles J. Cliffe 91a6e45ed3 Fix spectrum visual failure below 1% averaging speed 2015-08-14 21:36:31 -04:00
Charles J. Cliffe b41d0a3613 Update tuner bandwidth help tip 2015-08-14 21:32:58 -04:00
Charles J. Cliffe 4cc4c151fa Reduce log noise, run an old version to show if need be.. 2015-08-14 21:28:43 -04:00
Charles J. Cliffe e98088159c FFTVisualDataThread sleep adjustment 2015-08-14 21:23:58 -04:00
Charles J. Cliffe 22ed3d3b27 Unify sleepy code to std::thread sleep 2015-08-14 21:20:07 -04:00
Charles J. Cliffe 89332d03b8 too much delay.. 2015-08-14 20:54:18 -04:00
Charles J. Cliffe 9c1d9f5798 IsVisible is *not* for app visibility; Hello there, IsActive() 2015-08-14 20:41:52 -04:00
Charles J. Cliffe 8c7d2576ad Update frequency dialog to support bandwidth entry 2015-08-14 20:19:37 -04:00
Charles J. Cliffe 8dc2e6cacc Move waterfall FFT processing to it's own thread. 2015-08-14 19:17:43 -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 1e493b2e20 Save waterfall / spectrum settings, update session reset 2015-08-13 22:00:05 -04:00
Charles J. Cliffe 709ab4b7d6 OSX idle throttle 2015-08-13 21:10:43 -04:00
Charles J. Cliffe e04b12662f Linux re-tweak 2015-08-13 20:39:31 -04:00
Charles J. Cliffe b1f20de0e9 RefCounter should make this unnecessary? 2015-08-13 18:10:22 -04:00
Charles J. Cliffe 1781188dfe Sleep only when not visible.. 2015-08-13 18:03:06 -04:00
Charles J. Cliffe 8000e97a8c force waterfall to throttle by client dc paint from appframe idle
- Attempting to improve waterfall jitter between platforms
2015-08-13 17:59:56 -04:00
Charles J. Cliffe c77d2c9408 windows fix-up 2015-08-12 22:36:29 -04:00
Charles J. Cliffe 7095993ba2 fft avgeraging float->double to remove some jitter 2015-08-12 22:28:39 -04:00
Charles J. Cliffe b345dc7516 Spectrum averaging control now functional 2015-08-12 22:14:14 -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 9de7bc95fb meter visual fix, tuner refresh fix 2015-08-12 20:05:57 -04:00
Charles J. Cliffe 33d51b2bff Improve input response time, balance visuals, fix a bug 2015-08-12 19:39:11 -04:00
Charles J. Cliffe 8bce632982 Add some sleep to AppFrame idle to prevent it from chewing up too much CPU while minimized 2015-08-12 18:16:53 -04:00
Charles J. Cliffe 6ae02bee9c Frame timer too jittery for anything but OSX, back to throttling which looks nicer.. 2015-08-12 18:07:06 -04:00
Charles J. Cliffe d2dbb2ff11 OSX re-tweak, might need a more accurate frame timer for windows.. 2015-08-12 16:47:35 -04:00
Charles J. Cliffe acd856646f Windows frame timing tweaks 2015-08-12 00:33:42 -04:00
Charles J. Cliffe 706a113459 Functional waterfall speed control from 1->1024 lines per second 2015-08-11 23:52:03 -04:00
Charles J. Cliffe a9181594e2 Fixes a rare crash while testing.. 2015-08-11 22:25:49 -04:00
Charles J. Cliffe 0c1f3149ac Whoops.. I can has memory leak? 2015-08-11 22:11:54 -04:00
Charles J. Cliffe 655e4da1dc Update post-input IQ visual out queue to ReBuffer<>
+ float is no longer enough for FFT zoom resolution :D
2015-08-11 21:49:42 -04:00
Charles J. Cliffe 847f7a7569 Automatic ReBuffer<> garbage collection of unused buffers 2015-08-11 21:19:55 -04:00
Charles J. Cliffe f4640094b8 Crank up the waterfall zoom limits for more detail :) 2015-08-11 20:37:46 -04:00
Charles J. Cliffe 8494ce3f18 FFTDataDistributor "lines per second" rate control 2015-08-11 19:03:46 -04:00
Charles J. Cliffe 0802f7b756 Experimenting with max speed waterfall (no dropped FFTs :)
- FFT Detail from zoomed-in views is greatly improved with the
additional data
2015-08-11 00:50:43 -04:00
Charles J. Cliffe 6ac4661e2e Merge pull request #127 from cjcliffe/master
Digital lab update
2015-08-10 19:11:18 -04:00
Charles J. Cliffe dfd02c1b12 Merge pull request #126 from cjcliffe/ui_visuals_to_panels
Refactoring, clean-up, GLPanels
2015-08-10 19:07:54 -04:00
Charles J. Cliffe c4cde423f9 theme refresh fix, set waterfall panel bg 2015-08-10 18:45:46 -04:00
Charles J. Cliffe c60a5aa019 frame timing adjustment 2015-08-10 18:30:22 -04:00
Charles J. Cliffe 1fd380d2fb Re-usable SpectrumPanel to replace SpectrumContext 2015-08-10 00:33:31 -04:00
Charles J. Cliffe 2f0d6b9c75 Re-usable WaterfallPanel to replace WaterfallContext 2015-08-09 23:00:51 -04:00
Charles J. Cliffe c970f8d5db Transform error for scope divider / center line 2015-08-09 13:23:58 -04:00
Charles J. Cliffe db8e7a68d0 Re-usable ScopePanel to replace ScopeContext Plot 2015-08-09 12:51:01 -04:00
Charles J. Cliffe aa6e612d6a Move processor call out of scope canvas 2015-08-08 14:52:01 -04:00
Charles J. Cliffe 8b48b4e449 set swap interval down to 1; frames are timed instead of throttled now 2015-08-08 14:31:23 -04:00
Charles J. Cliffe 9d4f933758 synchronized refresh timer at 30fps, remove osx frame limiter hack
- Tuning, Gain and Mode selector canvases no longer refresh unless
necessary
- Hopefully resolves refresh issues on El Capitan and others
2015-08-08 13:26:53 -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 00713c0259 unused var, comment cleanup 2015-08-03 02:12:11 -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 cd0adb0339 Bad header def.. 2015-07-31 21:48:49 -04:00
Charles J. Cliffe c448070319 Spectrum, Waterfall new headers 2015-07-31 21:47:44 -04:00
Charles J. Cliffe 77f172027e Spectrum, Waterfall processor prep 2015-07-31 21:47:21 -04:00
Charles J. Cliffe e616ae1ebb ScopeVisualProcessor header.. 2015-07-31 21:44:25 -04:00
Charles J. Cliffe 8dfd94df8d ScopeVisualProcessor cleanup 2015-07-31 21:33:31 -04:00
Charles J. Cliffe 6f3d9a6c82 visual process template tweaks, full() logic error fix 2015-07-31 21:28:14 -04:00
Charles J. Cliffe 61add8ae09 VisualProcessor now a template base, more tweaking needed 2015-07-31 21:03:17 -04:00
Charles J. Cliffe b2d4cf8f9c Merge pull request #122 from cjcliffe/ui_visuals_to_panels
MSVC and TDMGCC fixes
2015-07-31 18:35:29 -04:00
Charles J. Cliffe 3fbb1def49 MSVC and TDMGCC fixes 2015-07-31 18:21:30 -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 0d66c92f30 SDRDeviceInfo cleanup 2015-07-29 22:19:00 -04:00
Charles J. Cliffe 1f6276d090 SDRThread convert to IOThread named queue handler 2015-07-29 22:01:13 -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