| Subject: | Re: Recording 16 bit samples | |
|---|---|---|
| From: | The Anarcat (anar...@anarcat.ath.cx) | |
| Date: | Sep 16, 2002 9:47:34 am | |
| List: | org.freebsd.freebsd-multimedia | |
Refine Search
| From | Sent On | Attachments |
|---|---|---|
| Baldur Gislason | Sep 14, 2002 12:51 pm | |
| The Anarcat | Sep 16, 2002 9:47 am | |
| Tim Pozar | Sep 16, 2002 11:00 am |
| Subject: | Re: Recording 16 bit samples | |
|---|---|---|
| From: | The Anarcat (anar...@anarcat.ath.cx) | |
| Date: | Sep 16, 2002 9:47:34 am | |
| List: | org.freebsd.freebsd-multimedia | |
Sox converts samples to its internal format when reading and converts back again when writing, so that's huge lag.
Also, it uses a very small buffer for both ops, so it's really not the best tool to record.
I suggest you try out my little "rec" tool that records RAW PCM from the sound card to see if you can record correctly.
http://anarcat.ath.cx/cgi-bin/cvsweb.cgi/bin/rec/
That's CVS, you can download the whole thing in a tarball at:
http://anarcat.ath.cx/cgi-bin/cvsweb.cgi/bin/rec/rec.tar.gz?tarball=1
A.
On Sat Sep 14, 2002 at 07:51:59PM +0000, Baldur Gislason wrote:
I'm having trouble recording 16 bit samples with sox in FreeBSD, the recordings skip and do other weird stuff. I've tried this with 4 different sound cards, and with both the pcm and the old snd kernel drivers. Anyone else having the same problem?
Baldur
To Unsubscribe: send mail to majo...@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message
-- From the age of uniformity, from the age of solitude, from the age of Big Brother, from the age of doublethink - greetings!

