converting to adpcm3 to au?

Robert Joop (rj@rainbow.in-berlin.de)
Sat, 4 Feb 1995 06:05:48 +0100


> <gert@greenie.muc.de> writes:

> >Hi,
> >Robert Nicholson wrote:
> >>Why doesn't this work?
> >>
> >>adpcmtopvf < voc-filename | pvftoau > /dev/audio
> >>
> >>This just sounds garbage to the internal speaker.

> >Most likely, the conversion is too slow. Try converting into a file and
> >play that file with "cat >/dev/audio".

> Unfortunately, putting in the extra step didn't help one bit.

> Anybody able to do this on a Sun?

sure. simply do a 

adpcmtopvf < voc-filename | pvftoau | play

au-file begin with a header and play(6) uses it to set rate, number of
channels and sampling width of /dev/audio.

i can forsee your next question, but how about using your brain for a
change and read adpcmtopvf(1)?

RTFM!

rj