Commit Graph

570 Commits

Author SHA1 Message Date
Roman Zeyde
32e01dd4e0 rename README (remove .md extension) 2015-01-25 20:09:20 +02:00
Roman Zeyde
200ec3b0c2 scripts: add recording script for audio debugging. 2015-01-25 20:09:10 +02:00
Roman Zeyde
6a37dd74ec bump version. 2015-01-24 07:59:29 +02:00
Roman Zeyde
dc8e876f13 README: fix typos v1.7 2015-01-23 15:32:30 +02:00
Roman Zeyde
a208151fbb detect: more precision on ppm 2015-01-23 14:17:35 +02:00
Roman Zeyde
ef40b498bb Revert "travis: add pylint" - pylint is broken on travis.org's Python 2.6
This reverts commit 33385b294e.
2015-01-21 20:47:33 +02:00
Roman Zeyde
db3ae11bc0 equalizer: use low-level random API, for Python 2<->3 interoperability
Random.randrange() behaviour was changed at v3.2, see:
https://bugs.python.org/issue9025
2015-01-21 20:38:44 +02:00
Roman Zeyde
4c4027b84a config: increate sample buffer to 256ms. 2015-01-20 10:21:02 +02:00
Roman Zeyde
4193fa88d6 cli: format -> fmt 2015-01-20 10:19:58 +02:00
Roman Zeyde
5275f25d14 cli: simplify stdin/stdout logic 2015-01-20 10:19:45 +02:00
Roman Zeyde
33385b294e travis: add pylint 2015-01-20 10:16:47 +02:00
Roman Zeyde
128675955b tox: whitelist numpy 2015-01-20 10:04:57 +02:00
Roman Zeyde
c4d583612b calib: add tests for automation 2015-01-20 10:00:30 +02:00
Roman Zeyde
779ba09c46 equalizer: add remark. 2015-01-19 20:54:16 +02:00
Roman Zeyde
7e8f1e8994 recv: fix subplot on 1x2 figure 2015-01-19 20:50:46 +02:00
Roman Zeyde
3450c2c570 equalizer: use constant symbols' prefix (for analog debugging) 2015-01-19 20:45:40 +02:00
Roman Zeyde
95ed9e0eda cli: use "-c auto" for auto-calibration
currently, support only PulseAudio
2015-01-19 16:15:08 +02:00
Roman Zeyde
95bbfbfe98 cli: handle Ctrl+C during calibration. 2015-01-19 10:59:08 +02:00
Roman Zeyde
066c27843e calib: print special message for frequency changes. 2015-01-19 10:56:15 +02:00
Roman Zeyde
323145c44b audio: fix UTs 2015-01-17 21:07:27 +02:00
Roman Zeyde
f523b7579c calib: allow only KeyboardInterrupt exception. 2015-01-17 19:11:15 +02:00
Roman Zeyde
3b6a54150f audio: split library load from c-tor 2015-01-17 19:01:49 +02:00
Roman Zeyde
2d202cf587 cli: use automaitic calibration with PulseAudio 2015-01-17 18:30:43 +02:00
Roman Zeyde
ee7db32418 audio: fix for Python3 2015-01-17 18:27:10 +02:00
Roman Zeyde
81165799fd calib: fix logging messages 2015-01-17 18:27:01 +02:00
Roman Zeyde
c7251b641e calib: fix UTs 2015-01-17 16:03:41 +02:00
Roman Zeyde
9036069323 cli: add aliases for PulseAudio volume setting 2015-01-17 12:51:10 +02:00
Roman Zeyde
ff8427f5f9 calib: automatic microphone gain calibration
$ amodem-cli send -vv -c 'pactl set-sink-volume @DEFAULT_SINK@'
will set speaker level to 100%.

$ amodem-cli recv -vv -c 'pactl set-source-volume @DEFAULT_SOURCE@'
will use "binary search", to find the best microphone gain.
2015-01-17 12:45:25 +02:00
Roman Zeyde
35487966d8 audio: add PortAudio version string for debugging 2015-01-17 09:04:34 +02:00
Roman Zeyde
5c4849be1c detect: remove unused code
since we now compensate for frequency drift, these estimates may be too
pessimistic.
2015-01-16 12:46:29 +02:00
Roman Zeyde
cbcf2860b9 README: add a video tutorial 2015-01-16 12:39:14 +02:00
Roman Zeyde
d03205fe02 update README for newer version. 2015-01-16 11:53:47 +02:00
Roman Zeyde
603fc75db4 amodem: bump version 2015-01-16 11:36:55 +02:00
Roman Zeyde
2727ff014a amodem-cli: fix compression logic v1.6 2015-01-16 11:32:22 +02:00
Roman Zeyde
fe1714a0bc common: fix v2.6 formatting issue 2015-01-16 11:05:04 +02:00
Roman Zeyde
cb8ce9e8ec common: fix __repr__ on AttributeHolder 2015-01-16 10:51:11 +02:00
Roman Zeyde
b4dc0922eb equalizer: back to long training sequence 2015-01-16 10:31:42 +02:00
Roman Zeyde
36f52f9346 calib: make work with large frequency errors
(tested up to 0.2%)
2015-01-16 10:28:11 +02:00
Roman Zeyde
babd4a5438 common: move AttributeHolder 2015-01-16 09:50:29 +02:00
Roman Zeyde
904966365f recv: use finally for exit code 2015-01-15 18:22:47 +02:00
Roman Zeyde
aa0dd2c2c8 fix pep8 2015-01-15 18:22:47 +02:00
Roman Zeyde
1da258ebf8 detect: refactor receiver for large frequency drifts (~0.1%) 2015-01-15 18:22:47 +02:00
Roman Zeyde
5401206178 higher precision progress logging 2015-01-15 08:24:01 +02:00
Roman Zeyde
9b6160ec43 bump version due to calibration change
(it could be shorter)
2015-01-14 12:41:01 +02:00
Roman Zeyde
04b0142955 recv: handle higher frequency drifts. 2015-01-13 18:37:31 +02:00
Roman Zeyde
9dbfcaa870 equalizer: use shorter pilot tone. 2015-01-13 18:32:15 +02:00
Roman Zeyde
af59eb5bdf transfer: test larger frequency errors 2015-01-13 13:02:22 +02:00
Roman Zeyde
e4267f236b dsp: remove unused code 2015-01-11 18:14:37 +02:00
Roman Zeyde
cfc6de9eb0 calib: return attribute holders from receiver's calibration. 2015-01-11 18:09:53 +02:00
Roman Zeyde
2d890339e2 recv: add audio dumping option (for debugging) 2015-01-11 18:01:39 +02:00