Oswald Buddenhagen
ae5c4aad9b
add xrun handling to the examples
...
it's very primitive, but it shows adequately what can happen and what to
do about it minimally (that is, complain and move on).
2024-02-06 00:39:15 +01:00
Lars Immisch
ed027a6141
More output for playwav
2020-07-13 20:42:25 +01:00
Lars Immisch
df889b94ef
Don't use setrate etc. in samples.
2020-07-09 21:22:06 +02:00
MOHAMMAD RASIM
c1c8362eb2
update playwav.py for python 3
...
use int division for periodsize to be compatible with python 3
2018-02-24 19:40:45 +03:00
Michał Šrajer
40a1219dac
Support 24bit audio
...
SND_PCM_FORMAT_S24_LE and similar are for 24bit ints packed in 4-bytes each.
There is a similar family of formats for 3-bytes packed data (as stored in 24bit wave files).
This commit:
- adds S24_3LE, S24_3BE, U24_3LE, U24_3BE PCM formats to the alsaaudio.c
- updates documentation
- updates playwav.py to correctly play typical 24Bit PCM wave files
Closes #38
2017-08-29 19:09:54 +02:00
Lars Immisch
2c95f4ff6b
Larger periodsize.
...
Before, it wasn't playing properly on my Raspberry Pi + Hifiberry DAC
2017-02-24 20:54:49 +01:00
Lars Immisch
dc51fa75b5
Make tests more robust, use devices or card indices.
2017-02-22 23:55:17 +01:00
Lars Immisch
7b9d9828e6
Move towards python 3
2015-05-08 13:27:30 +02:00
larsimmisch
3c0469c0fc
Do a setperiodsize.
...
git-svn-id: svn://svn.code.sf.net/p/pyalsaaudio/code/trunk@37 ec2f30ec-7544-0410-870e-f70ca00c83f0
2009-12-18 22:18:47 +00:00
larsimmisch
72a31c802a
playwav uses PCM_FORMAT_U8 for 8bit data.
...
Added isine as an example for interactive generation of sound.
git-svn-id: svn://svn.code.sf.net/p/pyalsaaudio/code/trunk@33 ec2f30ec-7544-0410-870e-f70ca00c83f0
2009-05-05 22:06:37 +00:00
larsimmisch
fc3517b00e
This is release 0.4; it was tested with python2.5 and python3.0 (rc2 &
...
3)
git-svn-id: svn://svn.code.sf.net/p/pyalsaaudio/code/trunk@29 ec2f30ec-7544-0410-870e-f70ca00c83f0
2008-11-29 03:29:13 +00:00
larsimmisch
5c2a006553
Ported to Python3.0
...
Converted documentation to Sphinx.
Added playwav.py
git-svn-id: svn://svn.code.sf.net/p/pyalsaaudio/code/trunk@25 ec2f30ec-7544-0410-870e-f70ca00c83f0
2008-11-25 20:12:56 +00:00