Commit Graph

360 Commits

Author SHA1 Message Date
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 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 10e35002f1 AudioThread & demod worker IOThread queues, cleanup 2015-07-30 19:30:46 -04:00
Charles J. Cliffe 5c0aee5ecb Merge pull request #113 from cjcliffe/master
Update ui_controls
2015-07-20 00:03:32 -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 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 9bd7ebf07a Set raw demod type before bandwidth to prevent crash from previous bw setting 2015-07-17 22:27:38 -04:00
Charles J. Cliffe b28c8dbc3e Move static fonts to GLFont 2015-06-30 23:07:39 -04:00
Charles J. Cliffe ab438738aa Fix conflict with wx RGBColor struct 2015-06-21 10:51:13 -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
Dantali0n 9e1601c446 Working demodulator lock status text 2015-06-05 09:51:46 +02:00
corne lukken 0a0e7db242 deModulators selections 2015-06-03 11:23:16 +02:00
Charles J. Cliffe 076d8a6847 Static analysis warning fixes 2015-05-30 00:09:51 -04:00
Charles J. Cliffe 24179afd28 add ternary to catch possible null pointer bump 2015-05-28 18:30:53 -04:00
Charles J. Cliffe 2a9eadbf9a Issue #81 patches from @dovandung 2015-05-27 23:22:19 -04:00
Charles J. Cliffe a39b745d44 Range selection snapping.. 2015-05-11 21:54:31 -04:00
Charles J. Cliffe d3f1d5236c Waterfall demod manipulation/feedback tweaks 2015-05-11 20:55:54 -04:00
Charles J. Cliffe 7923235253 UI Tweaks and fixes, +2.16M input rate 2015-05-11 20:25:31 -04:00
Charles J. Cliffe ec030bafff Fix offset for demod frequency drag 2015-05-11 01:23:02 -04:00
Charles J. Cliffe 7a2b86641d Help tip update 2015-05-10 22:21:13 -04:00
Charles J. Cliffe ecd648ac32 Snap freq drag/place by freq digit right click 2015-05-10 21:43:03 -04:00
Charles J. Cliffe 010481d74f Cleanup and fixes 2015-05-10 20:00:48 -04:00
Charles J. Cliffe fc21d96c12 help tip updates, tuning bar support 2015-05-10 02:30:50 -04:00
Charles J. Cliffe 04ee1534ad Prototype frequency input dialog 2015-05-04 19:44:03 -04:00
Charles J. Cliffe 8589a39f66 Simple active demod tracking, helptip updates. 2015-04-23 19:38:44 -04:00
Charles J. Cliffe a3a33eb3fe Set PPM via Tuning bar by holding ALT 2015-04-22 22:54:48 -04:00
Charles J. Cliffe 4f2b9d93c3 Mouse wheel support for tuning bar digits 2015-04-08 18:37:40 -04:00
Charles J. Cliffe 2dada587d1 mode selector helptip 2015-04-02 21:16:03 -04:00
Charles J. Cliffe 77c50558ca remove commented code 2015-04-02 20:58:02 -04:00
Charles J. Cliffe 72edba4880 better color theme values for new frequency tuning bar 2015-04-02 20:52:33 -04:00
Charles J. Cliffe efa2cd75c9 tuning tweaks, zoomed view following fix 2015-03-29 20:24:00 -04:00
Charles J. Cliffe d95925a3c4 fix locked view on zoomed view after demodulators are deactivated 2015-03-28 03:51:22 -04:00
Charles J. Cliffe b4fb0984d3 prevent mouseup tuner step on drag stop 2015-03-28 01:11:33 -04:00
Charles J. Cliffe d945c58579 remove debug line 2015-03-28 00:59:54 -04:00
Charles J. Cliffe a1567628c0 allow dragging digits to seek tuner value at that exponent 2015-03-28 00:59:04 -04:00
Charles J. Cliffe 6213623e0f fix for no-carry on leading digits 2015-03-28 00:04:42 -04:00
Charles J. Cliffe 3127868895 Add shift key no-carry for bandwidth and center 2015-03-27 23:25:59 -04:00
Charles J. Cliffe b74e0d0fad Experimental shift key click to prevent carry for frequency tuner 2015-03-27 21:15:24 -04:00
Charles J. Cliffe 3af564037c New tuning bar now functional 2015-03-26 22:45:52 -04:00
Charles J. Cliffe 36f1bd6b01 tuner hover states and visual test 2015-03-26 20:12:54 -04:00
Charles J. Cliffe 2893a1ab17 Tuner index up/down debug visual test 2015-03-25 22:47:54 -04:00
Charles J. Cliffe d7784a393d Tuner debug, spinner index working 2015-03-25 21:35:42 -04:00
Charles J. Cliffe de2b25e148 Prototype visual layout for new tuner widget 2015-03-24 20:33:07 -04:00
Charles J. Cliffe fa54aab01f fix for SSB selection issue 2015-03-12 20:50:40 -04:00
Charles J. Cliffe 6cffcd37d8 remove debug output line 2015-03-06 21:16:11 -05:00
Charles J. Cliffe 92870c2957 Fade out the obscuring demodulator overlay when mouse out of view 2015-03-06 21:11:14 -05:00
Charles J. Cliffe 54b10b232e Additional frequency indicators when zoomed in 2015-03-01 19:56:02 -05:00
Charles J. Cliffe 9e53d25394 Grid line drawing cleanup/tweak 2015-03-01 19:08:06 -05:00
Charles J. Cliffe da5ef47fb2 Faint spectrum grid lines 2015-03-01 13:07:09 -05:00
Charles J. Cliffe ef3a3ba594 Remove seam adjustment, no longer needed 2015-03-01 11:13:01 -05:00
Charles J. Cliffe a7a4ba9d29 Externalize build version, fix tuning label updates 2015-02-22 23:02:39 -05:00
Charles J. Cliffe 0c66d19f92 Merge branch 'master' into osx-app-build 2015-02-21 23:33:05 -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 ff5660055e more intuitive SSB range selection, drawing code cleanup 2015-02-16 20:47:58 -05:00
Charles J. Cliffe 24fe742f8e Improve SSB UI visuals and interactivity 2015-02-16 02:15:04 -05:00
Charles J. Cliffe adf8ba5251 OSX 1/2 refresh frame-limiting hack 2015-02-10 23:49:34 -05:00
Charles J. Cliffe a803a2d136 MSVC patches 2015-02-09 22:01:33 -05:00
Charles J. Cliffe a3fac1e932 Frame rate limiter for Windows, Untested OSX / Linux 2015-02-09 20:49:21 -05:00
Charles J. Cliffe 679ad64a1f Move waterfall animation to GPU
- Refactored texture generation to linear wrap in GPU memory with
glTexSubImage2D (1 line per frame upload max)
- Texture upload per frame reduced nearly 700-800x (~2-4kb instead of
~1.6mb)
2015-02-08 13:49:12 -05:00
Charles J. Cliffe fa746b7453 fix creation of new demodulator when none active 2015-02-05 21:40:38 -05:00
Charles J. Cliffe ec3e851354 Waterfall bandwidth control and new demod hover state tweaks 2015-02-03 19:11:30 -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 129ab337e2 range / suppression adjustments 2015-02-01 00:08:55 -05:00
Charles J. Cliffe b77caaf263 remove debug msg 2015-01-31 22:43:44 -05:00
Charles J. Cliffe 27b890c882 Experimental zoomed FFT resolution improvements 2015-01-31 22:27:11 -05:00
Charles J. Cliffe 19829b6ceb bad memory init 2015-01-30 19:48:06 -05:00
Charles J. Cliffe fb5a7e5b8f attempt to improve FFT zoom resolution 2015-01-30 19:31:32 -05:00
Charles J. Cliffe e504f4f282 Fix demodulator selection menu radio and display 2015-01-25 21:03:17 -05:00
Charles J. Cliffe d45d3842bf Eliminate redundant visual data updates, temporary chain until shared PBO implementation 2015-01-22 22:14:00 -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 e9b99be18c Patch for OpenGL 1280 errors 2015-01-20 22:26:34 -05:00
Charles J. Cliffe 4dad30e9bd GL context init fixes and warning cleanup 2015-01-20 19:13:49 -05:00
Charles J. Cliffe 963e26bc07 Linux somewhat functional 2015-01-18 01:36:28 -05:00
Charles J. Cliffe c04779e91b Color theme tweaks and fixes 2015-01-15 20:37:51 -05:00
Charles J. Cliffe 15347bd791 Theme updates 2015-01-15 00:59:33 -05:00
Charles J. Cliffe b641f1200e Theme color updates 2015-01-14 22:55:04 -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 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 caab5f2e05 OSX mouse wheel adjust 2015-01-10 22:04:19 -05:00
Charles J. Cliffe 60b5dbb07f Per-demodulator gain settings 2015-01-10 20:33:30 -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 726113e9ea Mode selector widget to replace menu
+ OSX keyboard focus fix
2015-01-06 00:29:33 -05:00
Charles J. Cliffe 082c8fbd12 Mode selector visuals working 2015-01-05 19:12:16 -05:00
Charles J. Cliffe 137116da9c Mode selector class framework 2015-01-04 19:50:05 -05:00
Charles J. Cliffe 482ff41382 Can now drag tuner values 2015-01-04 19:32:51 -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 904050da13 Display demodulation type on waterfall 2015-01-03 18:45:34 -05:00
Charles J. Cliffe 334618d000 cleanup, refactor, right mouse waterfall zoom drag 2015-01-03 17:07:39 -05:00
Charles J. Cliffe 63a4913558 Tweaks, cleanup, helptips 2015-01-02 22:44:09 -05:00
Charles J. Cliffe 8f8dd01341 Unify common canvas manipulation functions 2015-01-02 21:32:24 -05:00
Charles J. Cliffe ef5462d13c Zoom follows and pins mouse frequency 2015-01-02 19:35:34 -05:00
Charles J. Cliffe 6a03aae303 shift center freq on zoomed edge hit 2015-01-02 02:44:50 -05:00
Charles J. Cliffe ce75eed995 Experimental waterfall zoom 2015-01-01 21:10:54 -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 3da7e18b88 New meter widget 2014-12-31 21:43:05 -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 0eb8ef60b2 Layout, interaction improvements 2014-12-28 20:55:05 -05:00
Charles J. Cliffe b9ead19981 Unused timer caused random startup crash on windows? 2014-12-28 14:19:43 -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 06103a2d1b Show stereo divider 2014-12-26 23:28:18 -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 576a77e095 Update remaining buffers, cleanup 2014-12-24 01:28:33 -05:00
Charles J. Cliffe 3f00148de8 Merge branch 'thread-data-optimization' of https://github.com/cjcliffe/CubicSDR into thread-data-optimization 2014-12-23 02:01:46 -05:00
Charles J. Cliffe d53eb5fc9f shift key for faster frequency change 2014-12-23 02:01:41 -05:00
Charles J. Cliffe 8ce3065bce cleanup / refactor / profiled 2014-12-23 01:12:14 -05:00
Charles J. Cliffe 312b25f55a Changed data transaction objects to use pointers 2014-12-22 19:43:56 -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 912ef930a2 Font preloader, new demod no-move drag fix 2014-12-16 21:03:45 -05:00
Charles J. Cliffe dcb1f33a85 Can now press alt to drag demod range 2014-12-11 21:37:01 -05:00
Charles J. Cliffe 5db4dcdbac prototype drag range demod create/select tool 2014-12-11 20:50:58 -05:00
Charles J. Cliffe 4d35075655 Can now spawn/delete demodulators 2014-12-10 21:22:13 -05:00
Charles J. Cliffe f2c59fedd1 Can now spawn infinite(?) demodulators by holding shift 2014-12-10 18:52:24 -05:00
Charles J. Cliffe 380145fdaa Waterfall hover-state/interactivity improvements 2014-12-10 00:34:27 -05:00
Charles J. Cliffe 34a6d3f5e0 Added frequency labels, 100khz intervals 2014-12-09 21:28:08 -05:00
Charles J. Cliffe 33e2e18c57 Unify demod drawing functions 2014-12-08 21:08:03 -05:00
Charles J. Cliffe 7f9a871598 Simplify GLFont drawString usage 2014-12-08 20:39:38 -05:00
Charles J. Cliffe 542326baab Font rendering functional: test string 2014-12-08 19:38:38 -05:00
Charles J. Cliffe 6c7372ed90 Font loader experiment 2014-12-08 02:16:06 -05:00
Charles J. Cliffe 80ac3175a3 Better multi-demodulator overlap hover handling 2014-12-06 21:47:18 -05:00
Charles J. Cliffe a3bda830a8 Fix waterfall canvas to interact with active demod 2014-12-06 21:10:29 -05:00
Charles J. Cliffe 051c4f081f RtAudio tweaks, disable unused GL states 2014-12-05 18:32:38 -05:00
Charles J. Cliffe 5fc5e4269c Demodulator worker thread test 2014-11-30 23:33:55 -05:00
Charles J. Cliffe 023002f009 Can now drag and resize demodulator on waterfall
Pretty typical style of center = drag frequency, edge handles =
bandwidth
2014-11-30 21:14:17 -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 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 93b20454d3 Increase keyboard L/R arrow key tuning speed 2014-11-28 19:00:05 -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 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 f441546023 Pick freq/drag in waterfall, show demod bandwidth 2014-11-25 22:51:14 -05:00
Charles J. Cliffe 4900ce7f17 Can now tune by dragging middle spectrum view 2014-11-25 00:35:06 -05:00
Charles J. Cliffe 5977fb144b Missing freq assignment 2014-11-23 20:02:48 -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 99aa87df63 Now working on gcc4.8, x86-64 on windows
Had to make my own portaudio and rtl-sdr binaries. The available
packages weren't compatible somehow.  Also wxWidgets wxPack doesn't
include OpenGL support but it's easy enough to compile.
2014-11-21 00:49:41 -05:00
Charles J. Cliffe 532968a818 Source folder cleanup 2014-11-17 21:29:27 -05:00
Charles J. Cliffe a7d7ec0d93 Frame rate limiter 2014-11-16 23:20:48 -05:00
Charles J. Cliffe 82b6b67f3c Re-connect scope to demodulator output data 2014-11-16 19:14:15 -05:00
Charles J. Cliffe 739854cd7f Demodulator and Audio threads working
Data now flows from SDR IQ Thread -> Demodulator Thread -> Audio Thread.
Seems to have added a significant audio delay though..
2014-11-16 17:33:54 -05:00
Charles J. Cliffe 2e5bdc2646 Separate visual components Scope/Spectrum/Waterfall
Each now on it's own canvas with shared GL Context
2014-11-15 23:41:41 -05:00
Charles J. Cliffe 541ab5614c Separate Primary GL Context and visuals canvas
Can now create multiple GL canvases with shared context
2014-11-12 21:55:11 -05:00