Commit Graph

619 Commits

Author SHA1 Message Date
Roman Zeyde
cac280cf3f dsp: remove buffering from MODEM.decode() 2015-02-19 14:57:39 +02:00
Roman Zeyde
52ee71fad1 scripts: add profiling test 2015-02-19 14:57:14 +02:00
Roman Zeyde
8fe7f1d716 config: bits_per_baud should be integer 2015-02-19 09:54:23 +02:00
Roman Zeyde
6b77534bc2 tox: log testcase names 2015-02-18 18:15:32 +02:00
Roman Zeyde
964b5e0df4 travis: log everything 2015-02-18 18:15:30 +02:00
Roman Zeyde
06cc8918f0 test_transfer: add sanity test for all supported rates. 2015-02-18 18:15:30 +02:00
Roman Zeyde
6a2e320808 equalizer: replace Least-Square solver by Levinson-Durbin recursion 2015-02-18 18:15:30 +02:00
Roman Zeyde
97e992ea56 audio: return self from Interface.load() 2015-02-18 18:15:30 +02:00
Roman Zeyde
61dc35c122 detect: refactor find_start() 2015-02-17 18:08:57 +02:00
Roman Zeyde
e06cb37e2b recv: reduce equalization filter size, due to better timing estimation 2015-02-17 17:35:42 +02:00
Roman Zeyde
d34d2fdbea test_transfer: verify it works after "signal flip". 2015-02-17 17:35:41 +02:00
Roman Zeyde
42ad312418 test_transfer: add 1% frequency drift test. 2015-02-17 17:35:41 +02:00
Roman Zeyde
e0718596e2 send: set gain (to prevent saturation) 2015-02-17 17:35:41 +02:00
Roman Zeyde
fdf6e7e882 sampling: use raised cosine window. 2015-02-17 17:35:41 +02:00
Roman Zeyde
90dd3e55f0 detect: find actual starting offset of the carrier 2015-02-17 17:35:41 +02:00
Roman Zeyde
b3619a75ba detect: remove phase logging 2015-02-17 17:35:41 +02:00
Roman Zeyde
1ddc693683 recv: count errors at prefix 2015-02-17 17:35:41 +02:00
Roman Zeyde
b3804a42be cli: support "dummy" audio interface
specify '-' to to skip loading PortAudio shared library.
2015-02-14 10:47:25 +02:00
Roman Zeyde
c0634a34d0 dsp: pre-compute polynome bit_length
since Python 2.6 has no .bit_length() method
2015-02-13 15:08:11 +02:00
Roman Zeyde
807c03a8e8 equalizer: use PRBS for equalization sequence 2015-02-13 14:47:28 +02:00
Roman Zeyde
e5ff6297b1 autocalib: fix amodem invocation 2015-02-11 17:21:28 +02:00
Roman Zeyde
07a3d5cc98 scripts: fix permissions 2015-02-11 17:21:26 +02:00
Roman Zeyde
d81ec630a5 dsp: move lfilter and IIR to tests 2015-02-11 17:21:26 +02:00
Roman Zeyde
4cebb06e11 setup.py: " -> ' 2015-02-11 10:29:45 +02:00
Roman Zeyde
a43e674fbe scripts: add auto-calibration script
should be used when sender and receiver run at the same computer
2015-02-11 10:29:33 +02:00
Roman Zeyde
ffc9ece45c scripts: add ALSA helpers 2015-02-11 10:01:53 +02:00
Roman Zeyde
e374a65920 scripts: rename existing filenames 2015-02-11 09:59:30 +02:00
Roman Zeyde
9709ffc523 travis: output textual report 2015-02-07 09:09:40 +02:00
Roman Zeyde
8295b0865d PEP8 fixes
imports order
2015-02-07 09:06:59 +02:00
Roman Zeyde
cbdf4d1616 PEP8 fixes
lambdas and imports
2015-02-07 09:02:26 +02:00
Roman Zeyde
a2b220c8e4 PEP8 fixes
lambdas and coverage
2015-02-07 08:52:27 +02:00
Roman Zeyde
5b94d7fd49 PEP8 fixes 2015-02-07 08:42:44 +02:00
Roman Zeyde
cbf14a5153 README: add package status 2015-02-07 08:30:58 +02:00
Roman Zeyde
d09391f43f README: move to restructured text format. 2015-02-06 18:31:10 +02:00
Roman Zeyde
6361f8a257 bump version 2015-02-06 11:29:01 +02:00
Roman Zeyde
b39334bfe8 recv: log SNR during demodulation v1.8 2015-02-04 18:08:58 +02:00
Roman Zeyde
1c13671a4c README: add version from PyPI 2015-02-04 18:08:58 +02:00
Roman Zeyde
6a35820155 async: remove AsyncWriter
we are not expecting real-time problems on the sender's side.
2015-02-04 18:08:57 +02:00
Roman Zeyde
1b64e2874a config: add more bitrates 2015-02-04 18:08:57 +02:00
Roman Zeyde
537db23b34 README: separate PyPI and GitHub versions. 2015-02-04 09:09:16 +02:00
Roman Zeyde
ef8a75f10e main: refactor send and recv 2015-02-04 08:16:12 +02:00
Roman Zeyde
53559ff8df recv: fix pylint warning 2015-02-03 17:44:06 +02:00
Roman Zeyde
1988144752 async: fix pylint warnings 2015-02-03 17:42:53 +02:00
Roman Zeyde
1d5d564f4d stream: use async I/O to avoid real-time problems. 2015-02-03 16:52:48 +02:00
Roman Zeyde
5b6d1881ab audio: don't specify framesPerBuffer.
from "Pa_OpenStream" documentation:

 @param framesPerBuffer The number of frames passed to the stream callback
 function, or the preferred block granularity for a blocking read/write stream.
 The special value paFramesPerBufferUnspecified (0) may be used to request that
 the stream callback will receive an optimal (and possibly varying) number of
 frames based on host requirements and the requested latency settings.
 Note: With some host APIs, the use of non-zero framesPerBuffer for a callback
 stream may introduce an additional layer of buffering which could introduce
 additional latency. PortAudio guarantees that the additional latency
 will be kept to the theoretical minimum however, it is strongly recommended
 that a non-zero framesPerBuffer value only be used when your algorithm
 requires a fixed number of frames per stream callback.
2015-02-03 09:54:04 +02:00
Roman Zeyde
221c7c03b9 recv: fix reporting 2015-02-03 08:35:02 +02:00
Roman Zeyde
0e9d8c04da audio: refactor naming and I/O wait report 2015-02-03 08:35:02 +02:00
Roman Zeyde
66b8e377ac stream: move Dumper class from recv and use it in calibration too 2015-02-03 08:35:02 +02:00
Roman Zeyde
bfbb7f3588 Revert "rename README (remove .md extension)"
This reverts commit 32e01dd4e0.
2015-01-25 20:13:50 +02:00
Roman Zeyde
32e01dd4e0 rename README (remove .md extension) 2015-01-25 20:09:20 +02:00