Ahmet Inan
a01d6c607b
moved pulse detector code to pulse.rsh
2015-02-28 11:06:08 +01:00
Ahmet Inan
be8a372034
simplified calibration header detection: ignore leader tone
...
just rely on start bit
2015-02-26 16:17:51 +01:00
Ahmet Inan
09581214d6
forgot to square these two 2.0f also while changing amplitude to power
2015-02-18 09:59:07 +01:00
Ahmet Inan
32641bdf30
compare power instead of amplitude for channel activity
2015-02-17 15:01:40 +01:00
Ahmet Inan
e2c25d83ce
removed lowpass from leader tone detection
2015-02-17 14:50:14 +01:00
Ahmet Inan
14a5c7b185
continue decoding, even if volume too low
...
it's amazing but one bit is actually enough to decode at 44100Hz
2015-02-13 17:24:52 +01:00
Ahmet Inan
7c6689f126
added some nice commented out RS_DEBUG macros
2015-02-11 20:20:49 +01:00
Ahmet Inan
f3cd104895
fixed PD180 odd/even swap
...
Everyone seems to have their own interpretation of odd and even.
2015-02-04 16:35:09 +01:00
Ahmet Inan
168665f864
enlarge grey area for cnt, removed from calibration detection
...
we are now better at dealing with spurious sync pulses
caused by noise, so allow an attenuated control channel.
2015-02-03 14:51:07 +01:00
Ahmet Inan
e940f8b3b6
added PD180 support and made image size more flexible
2015-02-02 00:04:40 +01:00
Ahmet Inan
0c1a728c34
only scottie needs the extrawurst
2015-01-28 22:20:07 +01:00
Ahmet Inan
04daf05a7a
fixed scottie extrawurst
2015-01-28 21:30:19 +01:00
Ahmet Inan
c4520891c5
be more picky about sync pulse position
...
ignore early sync pulses 5 times, then reset.
should be more robust against spurious sync pulses caused by noise or crosstalk
2015-01-27 23:01:31 +01:00
Ahmet Inan
9bbca4bd6d
added save and clear image buttons
2015-01-17 12:30:09 +01:00
Ahmet Inan
c42b2cba47
renamed variables for normalization, export float instead of int volume
2015-01-14 20:35:34 +01:00
Ahmet Inan
ada2422531
added simple VU Meter
2015-01-14 18:30:00 +01:00
Ahmet Inan
6fd48f2815
do rms compression again .. removed analyzer normalization
...
it makes the spectrum visualization less colorful, but a lot clearer.
2015-01-13 20:26:27 +01:00
Ahmet Inan
659a644362
give the raw sample to the analyzer
2015-01-08 16:11:29 +01:00
Ahmet Inan
b77e9c1b3d
WIP: added spectrum analyzer
...
there is something fishy going on :(
2015-01-06 21:14:47 +01:00
Ahmet Inan
3dfa1b4c86
added raw, toggles for debug and autodetect mode
...
made debug mode much more useful
2015-01-04 17:47:28 +01:00
Ahmet Inan
80eabf5acb
normalize amplitude from avg absolute amplitude
2015-01-02 13:25:36 +01:00
Ahmet Inan
3974468399
reset mismatch counter on parity correction
2015-01-02 12:30:44 +01:00
Ahmet Inan
15b364fe72
wrap vpos instead of resetting to 0 on max
2015-01-02 12:25:54 +01:00
Ahmet Inan
7a33c225bd
reset mismatch counter on begin of image
2015-01-02 12:18:04 +01:00
Ahmet Inan
8263145a50
fixed overflow and sync timeout handling in robot36 decoder
2015-01-02 12:10:32 +01:00
Ahmet Inan
8421a984e7
let decoders decide about vpos
2015-01-01 19:24:55 +01:00
Ahmet Inan
63e949332d
do correct sync extrapolation
2015-01-01 18:57:01 +01:00
Ahmet Inan
a69b4089f5
WIP: replaced linear with much more flexible circular buffer
2015-01-01 17:06:48 +01:00
Ahmet Inan
fbffdf3d6d
reduced "grey" area to help with noise immunity
2014-12-17 17:02:20 +01:00
Ahmet Inan
3d6f915b75
improved calibration header detection
...
"gray" area doesn't work very well with the calibration detection code
2014-12-13 20:31:06 +01:00
Ahmet Inan
8b3dbb08b9
only correct line after 5 mismatches when in sync mode
2014-12-11 19:19:51 +01:00
Ahmet Inan
5fa1a6cff6
increment vpos in decoders
2014-12-11 18:17:34 +01:00
Ahmet Inan
e79484e1ca
introduced free_running state variable
2014-12-11 17:14:20 +01:00
Ahmet Inan
9137d729d8
only correct line number if were free running
2014-12-11 15:35:37 +01:00
Ahmet Inan
e4d0264d95
made value_blur nicer to use and took care of edges
2014-12-11 14:17:24 +01:00
Ahmet Inan
40eb37a40d
better move whole line in scottie decoder
2014-12-10 23:42:50 +01:00
Ahmet Inan
56e75346d2
WIP: added correct scottie decoder
2014-12-10 23:39:08 +01:00
Ahmet Inan
88a13d9a9b
WIP: save image when finished
2014-12-10 13:29:59 +01:00
Ahmet Inan
5c85f130b1
added gaussian blur to help with noisy conditions
...
manual adjustment following soon.
2014-12-08 23:03:26 +01:00
Ahmet Inan
30a6d256ba
made decoder.rs independent of new modes
2014-12-07 22:26:03 +01:00
Ahmet Inan
4e48eb185c
added Wrasse SC2-180 Mode
...
definitively need to do something about to reduce the numbers of places needed to be changed to add a new mode ..
2014-12-07 20:38:16 +01:00
Ahmet Inan
32efb41613
added "gray" area between data and control signal to improve sync detection
2014-12-07 18:14:37 +01:00
Ahmet Inan
eb7a494fe4
update rendering mode and activity title from decoder
2014-12-06 14:10:23 +01:00
Ahmet Inan
5c0dd886ab
oops: fix double swap mistake of u & v and r & b
...
in robot36 v is on even lines and u is on odd lines
in robot72 v comes first, then u
still need to investigate why there is a discrepancy between renderscript rgba and java bitmap rgba
2014-12-05 15:53:13 +01:00
Ahmet Inan
ca2568b9cc
renamed mode to current_mode
2014-11-30 19:15:29 +01:00
Ahmet Inan
48fc69ba48
split constants, state, modes, scanline estimator and calibration detector
2014-11-30 18:58:19 +01:00
Ahmet Inan
941c80ac00
moved fmd code to fmd.rsh
2014-11-30 17:18:17 +01:00
Ahmet Inan
e69c476a41
moved ddc to ddc.rsh, made filter order less flexible
2014-11-30 17:02:51 +01:00
Ahmet Inan
0dac8080d9
cleaned up ema code, introduced overloadable filter interface
2014-11-30 16:16:25 +01:00
Ahmet Inan
8b9c98a271
moved phasor code to phasor.rsh
2014-11-30 14:10:49 +01:00