Re: Recording sound...
- From: Steve Ackman <steve@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Wed, 22 Feb 2006 20:59:57 GMT
In <voydnROGiq6I72TenZ2dnUVZ_s6dnZ2d@xxxxxxxxxxx>, on Sun, 19 Feb 2006
23:39:00 -0800, Steve Ahrendt wrote:
Steve Ackman wrote:
$ uname -a...
FreeBSD wizard.dyndns.org 5.4-RELEASE FreeBSD 5.4-RELEASE #1: Wed Jul 27
17:06:49 MDT 2005 root@xxxxxxxxxxxxxxxxx:/usr/obj/usr/src/sys/CYRIXIII i386
$ dmesg | grep pcm0
pcm0: <VIA VT82C686A> port 0xd400-0xd403,0xd000-0xd003,0xcc00-0xccff irq 5
at device 7.5 on pci0
pcm0: <Realtek ALC100 AC97 Codec>
I can play CDs through the sound card fine.
I can play *.wav files from elsewhere using wavplay or
play, and they sound fine.
If I use wavrecord, and then wavplay, I hear a
slow-mo version of what I recorded.
Any ideas why "play" seems to work fine, but
"record" is messed up?
'cat /dev/sndstat' will show 2 different bitrates for play and record.
$ cat /dev/sndstat
FreeBSD Audio Driver (newpcm)
Installed devices:
pcm0: <VIA VT82C686A> at io 0xcc00 irq 5 kld snd_via82c686 (1p/1r/0v
channels duplex default)
I have the same built-in sound system on my motherboard. I just added
another sound card for sound input.
With wavrec and wavplay, it just seems inexplicable
that in order to get the speed right, you have to
record at half the sample rate you play, AND if you
set -t to record for 20 seconds, you get a 10 second
record time on the clock, but the playback only covers
about 8.5 to 9 seconds of that:
$ wavrec -s 22050 -t 20 test.wav
$ wavplay -s 44100 test.wav
Sample recorded in audacity plays back in audacity
timed correctly, but an octave low!
Files recorded with 'record' playback fine in audacity.
Files recorded with 'wavrec' are slo-mo in audacity.
Record and playback using xmradio now all seem to work
fine: RAW, AU, WAV, VOC, AIFF, and MP3... I was under
the impression at the time of the OP, that one or more
of those formats failed.
At least there seems to be one solution at hand
for the microphone. Record only using 'record' then
use other programs to process that file. Weird.
Frustrating. But workable... for now, anyway.
I'm pretty sure I have a 16-bit original CreativeLabs
SB around here somewhere, and I even have an ISA slot
on this MB.
If I get really frustrated, I guess I can look for
that.
Thanks for the verification that the VIA VT82C686A
has problems.
.
- References:
- Recording sound...
- From: Steve Ackman
- Re: Recording sound...
- From: Steve Ahrendt
- Recording sound...
- Prev by Date: Re: portupgraded perl to 5.8.8 -> this broke Spamassassin
- Next by Date: Re: burncd blank/erase issue - program doesn't terminate
- Previous by thread: Re: Recording sound...
- Next by thread: trouble with configuring sound in kernel - FBSD 5.4
- Index(es):
Relevant Pages
|