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
5b94d7fd49
PEP8 fixes
2015-02-07 08:42:44 +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
ef8a75f10e
main: refactor send and recv
2015-02-04 08:16:12 +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
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
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
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
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
2727ff014a
amodem-cli: fix compression logic
2015-01-16 11:32:22 +02:00
Roman Zeyde
2d890339e2
recv: add audio dumping option (for debugging)
2015-01-11 18:01:39 +02:00
Roman Zeyde
8e8d43b041
cli: add zip compression option
2015-01-09 19:50:04 +02:00
Roman Zeyde
a83888ff02
remove unused arguments
2015-01-08 10:35:10 +02:00
Roman Zeyde
f086bbfdeb
audio: use specified config
2015-01-06 18:01:48 +02:00
Roman Zeyde
75dd7d28c9
audio: use ctypes to access PortAudio API directly
2015-01-06 14:46:37 +02:00
Roman Zeyde
c37cf741bc
remove unused code.
2014-12-30 18:24:57 +02:00
Roman Zeyde
2430588077
cli: exit code should reflect success status
2014-12-30 09:45:31 +02:00
Roman Zeyde
4d75dba0bc
switch to PyAudio package for portability
2014-12-29 17:54:42 +02:00
Roman Zeyde
fbd34844cf
main: use amodem package for recv.main() and send.main() API
2014-12-28 16:46:47 +02:00
Roman Zeyde
ec5b5fa4c0
fix string formatting
2014-12-26 22:18:35 +02:00
Roman Zeyde
b9dc85e857
amodem-cli: move -v/-q flags to subparsers.
2014-12-25 11:08:38 +02:00
Roman Zeyde
ca14f0862b
configuration should be specified explicitly
2014-12-02 22:18:24 +02:00
Roman Zeyde
6bf0d4eeda
CLI: handle missing argcomplete package
2014-11-30 12:48:57 +02:00
Roman Zeyde
ea5e577953
recv: fix detection logic a bit
2014-11-14 16:53:33 +02:00
Roman Zeyde
c84e081b1c
amodem-cli: fix description logging
2014-11-09 17:37:18 +02:00
Roman Zeyde
ceb826728a
don't use global configuration
2014-11-09 17:27:34 +02:00
Roman Zeyde
c8f5924c12
move and rename CLI script
2014-11-02 09:28:43 +02:00