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
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
9705d293f9
Merge pull request #3 from cjcliffe/the_waterfall
...
Addition of waterfall and separation of visual components
2014-11-15 23:44:09 -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
3bd4736595
Merge pull request #2 from cjcliffe/demod_experiment_buffering
...
Demodulation experiment complete, ready to move on
2014-11-09 18:14:55 -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
42034717c5
moved liquid header
2014-11-07 00:39:53 -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
a1d76f1e11
Merge pull request #1 from cjcliffe/experimental-threading
...
Thread task queue and basic frequency tuning support for SDRThread
2014-11-04 19:55:01 -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
62a8c13be7
Windows build fix
2014-10-31 02:31:43 -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