Re: Playing 8-bit raw Audio with mplayer

2009-08-22 Thread Emanoil Kotsev
Martin McCormick wrote: > mplayer -quiet -rawaudio samplesize=1:channels=1:rate=8000 -demuxer > rawaudio \ /tmp/ This was interesting experiment, but I don't hear such a thing. what do you see in ratio (see below) from mplayer for me it's ratio: 8000->8000 uname -a Linux maistor 2.6.30.4eko2 #

Re: Playing 8-bit raw Audio with mplayer

2009-08-22 Thread Martin McCormick
Tzafrir Cohen writes: > In the worst case, convert it to a wav file: > > sox -r8000 -u -c1 -8 streamfile file.wav That definitely does work. Thanks. It turned out I was reading the wrong part of the man page so searches for what one might think works turned up nothing. It turns

Re: Playing 8-bit raw Audio with mplayer

2009-08-17 Thread Tzafrir Cohen
On Fri, Aug 14, 2009 at 10:09:19AM -0500, Martin McCormick wrote: > If one produces a raw PCM dump of /dev/dsp such as > $ cat /dev/dsp >streamfile > > The result is an unsigned 8-bit 8-KHZ audio dump captured in > streamfile. If I cat streamfile >/dev/dsp, it plays so I know > that works. Has an

Playing 8-bit raw Audio with mplayer

2009-08-14 Thread Martin McCormick
If one produces a raw PCM dump of /dev/dsp such as $ cat /dev/dsp >streamfile The result is an unsigned 8-bit 8-KHZ audio dump captured in streamfile. If I cat streamfile >/dev/dsp, it plays so I know that works. Has anybody successfully played such an unsigned stream in mplayer? It would be nice