Commit graph

274 commits

Author SHA1 Message Date
Ahmet Inan 119813bc4a Wrasse -> Wraase
The "Wraase SC2 180" mode was invented by Volker Wraase (DL2RZ)
2015-02-11 16:12:57 +01:00
Ahmet Inan 09d4481325 v1.22 2015-02-10 17:28:16 +01:00
Ahmet Inan e42cad9ddf added PD50, PD90, PD120, PD160, PD240 and PD290 2015-02-10 16:53:18 +01:00
Ahmet Inan 7971b9e693 android studio updates 2015-02-09 22:12:11 +01:00
Ahmet Inan 172a9675a8 added pd scanline constants 2015-02-09 21:50:20 +01:00
Ahmet Inan e02068592b v1.21 2015-02-04 16:49:19 +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 df64602ed3 added german resource strings 2015-02-04 15:26:13 +01:00
Ahmet Inan d3c90d506c replaced "Share" with @string/action_share 2015-02-04 14:59:35 +01:00
Ahmet Inan b65dc61c5d v1.20 2015-02-03 14:51:49 +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 35994cdfd9 use an modified baseband delay demodulator
we are working at sampling rate, so we can use a faster approximation and avoid trigonometric functions altogether.
we still have to normalize the output though.
2015-02-02 16:21:26 +01:00
Ahmet Inan 1798a3e25f Version 1.19 2015-02-02 00:17:39 +01:00
Ahmet Inan e940f8b3b6 added PD180 support and made image size more flexible 2015-02-02 00:04:40 +01:00
Ahmet Inan 805789bfa6 its 5% not 0.5% 2015-01-28 22:47:50 +01:00
Ahmet Inan 0c1a728c34 only scottie needs the extrawurst 2015-01-28 22:20:07 +01:00
Ahmet Inan c2c9bd8599 allow sync pulse to be up to 5% of scan line length too early or too late 2015-01-28 22:04:01 +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 075b6c6d7d finish up vis sequence before returning code
instead of returning too early ignoring stop bit: simply ignore value of stop bit
2015-01-27 22:32:09 +01:00
Ahmet Inan 61f8534312 added simple moving average and used in scanline estimator 2015-01-23 21:41:42 +01:00
Ahmet Inan 88f22d7ca8 d'oh: use member, not local variable to synchronize 2015-01-22 12:29:28 +01:00
Ahmet Inan 77e2c06d96 v1.18 2015-01-17 13:54:35 +01:00
Ahmet Inan 9bbca4bd6d added save and clear image buttons 2015-01-17 12:30:09 +01:00
Ahmet Inan 8b16b13ad2 added menu items to increase / decrease update rate
default update rate is 2 updates per second
2015-01-16 18:47:57 +01:00
Ahmet Inan 0945e8b031 replaced if's with a simpler switch in radix2 2015-01-16 18:06:03 +01:00
Ahmet Inan e812fd9c54 Version 1.17 2015-01-15 16:26:26 +01:00
Ahmet Inan c0f911f1e9 fixed bug introduced with "replaced radix2 input with float"
it really sucks not having a complex data type .. damn you c99
2015-01-15 16:23:03 +01:00
Ahmet Inan 5fc7dfc458 fade spectrum slower 2015-01-15 11:42:44 +01:00
Ahmet Inan 42aaf6b4cf draw lines between points in spectrum 2015-01-15 11:04:41 +01:00
Ahmet Inan 19149cb428 Version 1.16 2015-01-15 00:34:47 +01:00
Ahmet Inan 1c3f90aef0 added spectrum view to present spectrogram 2015-01-15 00:32:39 +01:00
Ahmet Inan 8b3d4bc191 show vu meter level left to right when horizontal 2015-01-14 22:41:43 +01:00
Ahmet Inan 9ae69a495a change orientation of analysis layout when rotating 2015-01-14 22:38:38 +01:00
Ahmet Inan 7a2c32057e change color of vu meter if too silent, normal or too loud 2015-01-14 21:21:39 +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 98a9ee7f1f replaced radix2 input with float 2015-01-14 11:28:51 +01:00
Ahmet Inan 4d8ccd970c Version 1.15 2015-01-13 23:41:35 +01:00
Ahmet Inan 9b428ce8d4 added toggle for analyzer 2015-01-13 23:37:54 +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 23cbc53650 fixed bug introduced with "made cic cascade order flexible" 2015-01-13 19:59:11 +01:00
Ahmet Inan ebf60dcdf9 Version 1.14 2015-01-11 16:06:00 +01:00
Ahmet Inan 9658233b08 added share option for last received image 2015-01-11 16:03:20 +01:00
Ahmet Inan 0d1d5ec426 Version 1.13 2015-01-11 10:19:29 +01:00
Ahmet Inan 79027437c5 keep screen awake while in foreground 2015-01-11 10:17:18 +01:00
Ahmet Inan 4488f224cb Version 1.12 2015-01-10 12:15:46 +01:00
Ahmet Inan 409edeb489 made cic cascade order flexible, normalize comb output from cascade gain 2015-01-10 11:31:16 +01:00
Ahmet Inan 968fea3bed made analyzer initialization nicer 2015-01-10 10:13:26 +01:00
Ahmet Inan cb489f426d increased stft window to 2048 2015-01-09 22:09:35 +01:00
Ahmet Inan 3c9d5b7da0 reduced stft window size to 1024, used ring buffer to slide dft 2015-01-09 18:31:01 +01:00
Ahmet Inan 55da5a9d77 do rounding to nearest in freq_marker 2015-01-09 18:12:23 +01:00
Ahmet Inan 923baf5846 added debug switch between boxcar and cic filtering 2015-01-09 16:34:18 +01:00
Ahmet Inan 9dcbdbdc69 use cic filter for decimation in analyzer 2015-01-08 22:18:50 +01:00
Ahmet Inan 659a644362 give the raw sample to the analyzer 2015-01-08 16:11:29 +01:00
Ahmet Inan f0816a8426 added frequency markers for 1100, 1300, 1500 and 2300 Hz 2015-01-08 15:48:00 +01:00
Ahmet Inan 749972d0e5 fixed color gradient, removed and added debug code 2015-01-08 15:22:37 +01:00
Ahmet Inan 88240631d3 reorganized visualisation value generation 2015-01-08 14:32:35 +01:00
Ahmet Inan 72bc00fc62 fixed rainbow 2015-01-08 14:27:32 +01:00
Ahmet Inan 0026a26897 do decimation by 7 using boxcar filter :) 2015-01-07 21:04:03 +01:00
Ahmet Inan e1b68b4e59 normalize using maximum of all bins 2015-01-07 21:02:34 +01:00
Ahmet Inan fd7326e24a maybe linear spectrum output is a better idea .. 2015-01-07 18:32:34 +01:00
Ahmet Inan bd0e98ba75 fixed stft code generator 2015-01-07 16:22:33 +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 eca5873fec split decoder code into Decoder class, made space for spectrum analyzer 2015-01-06 14:50:43 +01:00
Ahmet Inan 364b8f2209 Version 1.11 2015-01-05 13:07:02 +01:00
Ahmet Inan 272deee15f when using int scaling, set scaling to at least 1x 2015-01-05 13:06:39 +01:00
Ahmet Inan 28aed20659 Version 1.10 2015-01-04 17:58:26 +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 21d48f4a11 Version 1.9 2015-01-04 13:27:38 +01:00
Ahmet Inan 52a685f6c1 remade launcher icons 2015-01-04 13:25:38 +01:00
Ahmet Inan 605f39cac0 version 1.8 2015-01-03 11:19:31 +01:00
Ahmet Inan b09bf0632c added toggle for integer or float scaling 2015-01-03 11:17:23 +01:00
Ahmet Inan bd7ec1f0bc improved timing down to +-300ppm samples per line
- used milliseconds instead of seconds for timing
- did summations in milliseconds till end
- did rounding instead of truncation at critical places
2015-01-03 00:36:05 +01:00
Ahmet Inan 7a7d535165 reduced value buffer size to 2 seconds
just enough to decode scottie DX from sync to sync:

