Commit Graph

102 Commits

Author SHA1 Message Date
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
be33bbce4c Merge pull request #12 from cjcliffe/remove_dc_spike
Remove DC spike from IQ stream and visuals
2014-11-29 13:59:06 -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
dc1a95f645 Merge pull request #11 from cjcliffe/canvas_interaction
Canvas interaction tuning + bandwidth, demodulator refactor, demod offset tuning
2014-11-27 22:30:39 -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
d33ef25a79 Merge pull request #10 from cjcliffe/canvas_interaction
Canvas interaction
2014-11-26 00:38:21 -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
0e2984ab18 Merge pull request #8 from cjcliffe/dynamic_demod
Dynamic demod, x86-64 switch and std::thread
2014-11-22 23:15:19 -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
92b390fefe Enable c++11 2014-11-19 00:34:41 -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
6638f07b12 Merge pull request #7 from cjcliffe/master
patches from master
2014-11-17 21:21:11 -05:00
Charles J. Cliffe
1ec324b104 Update README.md 2014-11-17 20:44:11 -05:00
Charles J. Cliffe
8c6eea44b8 fix win32 include on non win32 2014-11-17 19:48:28 -05:00
Charles J. Cliffe
c465a5687d Merge pull request #6 from cjcliffe/threading_improvements
Threading improvements
2014-11-17 19:39:20 -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
3614c2ad9f Merge pull request #4 from cjcliffe/audio_thread
New Audio thread and Demodulator thread
2014-11-16 19:16:52 -05:00