Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 26 Sep 1999 12:32:49 -0700
From:      Parag Patel <parag@cgt.com>
To:        freebsd-multimedia@freebsd.org
Subject:   Unable to find info on recording (analog) sound in archives
Message-ID:  <47118.938374369@pinhead.parag.codegen.com>

next in thread | raw e-mail | index | archive | help


I've been looking through the archives and web pages and haven't found
anything definitive on recording (analog) sound in the archives.  I have
the value edition of the SoundBlaster AWE64 (which was purchased as it
was the only card supported by BeOS a while back).

The specific problem I'm seeing is that no matter what priority
(real-time or otherwise) I run any app that reads (I think) /dev/dsp to
capture line-input from an external source, it loses data so the
resulting sound file has "skips" in it, even with the rawest slowest
mono formats.

I've tried the new pcm and the old Voxware drivers.  The OSS drivers
lockup my machine hard - it doesn't even get a chance to panic - it just
goes bye-bye.  I've tried most of the ports collection and some simple C
programs that access the sound-device directly, to no avail.

The card plays sound just fine, from files, realplayer, mp3 - whatever.
It also plays music from the CD-player just fine - no skips or anything.
It's just when recording that it seems like either the on-card buffer
isn't big enough or the reader process can't read the data fast enough.

So my question is, what's the necessary magic incantations I need to
perform?  Turn off SMP?  Run some program that buffers everything into
RAM before dumping it to disk?  Kill everything and run in single-user
mode?  Get a better sound-card and if so, which one?  Run CURRENT
instead of STABLE?  Sacrifice a chicken?  Fried or slow-roasted?

I want to convert some old LP albums to CDs, which need full 44kHz
stereo files, and naturally these come out "skipping" the most.

Pointers to sites/archives with the necessary info would be appreciated
if this has (and I'm sure it has) been discussed before.  Thanks in
advance!


	-- Parag Patel



dmesg output:
...
FreeBSD 3.3-STABLE #0: Mon Sep 20 10:25:08 PDT 1999
    parag@pinhead.parag.codegen.com:/usr/src/sys/compile/PINHEAD
Timecounter "i8254"  frequency 1193182 Hz
CPU: Pentium II (686-class CPU)
  Origin = "GenuineIntel"  Id = 0x634  Stepping = 4
  Features=0x80fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,MMX>
real memory  = 268435456 (262144K bytes)
avail memory = 258150400 (252100K bytes)
Programming 24 pins in IOAPIC #0
FreeBSD/SMP: Multiprocessor motherboard
 cpu0 (BSP): apic id:  1, version: 0x00040011, at 0xfee00000
 cpu1 (AP):  apic id:  0, version: 0x00040011, at 0xfee00000
 io0 (APIC): apic id:  2, version: 0x00170011, at 0xfec00000
Preloaded elf kernel "kernel" at 0xc02f7000.
Pentium Pro MTRR support enabled
...
Probing for PnP devices:
CSN 1 Vendor ID: CTL00e4 [0xe4008c0e] Serial 0x08de2f0a Comp ID: PNPb02f [0x2fb0d041]
sb0 at 0x220 irq 10 drq 1 on isa
snd0: <SoundBlaster 16 4.16> 
sbxvi0 at drq 5 on isa
snd0: <SoundBlaster 16 4.16> 
sbmidi0 not found at 0x330
opl0 at 0x388 on isa
snd0: <Yamaha OPL3 FM> 
awe0 at 0x620 on isa
AWE32: not detected
...



kernel config file:

...
controller      snd0
device sb0      at isa? port 0x220 irq 10 drq 1
device sbxvi0   at isa? drq 5
device sbmidi0  at isa? port 0x330
device opl0     at isa? port 0x388
device awe0     at isa? port 0x620
...


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




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