5x 345.6ms color scans =  1728.0ms
2x 9.0ms sync pulses = 18.0ms
4x 1.5ms porches = 6.0ms

1752.0ms total
2015-01-02 19:43:12 +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 3743d023f9 allocate value buffer of next power of 2 size 2014-12-30 22:35:56 +01:00
Ahmet Inan dad49c3010 increased version to "1.7" 2014-12-18 20:42:46 +01:00
Ahmet Inan dac04cbe86 made icons compatible with older devices 2014-12-18 20:41:47 +01:00
Ahmet Inan 0609dd3153 increased version to "1.6" 2014-12-18 14:01:55 +01:00
Ahmet Inan 8d7b0e0f50 always show notification, even when in foreground 2014-12-18 13:59:55 +01:00
Ahmet Inan cfe3f35aad made notification persisting 2014-12-18 13:54:04 +01:00
Ahmet Inan e0017ffa5f also set large icon in notification 2014-12-18 13:50:52 +01:00
Ahmet Inan c154dd4309 sdk update 2014-12-18 13:47:09 +01:00
Ahmet Inan 5c2ffa07a2 added notification icons 2014-12-18 13:46:23 +01:00
Ahmet Inan d0523a3990 WIP: added notification that the decoder is still running 2014-12-17 22:59:12 +01:00
Ahmet Inan 1426bbb105 allow only one instance of Robot36 2014-12-17 21:32:34 +01:00
Ahmet Inan 9f4c5459f6 increased version to "1.5" 2014-12-17 17:03:54 +01:00
Ahmet Inan fbffdf3d6d reduced "grey" area to help with noise immunity 2014-12-17 17:02:20 +01:00
Ahmet Inan 30ced94775 reverse logic to flatten drawCanvas() 2014-12-16 16:39:35 +01:00
Ahmet Inan 9f6c3797ad increased version to "1.4" 2014-12-16 16:37:02 +01:00
Ahmet Inan 801852e73b redraw canvas before leaving surfaceChanged() 2014-12-16 16:32:41 +01:00
Ahmet Inan 341b7ea18a increased version to "1.3" 2014-12-14 17:38:23 +01:00
Ahmet Inan 3a1e0d6201 fixed crash in debug mode 2014-12-14 17:37:14 +01:00
Ahmet Inan b7ce7d45cf increased version to 1.2 2014-12-14 15:05:46 +01:00
Ahmet Inan 0bd958b4d7 increased leader timeout tolerance 2014-12-14 15:03:08 +01:00
Ahmet Inan 738ac87fce increased break length tolerance 2014-12-14 13:59:02 +01:00
Ahmet Inan 42a809c6d9 increased version to 1.1 2014-12-13 21:55:26 +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 8d36624e94 added new icon set 2014-12-12 23:32:03 +01:00
Ahmet Inan d5d9ba379f removed '-' from WrasseSC2_180 string 2014-12-12 17:55:08 +01:00
Ahmet Inan 8d73fe002c wait for worker thread to finish 2014-12-12 17:32:43 +01:00
Ahmet Inan 60b8c48d9b WIP: experimental async decoding
it will continue decoding in background.
to stop decoder, you must exit application.
also removed some unneeded synchronizations to make it more responsive.
2014-12-12 15:42:24 +01:00
Ahmet Inan bb183cb80e do correct vertical scaling in case we want a higher horizontal resolution 2014-12-12 11:41:21 +01:00
Ahmet Inan 0d5407f090 reduced max height so we can enjoy more of the maximally scaled picture 2014-12-12 10:47:13 +01:00
Ahmet Inan 8828cbc753 Revert "lets stretch and crop the image a bit around the edges .."
This reverts commit 435c1be418.

