We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Opening this to track the issue, with more details to come, but:
On my specific setup, whenever I try to pass audio directly to the sound card, the output is choppy (i.e. incremental delays in audio playback).
Outputting to a wav file, and playing back (using aplay) through the same sound card is OK.
aplay
I've found that replacing the following line in afsk.py:encode() eliminates the problem:
#multiply(modulate(framed_data), constant(0.5)), modulate(framed_data),
$ ALSA_CARD=Device aprs -c W2GMD "Test"
Python 2.7.9
afsk==0.0.3 audiogen==0.1.2 bitarray==0.8.1 PyAudio==0.2.10
portaudio19-dev 19+svn20140130-1 libportaudio2:armhf 19+svn20140130-1
Linux latrans 4.4.38-v7+ #938 SMP Thu Dec 15 15:22:21 GMT 2016 armv7l GNU/Linux
Distributor ID: Raspbian Description: Raspbian GNU/Linux 8.0 (jessie) Release: 8.0 Codename: jessie
card 1: Device [C-Media USB Audio Device], device 0: USB Audio [USB Audio] Subdevices: 1/1 Subdevice #0: subdevice #0
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Opening this to track the issue, with more details to come, but:
On my specific setup, whenever I try to pass audio directly to the sound card, the output is choppy (i.e. incremental delays in audio playback).
Outputting to a wav file, and playing back (using
aplay
) through the same sound card is OK.I've found that replacing the following line in afsk.py:encode() eliminates the problem:
To Reproduce:
Versions:
Python 2.7.9
afsk==0.0.3
audiogen==0.1.2
bitarray==0.8.1
PyAudio==0.2.10
portaudio19-dev 19+svn20140130-1
libportaudio2:armhf 19+svn20140130-1
Linux latrans 4.4.38-v7+ #938 SMP Thu Dec 15 15:22:21 GMT 2016 armv7l GNU/Linux
Audio Output:
The text was updated successfully, but these errors were encountered: