Commit Graph

916 Commits

Author SHA1 Message Date
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
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
52e6de5f9d prep code from waterfall/spectrum setData 2015-07-28 18:19:39 -04:00
Charles J. Cliffe
10bc0c8ec5 spectrum + waterfall processor init 2015-07-27 22:30:25 -04:00
Charles J. Cliffe
0198f2410f basic visual data pass-thru distributor 2015-07-27 22:05:35 -04:00
Charles J. Cliffe
090062191c Visual processor basic framework 2015-07-27 21:45:24 -04:00
Charles J. Cliffe
a8e24d5537 Visual Processor prototype
link data -> visuals with common processing pipeline, chainable
2015-07-27 21:20:44 -04:00
Charles J. Cliffe
8cd018d510 Add desktop launcher info for linux 2015-07-26 19:47:43 -04:00
Charles J. Cliffe
924f519d42 Merge pull request #116 from cjcliffe/master
update ui_controls
2015-07-21 01:12:06 -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
6eee444e1d Fix wxT format specifier 2015-07-21 00:16:08 -04:00
Charles J. Cliffe
2b86176625 fix for center freq. save/load 2015-07-21 00:04:04 -04:00
Charles J. Cliffe
9843f85086 Save center frequency 2015-07-20 22:51:19 -04:00
Charles J. Cliffe
ddedc984b0 Duplicate default config to new config files 2015-07-20 22:09:36 -04:00
Charles J. Cliffe
13139c7dbf Add configuration name at command line via -c or --config
sets up framework for more command line options as well.
2015-07-20 18:39:45 -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
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
927de58e4e reduce excessive re-saving of config 2015-07-19 12:56:54 -04:00
Charles J. Cliffe
db434348a4 save frequency snap value 2015-07-18 21:49:53 -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
be1055a2c7 reduce demod I/Q AGC bandwidth for better raw output 2015-07-17 19:14:39 -04:00
Charles J. Cliffe
364e1333f5 Merge pull request #111 from cjcliffe/master
update
2015-07-17 01:04:02 -04:00
Charles J. Cliffe
9c9e82cffc Save window maximized state 2015-07-16 18:57:03 -04:00
Charles J. Cliffe
291ec7038a Save window position and theme on exit 2015-07-15 00:32:36 -04:00
Charles J. Cliffe
425927fb9e visual studio fixes 2015-07-14 20:27:32 -04:00
Charles J. Cliffe
f41c14f56c linux gcc error related fixes 2015-07-14 19:44:19 -04:00
Charles J. Cliffe
1fdaa112ea basic startup tweaks...
;)
2015-07-08 23:32:30 -04:00
Charles J. Cliffe
6e20f11680 Deprecate offset setting in session to avoid device conflict
Possible fix for session loading memory leak; may sometimes buffer IQ
data to demodulators loaded outside of the current center and bandwidth
that should be inactive.
2015-07-08 19:25:22 -04:00
Charles J. Cliffe
f86950b334 Fix startup config access issues, init race 2015-07-08 18:54:52 -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
c728ddc45b Assume Mhz if input <= 3000 with no suffix, require suffix of 'hz' below 3001hz 2015-07-06 23:15:18 -04:00
Charles J. Cliffe
59b8c41906 border fix 2015-07-06 23:05:49 -04:00
Charles J. Cliffe
27aacb001e basic automatic font size 2015-07-05 21:09:00 -04:00
Charles J. Cliffe
237a7ad06f Separate transform calc and render 2015-07-05 19:10:48 -04:00
Charles J. Cliffe
5ac0dc8c41 simplify alt. coordinate sys on panel contents only, y-up otherwise 2015-07-05 18:54:46 -04:00
Dantali0n
fe37d50bd9 Finished digital data buffer with vectors 2015-07-03 11:29:52 +02:00
Charles J. Cliffe
48308145b7 add GLTextPanel, initial work on nested coordinate systems 2015-07-01 00:34:32 -04:00
Charles J. Cliffe
b28c8dbc3e Move static fonts to GLFont 2015-06-30 23:07:39 -04: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
Charles J. Cliffe
8ccb060237 margin tweaks 2015-06-27 01:55:39 -04:00
Charles J. Cliffe
c770a0e20e Margin now specified in pixels 2015-06-27 01:26:07 -04:00
Charles J. Cliffe
df978cef89 unify min/max/mid, use vmin/vmax for border 2015-06-26 22:18:49 -04:00
Charles J. Cliffe
8753be05e7 Import cubicvr2 math; implement for GLPanel 2015-06-26 22:04:16 -04:00
Charles J. Cliffe
f2601edaa1 Borders, mixed coordinate preparations 2015-06-22 22:07:46 -04:00
Charles J. Cliffe
adbb853c6d GLPanel gradient background fills 2015-06-21 11:58:14 -04:00
Charles J. Cliffe
ab438738aa Fix conflict with wx RGBColor struct 2015-06-21 10:51:13 -04:00
Charles J. Cliffe
4ee791ac0c Initial GLPanel prototype, testing nested layouts 2015-06-20 20:19:52 -04:00
Dantali0n
cac5d0b9ea digital output 'buffer' and fix ifdef 2015-06-18 22:07:53 +02: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
Dantali0n
96c05cd532 Console window and output for windows 2015-06-10 20:48:05 +02: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
35af5748a0 Hotfix patch for direct input on linux 2015-06-07 21:42:23 -04: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
Charles J. Cliffe
436783535b Duped readable check should be exists 2015-06-01 00:05:50 -04:00
Charles J. Cliffe
44e73839a8 If font resource not found then try executable path. 2015-06-01 00:04:05 -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
076d8a6847 Static analysis warning fixes 2015-05-30 00:09:51 -04:00
corne lukken
e5bdcb1fc9 Finished messaging pop-up started implementing advanced modulations 2015-05-29 13:45:15 +02: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
corne lukken
c8f76addc3 Updated gitignore 2015-05-27 11:08:47 +02:00
corne lukken
4ec97af590 Remove appframe OnMessage 2015-05-26 16:39:17 +02:00
corne lukken
06da0a913c made OnMessage a bit cleaner, problably shoudl move to /visual 2015-05-26 16:37:15 +02:00
corne lukken
daeb2d5a18 Crated messagebox for no devices 2015-05-26 15:23:13 +02: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
4f9c623fec demod frequency input 2015-05-10 01:39:10 -04:00
Charles J. Cliffe
dc71da1dcd freq<->str translation, center frequency change test 2015-05-10 01:07:48 -04:00
Charles J. Cliffe
ad21e0c91a Esc/Enter trap, input filtering, clipboard filtering 2015-05-09 23:13:35 -04:00
Charles J. Cliffe
78afaaf93d Default select-all for OSX 2015-05-04 23:03:55 -04:00
Charles J. Cliffe
04ee1534ad Prototype frequency input dialog 2015-05-04 19:44:03 -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
ab972cc90a Add note to dialog based PPM setting 2015-04-22 23:08:43 -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
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
adc1500091 missing colon? 2015-04-13 21:22:51 -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
68d4627e99 Basic configuration file init and ppm value save/load test 2015-04-13 19:58:34 -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
1284a16311 title missing version prefix 2015-04-02 21:04:00 -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
9b283fbcef Fix for following demod frequency 2015-03-31 17:51:56 -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
2e34060901 fix for tuner not updating spectrum view 2015-03-28 03:36:51 -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
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
b197a7ddb2 Can now set output sample rate, demodulator sample rate doesn't adjust yet so I find it rather hilarious at the moment :) 2015-03-13 22:25:07 -04:00
Charles J. Cliffe
fa54aab01f fix for SSB selection issue 2015-03-12 20:50:40 -04:00
Charles J. Cliffe
3c5bad4e3d Audio bandwidth menu items 2015-03-12 19:41:50 -04:00
Charles J. Cliffe
84bd856c53 Remove unused non-mixer based code, simplifies audio thread and can be emulated by overloading thread device ids anyways 2015-03-12 19:34:50 -04:00
Charles J. Cliffe
07c9395d1f Debian package cpack + icon fix 2015-03-08 20:17:19 -04:00
Charles J. Cliffe
5792256860 XPM icon for linux 2015-03-08 17:31:43 -04:00
Charles J. Cliffe
60b02ca153 Set app frame icon 2015-03-07 20:29:25 -05: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
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
a7a4ba9d29 Externalize build version, fix tuning label updates 2015-02-22 23:02:39 -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
3ea528f4d9 Merge pull request #57 from cjcliffe/optimize-ssb
SSB Optimization
2015-02-21 23:32:37 -05:00
Charles J. Cliffe
2c33773189 FFT resolution/zoom tweak 2015-02-21 23:25:40 -05:00
Charles J. Cliffe
8a859c661b MSVC + Win32/x86 patch 2015-02-20 00:34:32 -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
ff5660055e more intuitive SSB range selection, drawing code cleanup 2015-02-16 20:47:58 -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
c221ee2216 missing peak gain apply 2015-02-11 22:55:34 -05:00
Charles J. Cliffe
c69d05010c Merge remote-tracking branch 'origin/mixer-fixes' into waterfall-optimize 2015-02-11 21:35:44 -05:00
Charles J. Cliffe
261d2dbe5f audio thread locking fixes 2015-02-11 21:35:27 -05:00
Charles J. Cliffe
adf8ba5251 OSX 1/2 refresh frame-limiting hack 2015-02-10 23:49:34 -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
a1d1c9e1d9 Possible vsync fix for linux DRI2SwapInterval based X11 2015-02-10 18:01:57 -05:00
Charles J. Cliffe
a034c810df Linux patch for swapEXT swapMESA and swapSGI 2015-02-10 00:57:36 -05:00
Charles J. Cliffe
a803a2d136 MSVC patches 2015-02-09 22:01:33 -05:00
Charles J. Cliffe
c0e6ecb3eb vsync patch for OSX 2015-02-09 21:18:10 -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
add04883eb Audio thread mixer adjustments
- Automatic gain balance
- Clipping prevention
2015-02-08 18:59:08 -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
b9efb43a6b Merge branch 'issue45-demod-opts' 2015-02-07 20:21:25 -05:00
Charles J. Cliffe
2f568d6e2d Fix for bad session int->float conversion on load 2015-02-07 20:20:26 -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
4218fb73a0 Demod visual activation when entering/leaving view 2015-02-05 20:54:04 -05:00
Charles J. Cliffe
b78b4e1b96 Merge branch 'master' into issue45-demod-opts 2015-02-05 20:08:50 -05:00
Charles J. Cliffe
590d494fea Fix for broken OSX audio 2015-02-05 20:01:21 -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
Charles J. Cliffe
a8070ca953 Destroy / recreate audio thread on demodulator activate / deactivate -- fixes DirectSound issues 2015-02-04 18:10:42 -05:00
Charles J. Cliffe
ec3e851354 Waterfall bandwidth control and new demod hover state tweaks 2015-02-03 19:11:30 -05:00
Ryndzionek Mariusz
a2c6e0bf91 Added LUT for IQ mapping with proper scaling 2015-02-03 18:42:44 +01: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
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
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
dd9bc9aa2c Fix broken demod view zoom 2015-01-23 01:05:23 -05:00
Charles J. Cliffe
b2e8cf0482 Demod worker lock-on-remove fix 2015-01-22 23:41:33 -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
88978cc633 Disable mouse lock hack for linux 2015-01-18 12:55:51 -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
9217ea6e19 Indicate device selection 2015-01-12 00:52:00 -05:00
Charles J. Cliffe
2d0485c8ea RTL Device Selection 2015-01-12 00:40:43 -05:00
Charles J. Cliffe
2b6da304ef Fix demodulator termination / thread lock 2015-01-11 20:26:51 -05:00
Charles J. Cliffe
e7b22bd186 Add indicator for selected bandwidth / theme 2015-01-11 19:44:02 -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
caab5f2e05 OSX mouse wheel adjust 2015-01-10 22:04:19 -05:00
Charles J. Cliffe
234f0783a0 OSX crash-on-exit fix 2015-01-10 21:49:58 -05:00
Charles J. Cliffe
f1355b1775 Gain control fix for OSX 2015-01-10 21:01:35 -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
2c5eb4f946 load / save almost functional 2015-01-10 11:00:03 -05:00
Charles J. Cliffe
faa87fcd10 DataTree refactoring, load/save functions almost ready 2015-01-09 20:56:43 -05:00
Charles J. Cliffe
7c68f142ed Merge with updated datatree 2015-01-09 17:19:05 -05:00
Charles J. Cliffe
8ec6b75e54 Session save handler 2015-01-09 17:17:56 -05:00
Charles J. Cliffe
c3b4271e31 Load/Save dialogs and menus, OSX Cmd-Q fix 2015-01-08 23:57:58 -05:00
Charles J. Cliffe
4633bfa36f Datatree fixes, 64-bit updates 2015-01-08 23:10:54 -05:00
Charles J. Cliffe
95fcb30733 Audio thread lock fix 2015-01-08 21:12:49 -05:00
Charles J. Cliffe
36ff762d3a DataTree cleanup/refactor.. 2015-01-08 19:56:44 -05:00
Charles J. Cliffe
cf2b11f496 DataTree refactoring / 64-bit expansion 2015-01-08 18:33:37 -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
a1f9b5df16 Add version and credit 2015-01-06 19:30:40 -05:00
Charles J. Cliffe
7d5d638666 FFTW->FFTWF better CPU usage 2015-01-06 19:15:27 -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
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
e2e261f1c0 OSX fix 2015-01-03 19:03:16 -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
955ec54b44 Audio device selection fixes for OSX 2014-12-31 22:38:59 -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
d642cc63fd scope resolution adjust 2014-12-28 21:14:08 -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
a3f8bc08e7 Setting up layout for active demodulator UI 2014-12-27 23:47:56 -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
ef78ffc6f3 minor warning fixes 2014-12-23 02:32:25 -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
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
c583b4a79a Windows fix-up 2014-12-18 20:32:05 -05:00
Charles J. Cliffe
ab82ab182e Moved OSX specific flags 2014-12-18 20:13:29 -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
493d9da8a7 OSX testing params 2014-12-16 21:58:35 -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
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
65ae1de36d Trying thread trick for preventing audio underrun.. 2014-12-15 20:47:46 -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
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
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
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
da8d178e34 Filtering mode 2014-12-08 19:46:29 -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
09848bfdec Adds test #define for default demodulator count 2014-12-06 21:55:05 -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
119f7c71af win64 fixes 2014-12-05 21:16:43 -05:00
Charles J. Cliffe
9fc864ea57 OSX crude re-sync tweak 2014-12-05 20:18:19 -05:00
Charles J. Cliffe
ad800056d5 OSX audio may be stable, works on 2010 macbook pro 2014-12-05 20:13:45 -05:00
Charles J. Cliffe
7c6d2e1131 Merge pull request #14 from cjcliffe/integrate_rtaudio
Integrate RtAudio
2014-12-05 18:36:43 -05:00
Charles J. Cliffe
051c4f081f RtAudio tweaks, disable unused GL states 2014-12-05 18:32:38 -05:00
Charles J. Cliffe
894c718730 Mostly working on OSX /w rtaudio now
Looks like just some priority tweaks remain
2014-12-04 22:25:18 -05:00
Charles J. Cliffe
03edda18e5 RtAudio integrated and working great /w win64
Next up, OSX test..
2014-12-04 19:44:49 -05:00
Charles J. Cliffe
7ae1ffc2c9 RtAudio source integrated, preparing to implement 2014-12-04 19:03:02 -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
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
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
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
df853bfd65 Removed unused/empty source files 2014-11-27 12:55:55 -05:00
Charles J. Cliffe
97e219724e Disable mouse locking on OSX -- causes event loop 2014-11-27 12:53:35 -05:00
Charles J. Cliffe
65a5dbb24d Proper demodulator resamp and filter reinit 2014-11-26 22:29:23 -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
f6966b1824 Simple class for tracking wx mouse in unit 0..1 2014-11-25 21:07:13 -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
ac20bc1e84 Cleanup 2014-11-22 23:38:37 -05:00
Charles J. Cliffe
fa521ac30d Switch from portaudio callback to stream write
It’s already in a thread, not sure if callback was helping?
2014-11-22 22:56:33 -05:00
Charles J. Cliffe
39ba38b82a Cleanup / Reformat 2014-11-22 22:33:32 -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
35830afed0 new thread queue testing 2014-11-21 21:50:14 -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
f6f4c3c057 Revert "switch from portaudio -> libao"
This reverts commit 8972e87765.
2014-11-20 20:28:40 -05:00
Charles J. Cliffe
28afe9d3be Merge branch 'dynamic_demod' of https://github.com/cjcliffe/CubicSDR into dynamic_demod
Conflicts:
	CMakeLists.txt