just because everyone is doing it doesnt mean we should do it.
2014-12-12 09:23:55 +01:00
Ahmet Inan 435c1be418 lets stretch and crop the image a bit around the edges ..
.. so that nobody will notice our fucked front and back porches. ;-(
2014-12-11 23:19:43 +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 2c52be93cd store Bitmap as PNG in Pictures directory 2014-12-10 18:04:36 +01:00
Ahmet Inan 88a13d9a9b WIP: save image when finished 2014-12-10 13:29:59 +01:00
Ahmet Inan 308874b131 moved code generator to utils/blur.c, moved generated code to blur_generated.rsh 2014-12-09 20:07:55 +01:00
Ahmet Inan 48deba6305 added manual adjustment of blur 2014-12-09 15:48:26 +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 9446d5976e draw then decode to help minimize visual delay 2014-12-07 15:23:10 +01:00
Ahmet Inan bcbece17f6 do not restart app on screen change 2014-12-07 15:05:35 +01:00
Ahmet Inan 8372bcba92 be precise: even if we are going to square the deviation, its: x-u, not u-x 2014-12-06 22:23:23 +01:00
Ahmet Inan 270d20486c update variance if sync pulse is for more than buffer_length time missing 2014-12-06 19:31:21 +01:00
Ahmet Inan 5bcbd18dc7 lint fixes 2014-12-06 14:38:38 +01:00
Ahmet Inan eb7a494fe4 update rendering mode and activity title from decoder 2014-12-06 14:10:23 +01:00
Ahmet Inan 3401038ab1 moved DecoderThread code into ImageView 2014-12-05 22:52:03 +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 e5da88f27f gradle update fixes 2014-12-05 12:20:24 +01:00
Ahmet Inan d8e9790d10 be consistent: renamed _len to _seconds 2014-12-01 16:47:29 +01:00
Ahmet Inan c80ca4c8bd max allowed variance should be of half of min distance 2014-12-01 15:16:12 +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
Ahmet Inan a2397729a2 moved ema code to ema.rsh 2014-11-30 13:30:50 +01:00
Ahmet Inan f526f77a99 put header guards to complex.rsh 2014-11-30 13:24:57 +01:00
Ahmet Inan 6acb09a85e moved complex number helpers to complex.rsh 2014-11-30 12:29:30 +01:00
Ahmet Inan abf3df9d34 added complex_t 2014-11-30 12:24:21 +01:00