Damien Elmes
7f7b8fc52f
make sure we don't use inherited ld_library_path when calling mplayer
2017-05-22 15:40:04 +10:00
Illia Volochii
13b7e01044
Stop inheriting from object
...
It is not needed in Python 3.
2017-02-07 00:21:33 +02:00
Damien Elmes
f238bc772e
fix audio on mac
2017-01-09 12:52:52 +10:00
Damien Elmes
f9385572df
fix audio not stopping or overlapping
...
make sure we always send bytes
2016-12-17 13:47:07 +10:00
Damien Elmes
04c13d1348
use full path to packaged audio commands
...
ensures we use the packaged version over the system version
2016-07-26 12:15:43 +10:00
Damien Elmes
5655448919
explictly use utf8 when talking to mplayer
...
universal_newlines uses system locale which is ascii on osx unless
LC_CTYPE/LANG is set to utf8, so we need to be explicit about the
encoding we want instead
we also lose line buffering, so we have to explicitly flush
2016-07-12 16:55:10 +10:00
Damien Elmes
2c227da603
set rpath for bundled mplayer on linux
2016-06-29 14:21:48 +10:00
Damien Elmes
e131b20afd
tweak mplayer loc on osx
2016-06-28 13:26:19 +10:00
Damien Elmes
1d75cff5e7
pyaudio is no longer optional
2016-06-23 12:04:48 +10:00
Damien Elmes
4d88b62fbf
fix py3 issues with audio code
2016-05-31 17:51:16 +10:00
Damien Elmes
15b349e3a8
start port to python 3
...
unit tests pass and main screens of GUI load
2016-05-12 14:45:35 +10:00
Damien Elmes
89c9af7445
use default sample rate instead of forcing 44100
...
The 64 bit built of portaudio on OSX seems to generate a wav
file that says it's 44100 but is actually the default rate, leading
to samples playing too fast or slow.
2014-04-18 04:17:05 +09:00
Damien Elmes
d36655a8c7
use unicode when recording
2013-09-23 15:13:46 +09:00
Damien Elmes
b2457811a2
optimize imports
2012-12-22 09:17:10 +09:00
Damien Elmes
d477df8c28
merged libanki and ankiqt into single distro
2012-12-21 16:51:59 +09:00