Commit Graph

789 Commits

Author SHA1 Message Date
Charles J. Cliffe fe264b9da1 clear shifted peak data 2015-12-31 20:52:25 -05:00
Charles J. Cliffe 6df9661db1 Add peak hold to spectrum visuals 2015-12-31 20:44:39 -05:00
Charles J. Cliffe 127f4ff87c fftwf_malloc -> malloc MSVC fix
Calling fftwf_malloc after the first init on Windows crashes?  malloc()
seems to be fine..
2015-12-31 00:25:05 -05:00
Charles J. Cliffe b4fc0ab8b9 Adjust 512/1024 FFT samplerate threshold 2015-12-30 03:24:35 -05:00
Charles J. Cliffe 6bc79b147e Additional low-low bw mode for audio input 2015-12-29 23:44:00 -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 2867f90977 Refresh tuner on half-band change 2015-12-14 19:39:13 -05:00
Charles J. Cliffe 423b590d7c Fix off-by-one error and missing modem bw defaults 2015-12-14 19:31:18 -05:00
Charles J. Cliffe 744db7ea98 half-band tuning multiplier missing bandwidth state check 2015-12-13 17:26:19 -05:00
Charles J. Cliffe aa821c8860 Zoom transition improvements, fix a nasty visual data overflow 2015-12-13 16:07:28 -05:00
Charles J. Cliffe be8cde6ce3 More zoom tweaks, fix half-band tuner step 2015-12-13 14:09:04 -05:00
Charles J. Cliffe d448f6dfc4 Fix mis-aligned average buffers on view shift 2015-12-12 19:26:02 -05:00
Charles J. Cliffe aa4478946f Fix demod waterfall/spectrum 2015-12-12 17:38:17 -05:00
Charles J. Cliffe 0b03ed47d4 Remap mis-matched averaging buffers on resampler change 2015-12-12 17:28:17 -05:00
Charles J. Cliffe e22e696a7d SpectrumVisualProcessor fixes/tweaks 2015-12-11 22:58:58 -05:00
Charles J. Cliffe 8331b1e5b1 Fix modem pre-selection bandwidth defaults 2015-12-11 22:21:41 -05:00
Charles J. Cliffe 7038652141 Fix some waterfall zoom navigation mistakes 2015-12-11 19:57:40 -05:00
Charles J. Cliffe fe25aaefdf SpectrumVisualProcessor Zoom rework
- Offloads some zoom processing from liquid-dsp to FFTW
- Eliminates aliases crawling across during zoom
- Doubles internal FFT allowing some additional visual smoothing
- Reduces CPU usage while zoomed deeply
- Eliminates CPU spikes while zooming
2015-12-08 22:17:00 -05:00
Charles J. Cliffe 68f0a986ee Missing support module detection / info popup 2015-12-07 22:05:31 -05:00
Charles J. Cliffe 4ca7444176 Fix naming in UI "Bandwidth"->"Sample Rate" 2015-12-07 21:02:47 -05:00
Charles J. Cliffe 904db013c7 Simple tuner half-band display patch 2015-12-07 20:19:03 -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 7d0c667f3e MSVC temporary fix-up 2015-12-01 22:06:50 -05:00
Charles J. Cliffe 0f8065f48a FSK tweaks, minimum bandwidth adjust 2015-12-01 00:59:11 -05:00
Charles J. Cliffe 76d69ffd78 Add GMSK, fix modem bandwidth logic, cleanup. 2015-11-30 21:58:54 -05:00
Charles J. Cliffe ceb6d62089 X/Y scope fading tweak 2015-11-29 16:42:12 -05:00
Charles J. Cliffe 380a5e4c2e Fix case where re-activation shows old mode dialog 2015-11-29 15:16:44 -05:00
Charles J. Cliffe c303b68284 Basic X/Y scope plot while in digital mode 2015-11-29 13:35:12 -05:00
Charles J. Cliffe 7e4d173996 Basic console window for digital output
- Probably end up making this a single tabbed dialog but this works for
the moment
2015-11-28 23:03:07 -05:00
Charles J. Cliffe cdddd5850f Legacy session load tweak, modem type selection refresh fix 2015-11-27 00:16:13 -05:00
Charles J. Cliffe eb7986e25f Save/load modem settings, race fixes, legacy session support 2015-11-27 00:05:21 -05:00
Charles J. Cliffe e68ab1e82f Remember settings when toggling modem types
- Some additional race condition fixes for showing/hiding the modem
property grid
2015-11-26 22:06:29 -05:00
Charles J. Cliffe 4fa0cb7c67 Persist modem settings on new instances 2015-11-26 01:54:54 -05:00
Charles J. Cliffe 1fb5dc4236 Fix non-digital-lab build 2015-11-24 23:32:40 -05:00
Charles J. Cliffe 67edfab862 Show/Hide modem properties when available 2015-11-24 23:00:43 -05:00
Charles J. Cliffe d14dfed063 FSK now appears somewhat functional (outputs symbols to console) 2015-11-24 00:20:17 -05:00
Charles J. Cliffe 6e74662518 Modem property grid settings now applying/working
- Still some races with initializing the grid on new demodulators
2015-11-23 22:39:39 -05:00
Charles J. Cliffe abdb5d32d9 Modem instance setting read/write 2015-11-23 22:16:09 -05:00
Charles J. Cliffe c5bccb4211 Modem property grid now shows interactive settings
- Not yet applied
2015-11-23 22:03:14 -05:00
Charles J. Cliffe 5303f329df ModemProperties panel property grid init 2015-11-23 21:32:50 -05:00
Charles J. Cliffe 4af943791b Modem can now trigger kit rebuild, add FSK test settings 2015-11-23 20:44:48 -05:00
Charles J. Cliffe 4a62eae096 Convert constellation code to ModemArgInfo settings
- Note: can’t set constellation yet until property grid is added
2015-11-23 20:03:47 -05:00
Charles J. Cliffe de1264fe17 Copy SoapySDR::ArgInfo to bootstrap ModemArgInfo 2015-11-23 18:41:10 -05:00
Charles J. Cliffe 407abac8e8 Move minimum frequency check to modem checkSampleRate() 2015-11-22 23:38:26 -05:00
Charles J. Cliffe 7b301fadc1 Clean up some early prototype garbage.. 2015-11-22 23:25:45 -05:00
Charles J. Cliffe c0eca0b2f3 Allow modems to limit/control input rate
- Modems can now over-ride user rate input and lock/step as needed
- Separate digital code defs a bit more so it’s not required when
disabled
- Testing FSK based on @andresv ’s example at
https://github.com/jgaeddert/liquid-dsp/issues/9
2015-11-22 19:56:25 -05:00
Charles J. Cliffe 724808d9ff Clean-up/fix squelch 2015-11-21 15:12:20 -05:00
Charles J. Cliffe c503bb93da whoops.. :) 2015-11-21 02:13:33 -05:00
Charles J. Cliffe fb677d0ee2 Constructor init order warning fixes 2015-11-20 22:29:04 -05:00
Charles J. Cliffe a55dcad8be Remove unused demod buffer 2015-11-20 22:13:09 -05:00
Charles J. Cliffe 63ea642c88 Clean-up unused stereo states. 2015-11-20 21:55:37 -05:00
Charles J. Cliffe 703e281d76 Fix demodulator init race 2015-11-20 21:41:57 -05:00
Charles J. Cliffe 7e856988a2 Fix spectrum/waveform display when higher than audio rate 2015-11-20 20:46:25 -05:00
Charles J. Cliffe af2710ff37 Ubuntu fixes 2015-11-20 19:32:53 -05:00
Charles J. Cliffe c912601272 MSVC fixes 2015-11-20 19:05:08 -05:00
Charles J. Cliffe cf5cefbf6c fix non-lab build 2015-11-19 00:39:14 -05:00
Charles J. Cliffe e9f8869312 Fix ModemASK cons init 2015-11-19 00:19:24 -05:00
Charles J. Cliffe 86270b3300 race/init fix; skip audio output on digital 2015-11-19 00:11:34 -05:00
Charles J. Cliffe dfd7496175 digital modem wrap-up and re-connect
- Compiles but untested
2015-11-18 23:40:30 -05:00
Charles J. Cliffe 001f4ee23b Add digital modem factories 2015-11-18 23:06:21 -05:00
Charles J. Cliffe a6cb932ab9 ModemDigital cleanup 2015-11-18 23:01:56 -05:00
Charles J. Cliffe f43abdddaf updateDemodulatorCons() cleanup 2015-11-18 22:57:31 -05:00
Charles J. Cliffe 94f94fa7dc modem init order fix 2015-11-18 21:33:52 -05:00
Charles J. Cliffe d6ffb6edc2 Cleanup / implement digital modem demod code 2015-11-18 21:31:59 -05:00
Charles J. Cliffe 10aa9f86dd Apply source formatting for demodulator thread 2015-11-18 21:13:04 -05:00
Charles J. Cliffe ea005014ae Refactor digital code, prepare for implementation 2015-11-18 21:09:51 -05:00
Charles J. Cliffe bb62fd1999 Fix/add FMS as temporary FM-Stereo mode 2015-11-18 00:23:04 -05:00
Charles J. Cliffe 5f6b492478 Analog modems now somewhat functional
- Still major memory leaks.. :)
2015-11-17 23:23:23 -05:00
Charles J. Cliffe f53e228849 Cleanup / finalize demod before initial testing 2015-11-17 21:49:02 -05:00
Charles J. Cliffe 62ca78141f Analog chain mostly complete 2015-11-17 21:22:51 -05:00
Charles J. Cliffe 8ac4498db7 code cleanup 2015-11-17 20:47:00 -05:00
Charles J. Cliffe 31bf65259d Worker thread demod spawn, abstract Modem 2015-11-17 20:20:12 -05:00
Charles J. Cliffe 39c42c2b82 Add modemkit to demod chain 2015-11-17 19:32:47 -05:00
Charles J. Cliffe 73ca52aee1 Convert demodulator type ids to strings for now 2015-11-17 18:57:42 -05:00
Charles J. Cliffe e33b8952d4 Modem factory init 2015-11-17 00:21:17 -05:00
Charles J. Cliffe a1a6a467e8 Modem, ModemKit and initial ModemAnalog refactor 2015-11-16 23:49:54 -05:00
Charles J. Cliffe 6b3467e5c8 Add ENABLE_DIGITAL_LAB def 2015-11-15 13:52:54 -05:00
Charles J. Cliffe a96a3b2234 Merge branch 'master' into digital_lab 2015-11-15 12:23:59 -05:00
Charles J. Cliffe 538092d9a0 remove null pointer checks... 2015-11-12 19:07:31 -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 80e0d7019f Update digital_lab 2015-11-10 20:53:55 -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 886425d83d Fix close on OSX 2015-11-10 02:13:15 -05:00
Charles J. Cliffe f94f285f62 MSVC / close menu fix 2015-11-09 23:27:56 -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 efbdb2d69f Settings menu now functional. 2015-11-03 23:44:35 -05:00
Charles J. Cliffe 97cf6c4b23 SDRThread read/write setting support 2015-11-03 21:06:22 -05:00
Charles J. Cliffe c7ecc5f1f6 Settings now added to settings menu, not yet functional..
- Also possible re-ordering fix for scope visual crash I have
occasionally
2015-11-03 19:58:42 -05:00
Charles J. Cliffe bcc5f8560f Device dialog /w editable SoapySDR config -- not actually applied yet :) 2015-11-03 00:53:39 -05:00
Charles J. Cliffe 57f492dee6 merge soapysdr-support fixes 2015-11-02 21:20:58 -05:00
Charles J. Cliffe 0d928543d8 Fix for ubuntu menu update crash 2015-11-02 21:04:02 -05:00
Charles J. Cliffe 4ffa518dcc Update appframe menus from appframe instead of app thread..
- Possible fix for Linux menu update crash
2015-11-02 19:27:34 -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 7b48b4f69f Fix arrow key input on windows 2015-11-01 16:12:22 -05:00
Charles J. Cliffe ba067bcc24 Fix spectrum scale control in Windows 2015-11-01 12:41:13 -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 058709b8a8 Balance some interactive UI elements to scale better
- Most notably the tuning bar wasn’t really usable before when reducing
the top area too much.
2015-10-30 19:46:29 -04:00
Charles J. Cliffe 388d948486 Prevent crash from disabling AGC before device is known 2015-10-30 19:29:56 -04:00
Charles J. Cliffe a1b73403a7 Soapy bundle option; requires SoapySDR/loader_work 2015-10-29 22:22:10 -04:00
Charles J. Cliffe 798c558c09 Fix bad frequency jumps at zoomed freq <= 1/2 samplerate 2015-10-28 22:07:06 -04:00
Charles J. Cliffe 8c53bde031 Fix bad waterfall texture offset
Was offset by 1 pixel..
2015-10-27 17:35:42 -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 f7821400a1 Missing include 2015-10-27 12:18:26 -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 68d80bde9e Shift + arrow up/down to adjust visual scale 2015-10-25 14:31:56 -04:00
Charles J. Cliffe a6201ad3b5 Add split-view controls; tweak spectrum scale control 2015-10-25 14:09:59 -04:00
Charles J. Cliffe 11aa8e9b05 Right drag spectrum vertically to adjust scale 2015-10-25 00:07:01 -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 8e29fd5a98 missed texture init check on drawPanelContents 2015-10-22 18:29:49 -04:00
Charles J. Cliffe ea7520734c Waterfall init re-ordering for gl context sanity 2015-10-22 18:21:47 -04:00
Charles J. Cliffe e61caaf5a6 Possible null pointer calls, fix unnecessary context switches 2015-10-22 01:42:50 -04:00
Charles J. Cliffe 1e0489f974 Fix some possible threading issues with waterfall canvas 2015-10-22 01:12: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 fcbe2723e6 Manual bandwidth input improvements
- Prevent out-of-range bandwidths
- Display device name and known min/max rate
2015-10-21 17:39:44 -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 0cad2f1cfa Apparently something still needs this..
TODO: this
2015-10-21 00:35:06 -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 71383b4cb6 Avoid extra locking if queue is empty 2015-10-20 18:32:49 -04:00
Charles J. Cliffe b822704b0c Tweak waterfall update mutex locking 2015-10-20 18:30:41 -04:00
Charles J. Cliffe 0af4de4e84 stream init order of operations fix 2015-10-20 01:54:20 -04:00
Charles J. Cliffe 6087588b3d MSVC simplification, easier to use alternate libs 2015-10-19 23:02:50 -04:00
Charles J. Cliffe 73733eabfe Update default sample rate
- Should fix startup for AirSpy
2015-10-18 14:18:26 -04:00
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