Commit Graph

234 Commits

Author SHA1 Message Date
Charles J. Cliffe 6eb511a559 Disable Soapy freq feedback -- causing weird issues with async implementations 2016-01-04 00:56:18 -05:00
Charles J. Cliffe 0ace8657b2 Fix offset frequency drift.. 2016-01-03 15:00:41 -05:00
Charles J. Cliffe c94cdb0855 string setting fix, soapy device frequency setting control/feedback 2016-01-02 21:42:35 -05:00
Charles J. Cliffe 68c409486e Fix toggling between low/high bw with same channel count 2015-12-29 23:25:22 -05:00
Charles J. Cliffe 7d6a387a77 Updates and improvements for low-bandwidth input usage 2015-12-29 20:52:49 -05:00
Charles J. Cliffe 68f0a986ee Missing support module detection / info popup 2015-12-07 22:05:31 -05:00
Charles J. Cliffe 571ccd3f48 Save/Load and persist SoapySDR device settings 2015-12-06 00:32:32 -05:00
Charles J. Cliffe f91a508da6 Channelizer tweaks 2015-12-05 19:07:26 -05:00
Charles J. Cliffe 1eb84d6fa7 SDRPostThread cleanup 2015-12-05 18:52:36 -05:00
Charles J. Cliffe cdc80b890b Add ReBuffer buffer count warning, fix SDRPostThread off-by-one channel reset 2015-12-04 22:10:51 -05:00
Charles J. Cliffe df4270a760 Allow user-specified SoapySDR module path 2015-11-12 18:38:38 -05:00
Charles J. Cliffe 8f18c316de Add "Local Net" section for discovered LAN devices 2015-11-11 00:16:26 -05:00
Charles J. Cliffe 6cd82ea44f Optional title suffix, prefer local to bundled modules default 2015-11-10 19:25:41 -05:00
Charles J. Cliffe f39a96022a Add OSX SoapySDR module bundling support. 2015-11-08 16:45:06 -05:00
Charles J. Cliffe 5346bdd50d SDR Device dialog property settings now functional 2015-11-04 02:04:52 -05:00
Charles J. Cliffe 97cf6c4b23 SDRThread read/write setting support 2015-11-03 21:06:22 -05:00
Charles J. Cliffe e04ec9ef37 Remove built-in RTLSDR settings to prepare for replacements, Device form propgrid test 2015-11-02 19:02:45 -05:00
Charles J. Cliffe 8878a22bd2 re-enable module dc correct 2015-11-01 11:34:20 -05:00
Charles J. Cliffe d0b0606050 Merge pull request #177 from cjcliffe/soapysdr-loadmodule
SoapySDR bundling support for windows
2015-11-01 11:32:03 -05:00
Charles J. Cliffe ad233cbb04 Use single mutex lock instead of atomic arrays for gain 2015-10-31 13:35:13 -04:00
Charles J. Cliffe a1b73403a7 Soapy bundle option; requires SoapySDR/loader_work 2015-10-29 22:22:10 -04:00
Charles J. Cliffe 7027e7bf0b Missed crash fix for channelizer channel 0 2015-10-27 17:06:39 -04:00
Charles J. Cliffe 3fc6f9ad80 Several crash/bug fixes, uninitialized vars 2015-10-27 16:53:06 -04:00
Charles J. Cliffe ac93aa369b Manual Gain Control :-)
- Disable AGC from settings menu
- Requires latest SoapySDRPlay gain commits for SDRPlay
2015-10-27 01:56:49 -04:00
Charles J. Cliffe b89d606af3 SoapySDR 0.4.0 updates
- Requires up-to-date SoapySDR 0.4.x and re-built modules
2015-10-23 02:53:51 -04:00
Charles J. Cliffe 5fd4ba8059 Some DC-Spike removal magic..
Pay no attention to the spike behind the curtain.. <*|:-)
2015-10-21 19:50:53 -04:00
Charles J. Cliffe cd82ecb15b Put the default sample rates back, might be causing bad init.. 2015-10-21 16:56:32 -04:00
Charles J. Cliffe d85c94ead0 Attempt best-match sample rate near "default"
- Fix hard-coded usage of DEFAULT_SAMPLE_RATE, now “suggested” rate
2015-10-20 23:57:54 -04:00
Charles J. Cliffe 091ce26ed6 Dynamic input rate menu values from SoapySDR 2015-10-20 23:00:10 -04:00
Charles J. Cliffe 0af4de4e84 stream init order of operations fix 2015-10-20 01:54:20 -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 207d61cd0c Merge pull request #156 from cjcliffe/master
Two crash fixes from master branch
2015-10-09 12:58:44 -04:00
Eoin Mcloughlin 2a95d05631 Fix crash when rtlsdr_open fails 2015-10-07 20:17:38 +01: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 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 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 2e6b173fb1 attempt to fix waterfall stutter working parts 2015-09-07 20:46:03 -04:00
Charles J. Cliffe 5de181cf67 keyboard waterfall zoom input tweaks 2015-08-16 19:47:49 -04:00
Charles J. Cliffe b1f20de0e9 RefCounter should make this unnecessary? 2015-08-13 18:10:22 -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 33d51b2bff Improve input response time, balance visuals, fix a bug 2015-08-12 19:39:11 -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 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 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 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 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 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 19f9b7ab70 MSVC fixes 2015-07-21 00:59:18 -04:00
Charles J. Cliffe 9843f85086 Save center frequency 2015-07-20 22:51:19 -04:00
Charles J. Cliffe 57e988572f type updates 2015-07-19 23:19:10 -04:00
Charles J. Cliffe b762d4d118 Save offset, direct sampling mode and i/q swap per device 2015-07-08 01:07:39 -04:00
Charles J. Cliffe 20f537b37b Fix for loading offset frequency properly from session.. 2015-06-11 19:59:08 -04: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
Charles J. Cliffe 8496287455 Adds feature to Swap I/Q 2015-05-31 22:13:14 -04:00
Charles J. Cliffe 3efb036099 Unsafe vector demod queues replaced /w mutex lock 2015-05-31 12:05:45 -04:00
Charles J. Cliffe a984ce296d Adds RTL-SDR direct sampling mode option 2015-05-30 23:14:16 -04:00
Charles J. Cliffe 2a9eadbf9a Issue #81 patches from @dovandung 2015-05-27 23:22:19 -04:00
Charles J. Cliffe e7d3e0c598 remove ppm debug 2015-04-23 21:28:49 -04:00
Charles J. Cliffe 8589a39f66 Simple active demod tracking, helptip updates. 2015-04-23 19:38:44 -04:00
Charles J. Cliffe 3241106bf7 fix multiple device enumeration 2015-04-21 23:50:51 -04:00
Charles J. Cliffe ca851add76 Improved config code / xml format 2015-04-21 23:19:45 -04:00
Charles J. Cliffe 55fd0c986f PPM correction now editable + saved and loaded/applied per-device by serial and name 2015-04-13 21:18:45 -04:00
Charles J. Cliffe 3af564037c New tuning bar now functional 2015-03-26 22:45:52 -04:00
Charles J. Cliffe 0c66d19f92 Merge branch 'master' into osx-app-build 2015-02-21 23:33:05 -05:00
Charles J. Cliffe 2c33773189 FFT resolution/zoom tweak 2015-02-21 23:25:40 -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 e4c942c714 Log available swap functions, possible fix for DRI2SwapInterval 2015-02-10 18:28:35 -05:00
Charles J. Cliffe 4218fb73a0 Demod visual activation when entering/leaving view 2015-02-05 20:54:04 -05:00
Charles J. Cliffe 6deee5a936 loop->memcpy 2015-02-05 19:45:01 -05:00
Charles J. Cliffe 9cf8799a58 Patch for Windows / OSX 2015-02-05 19:30:06 -05:00
Ryndzionek Mariusz a2c6e0bf91 Added LUT for IQ mapping with proper scaling 2015-02-03 18:42:44 +01:00
Charles J. Cliffe 27b890c882 Experimental zoomed FFT resolution improvements 2015-01-31 22:27:11 -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 4213b47c99 Move waterfall color themes to general theme classes, convert hard-coded colors 2015-01-14 22:14:57 -05:00
Charles J. Cliffe 2d0485c8ea RTL Device Selection 2015-01-12 00:40:43 -05:00
Charles J. Cliffe ea2627ace6 Can now change input device bandwidth 2015-01-11 17:08:16 -05:00
Charles J. Cliffe f454c34245 Save / Load session working 2015-01-10 12:27:03 -05:00
Charles J. Cliffe 0806e47116 offset direction 2015-01-06 02:02:19 -05:00
Charles J. Cliffe 1671e625e4 Menu option for frequency offset (up/down converters) 2015-01-06 00:57:57 -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 334618d000 cleanup, refactor, right mouse waterfall zoom drag 2015-01-03 17:07:39 -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 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 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 ef78ffc6f3 minor warning fixes 2014-12-23 02:32:25 -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 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 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 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 5fc5e4269c Demodulator worker thread test 2014-11-30 23:33:55 -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 499e411048 Remove DC spike from IQ stream and visuals
IQ post-process / distribution in separate thread, use of
iirfilt_crcf_create_dc_blocker to reduce DC offset in IQ stream.
2014-11-29 13:58:20 -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 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 532968a818 Source folder cleanup 2014-11-17 21:29:27 -05:00