Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Feb 2001 01:38:08 +0000 (GMT)
From:      George Reid <greid@ukug.uk.freebsd.org>
To:        Dominic Marks <dominic_marks@hotmail.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: PCM, Audio, Ensoniq PCI Sound card, Kernel issue
Message-ID:  <Pine.BSF.4.21.0102200133210.1911-100000@sobek.openirc.co.uk>
In-Reply-To: <F285zDv60gxapzhad2V00002e73@hotmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 19 Feb 2001, Dominic Marks wrote:

> # cat some.wav > /dev/audio
> 
> I might have also done "cat some.wav | /dev/audio" I'm not sure, would that 
> have made a difference?

Yes. "cat some.wav | /dev/audio" makes no sense. That basically means
"take the output of 'cat some.wav' and pipe it through the /dev/audio
program". Nonsense, since /dev/audio is a device node and not a program.

Mind you, "cat some.wav > /dev/audio" doesn't make any sense either. You
can't just write a wave file to the device node and expect to get sound: a
WAVE file is not just raw audio data. Investigate sox
(/usr/ports/audio/sox) - this will let you test out the sound properly
with WAVE files.

> (probably...) It just made a horrible screeching 
> noise, so evidently something is wrong

Actually, it's exactly what would be expected.

G

"And then it comes to be that the soothing light
   at the end of your tunnel was just a freight
            train, comin' your way."

      George Reid * greid@ukug.uk.freebsd.org



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0102200133210.1911-100000>