2014-11-20 20:12:38 -05:00
Charles J. Cliffe
9706ed8f7e Update to 64-bit, add test threadqueue 2014-11-20 20:10:28 -05:00
Charles J. Cliffe
8972e87765 switch from portaudio -> libao 2014-11-19 23:41:57 -05:00
Charles J. Cliffe
a9d46b7624 Preparing to change threading model 2014-11-19 17:41:49 -05:00
Charles J. Cliffe
9150439283 Thread priority bump, main thread sleep 2014-11-18 19:02:07 -05:00
Charles J. Cliffe
054ac3f840 Attempting to fix OSX portaudio jitter.. 2014-11-18 18:35:40 -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
75c51f1236 missing return params 2014-11-17 23:25:14 -05:00
Charles J. Cliffe
dd42d112c9 Demodulator can now be initialized with parameters 2014-11-17 22:58:56 -05:00
Charles J. Cliffe
7f5031b6e5 cleanup 2014-11-17 21:35:10 -05:00
Charles J. Cliffe
532968a818 Source folder cleanup 2014-11-17 21:29:27 -05:00
Charles J. Cliffe
8c6eea44b8 fix win32 include on non win32 2014-11-17 19:48:28 -05:00
Charles J. Cliffe
7e174ab1dd All threads now using transaction objects and queue
Additional cleanup, remove outdated IQBufferThread experiment
2014-11-17 19:37:53 -05:00
Charles J. Cliffe
44542dd878 Merge pull request #5 from cjcliffe/master
Win32 timer class fix
2014-11-17 18:17:10 -05:00
Charles J. Cliffe
e91696c012 SDRThread now passes IQ Data transaction object
Also using sdr thread queue and standard thread event to send payload
now.
2014-11-17 18:14:37 -05:00
Charles J. Cliffe
b78fefb221 Win32 timer class fix 2014-11-17 18:12:20 -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
1950c3109a Balanced thread performance w/ CPU usage
Seems smooth and responsive now.
2014-11-16 19:02:40 -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
2a34fc9cf9 New demodulator thread code 2014-11-16 16:51:45 -05:00
Charles J. Cliffe
16a9add9ef New threads partly implemented
Mid transition from 1 to 3 threads: SDR IQ, Demod and Audio separated,
AppFrame routes.
2014-11-16 16:50:37 -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
Charles J. Cliffe
02cd0f6516 FM Demodulator fixes
was an implicit float to int in the primary filter cutoff value causing
distortion.
2014-11-12 19:09:22 -05:00
Charles J. Cliffe
adc6fcce85 Waterfall tweaking, automatic range adjustment 2014-11-12 00:28:20 -05:00
Charles J. Cliffe
810533750f waterfall optimize, fm demod audio filtering
Moved waterfall increment into rendering to reduce audio processing
impact.

