vboxgetty/isdn4linux/pvftools

Marc SCHAEFER (schaefer@alphanet.ch)
Sun, 18 Jul 1999 14:07:44 +0200




On Fri, 16 Jul 1999, Martin Neuwirther wrote:

> rmdtopvf < vboxfile |  pvfamp -A 4 | pvftoau  > test.au

Ok, I have tried your test with the latest mgetty release (and with an
older one, doesn't make any difference)

/tmp/mgetty-current/voice/pvftools/rmdtopvf < 990717002150-31 |
/tmp/mgetty-current/voice/pvftools/pvftowav | ssh 193.72.186.7 'cat > /dev/dsp'

This was of very high quality on my headphone on the sound card. This
generated a 9600 samples/second sound, and your voice didn't look
distorted or higher.

With an additionnal pvfspeed -s 9600 the voice is higher/faster. I suggest
using ``sox'' for better quality conversion.

I also used:

/tmp/mgetty-current/voice/pvftools/rmdtopvf < 990717002150-31 |
/tmp/mgetty-current/voice/pvftools/pvfspeed -s 8000 |
/tmp/mgetty-current/voice/pvftools/pvftobasic | ssh 193.72.186.7 'cat > /dev/audio'

and I saw the ``faster'' and higher problem, but the sound was usable.

However, if that sound is then converted to WAV with sox, I don't see the
``fast'' problem.

What I think is happening is that maybe the basic or au generated file is
generated with no header, and the soundcard simply doesn't get it
``right''.

With another soundcard (the ``PC speaker''), forced at 8000 HZ, I don't
see the ``faster'' problem.

> solved I will return to the news group ...

what are you sending that sound to ?  maybe another format than au is
better ?