Commit graph

175 commits

Author SHA1 Message Date
Ahmet Inan 76986c402d added updateMenuButtons() 2015-07-11 16:30:01 +02:00
Ahmet Inan f31839f0df use Log.getStackTraceString 2015-07-11 16:13:38 +02:00
Ahmet Inan 410c6c1f9c catch recording error 2015-07-11 16:03:40 +02:00
Ahmet Inan 5286f176c1 catch decoder init errors and prepare to send email 2015-07-11 15:47:10 +02:00
Ahmet Inan 57e5779468 use renderscriptTargetApi 18
hopefully this will fix issues with some devices
2015-07-11 13:01:22 +02:00
Ahmet Inan 44f74bb50e use rs_fp_relaxed instead of the default rs_fp_full
should help supporting more devices
2015-07-11 12:10:58 +02:00
Ahmet Inan 6e5b79696f use %a instead of %g for higher precision in code generators
nice, renderscript understands hexadecimal floating point notation
2015-07-08 16:23:46 +02:00
Ahmet Inan 58a4f0e214 rearanged code in radix2 to make it more clear 2015-07-03 17:11:42 +02:00
Ahmet Inan a35a9ad216 removed even more generic code from radix2
we only need forward FFTs, so the twiddling reduces to swaps, subs and adds.
2015-07-03 12:07:52 +02:00
Ahmet Inan 0d8082538e removed generic code from radix2
and reordered code, to make the savings more obvious to the reader
2015-07-02 15:40:23 +02:00
Ahmet Inan a01d6c607b moved pulse detector code to pulse.rsh 2015-02-28 11:06:08 +01:00
Ahmet Inan cda384afaa reverted to old lower maximum absolute deviation for estimator
noise makes sync pulse shorter, so we end up in another mode for a short time ..
using a lower max avoids the jumpiness.
2015-02-26 16:53:55 +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 ea53edfafb improved scanline estimator by also distinguishing by sync length 2015-02-26 12:56:25 +01:00
Ahmet Inan 926d13a5e3 improved root menu, selecting mode disables auto mode 2015-02-25 12:49:25 +01:00
Ahmet Inan bb2cfdfce6 improved update rate menu 2015-02-25 11:49:03 +01:00
Ahmet Inan 6f096419c1 improved image sharpness menu 2015-02-25 11:29:03 +01:00
Ahmet Inan a92663be5e show the filename in a toast after saving the image 2015-02-18 10:40:12 +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 0856b2edcf added toggle button for decoder 2015-02-17 16:56:48 +01:00
Ahmet Inan 007dbb0a42 set decoder member to null onDestroy, so it gets out of scope 2015-02-17 15:41:42 +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 ae35d841d3 do not overwrite user blur setting on mode change 2015-02-13 17:43:47 +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 119813bc4a Wrasse -> Wraase
The "Wraase SC2 180" mode was invented by Volker Wraase (DL2RZ)
2015-02-11 16:12:57 +01:00
Ahmet Inan e42cad9ddf added PD50, PD90, PD120, PD160, PD240 and PD290 2015-02-10 16:53:18 +01:00
Ahmet Inan 172a9675a8 added pd scanline constants 2015-02-09 21:50:20 +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 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 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 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 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 1c3f90aef0 added spectrum view to present spectrogram 2015-01-15 00:32:39 +01:00