Added another test filter and resample stage to FM demod experiment to
clean up audio and remove high pitch on stereo channels until it can be
demodulated.
2014-11-11 21:42:18 -05:00
Charles J. Cliffe
86dadb8f2c Waterfall now being displayed 2048x512
Uses indexed color scheme, FFT image is byte array
2014-11-11 20:25:16 -05:00
Charles J. Cliffe
fe2e56231d gradient util, started waterfall implementation 2014-11-11 08:11:12 -05:00
Charles J. Cliffe
b270379361 Honor PA_RECOMMENDED_OUTPUT_DEVICE on Win32
PortAudio defaults to output on my Virtual Cable INPUT #A?? -- strange
but this gets around it neatly for now.
2014-11-09 21:21:11 -05:00
Charles J. Cliffe
9913629a7e Use first available RTL device 2014-11-09 20:55:21 -05:00
Charles J. Cliffe
a78a862cba Moved demodulation code into it's own class
Preparing to make it more dynamic, able to tune multiple frequencies at
once and support remaining demodulation modes (AM, USB, LSB)
2014-11-09 18:12:02 -05:00
Charles J. Cliffe
14d7e431bd PortAudio adjustments for OSX
Seems to be some sort of audio init race condition, intermittent crash
on startup
2014-11-09 05:18:33 -05:00
Charles J. Cliffe
b70b659a5f Removed OpenAL and now using PortAudio 2014-11-09 04:38:33 -05:00
Charles J. Cliffe
c3c204bc04 Pitch issue fixed, OpenAL weirdness
Might be time to retire OpenAL -- is behaving strangely on output
stream..
2014-11-08 20:50:28 -05:00
Charles J. Cliffe
5554c92199 minor variable changes
demodulated frequency still shifted by about half?
2014-11-08 18:48:03 -05:00
Charles J. Cliffe
6c1ec6eba2 new demod test
working but frequency seems to be shifted?
2014-11-08 17:08:00 -05:00
Charles J. Cliffe
bd7d748e58 Experimenting with FM demod options 2014-11-07 13:51:43 -05:00
Charles J. Cliffe
44e7744855 filtering / fm demod experiments 2014-11-07 01:47:57 -05:00
Charles J. Cliffe
b6a658b819 more liquid dsp experiments 2014-11-07 00:27:06 -05:00
Charles J. Cliffe
428525e807 experimental liquid-dsp testing 2014-11-06 21:30:47 -05:00
Charles J. Cliffe
2092505e20 Adding buffer and testing demod functionality 2014-11-06 01:33:59 -05:00
Charles J. Cliffe
e0344d8efc Now playing FM through OpenAL!
great success!
2014-11-05 21:05:56 -05:00
Charles J. Cliffe
f071b2b025 Added OpenAL /w audio init test 2014-11-05 19:10:18 -05:00
Charles J. Cliffe
d91cffbe58 Now plotting spectrum and demodulated FM 2014-11-05 18:12:42 -05:00
Charles J. Cliffe
39afec2172 testing fm demodulation 2014-11-04 23:05:04 -05:00
Charles J. Cliffe
f22a929828 Started demodulator class based on rtl_fm.c 2014-11-04 21:55:20 -05:00
Charles J. Cliffe
7eae5517fa remove example code 2014-11-04 19:54:00 -05:00
Charles J. Cliffe
a8f1a87505 Can now control SDRThread freq. via thread task
Basic left/right keys bound for shifting frequency test.
2014-11-04 19:52:11 -05:00
Charles J. Cliffe
9896808b22 Clean-up / re-factor
thread queue and task handler compiling and program functional
2014-11-04 18:39:08 -05:00
Charles J. Cliffe
8dee90cd63 Starting work on threading model, incomplete
Includes experimental averaging of spectrum
2014-11-04 17:25:04 -05:00
Charles J. Cliffe
1cd8565fb3 Experiment to remove DC / other spikes
Seemed logical to use the repeating parts of the forward/back FFT
results to overlap and cancel out spikes -- seems to work?
2014-10-31 20:41:49 -04:00
Charles J. Cliffe
c4099cb690 Re-align spectrum view
DC spike now showing?
2014-10-31 19:10:53 -04:00
Charles J. Cliffe
eb4e10140a Now showing 2.5MHz bandwidth over FM ranges
Moves frequency back/forth over the FM range
2014-10-31 01:37:01 -04:00
Charles J. Cliffe
7fe286cf0c Now plotting IQ spectrum
seems to only be showing half the bandwidth..
2014-10-30 22:51:33 -04:00
Charles J. Cliffe
2ef8010438 Rendering rtl-sdr I/Q data to the GL canvas 2014-10-28 22:59:17 -04:00
Charles J. Cliffe
23f8c6a197 Now passing IQ data from SDR Thread to AppFrame 2014-10-28 21:39:59 -04:00
Charles J. Cliffe
0e25cbcc1a OSX now compiling and working 2014-10-27 23:52:25 -04:00
Charles J. Cliffe
5f0bc4f4f8 fix issue with SDRThread logging 2014-10-27 21:26:12 -04:00
Charles J. Cliffe
d27d91c1ef Code re-factor / cleanup
GL Window now ready to draw signal lines
2014-10-27 21:22:29 -04:00
Charles J. Cliffe
c2a37e7622 Initial experiment /w wxWidgets opengl view and sdr sampling.
Includes working rtl-sdr sampling thread test.
2014-10-27 20:05:40 -04:00