Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Sep 2002 12:47:56 -0400
From:      The Anarcat <anarcat@anarcat.ath.cx>
To:        Baldur Gislason <baldur@foo.is>
Cc:        multimedia@freebsd.org
Subject:   Re: Recording 16 bit samples
Message-ID:  <20020916164756.GB313@lenny.anarcat.ath.cx>
In-Reply-To: <20020914195234.094E227A0@tesla.foo.is>
References:  <20020914195234.094E227A0@tesla.foo.is>

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

--UHN/qo2QbUvPLonB
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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=3D1

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=20
> recordings skip and do other weird stuff. I've tried this with 4 differen=
t=20
> sound cards, and with both the pcm and the old snd kernel drivers. Anyone=
=20
> else having the same problem?
>=20
> Baldur
>=20
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-multimedia" in the body of the message
>=20


--=20
=46rom the age of uniformity, from the age of solitude, from the age of
Big Brother, from the age of doublethink - greetings!

--UHN/qo2QbUvPLonB
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (FreeBSD)

iD8DBQE9hgs8ttcWHAnWiGcRAmf/AKCj/Bdz0r1cRwPlcp9GAvroiCJ8bwCeMcgO
SpqKTQSi8WN8QuKsEI9pKRI=
=z12O
-----END PGP SIGNATURE-----

--UHN/qo2QbUvPLonB--

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?20020916164756.GB313>