Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 Sep 1998 18:35:08 +0200
From:      Eivind Eklund <eivind@yes.no>
To:        Zach Heilig <zach@gaffaneys.com>, freebsd-multimedia@FreeBSD.ORG
Subject:   Re: (oops!) converting sound from /dev/audio format to /dev/dsp
Message-ID:  <19980918183508.49018@follo.net>
In-Reply-To: <19980918095750.A28513@znh.org>; from Zach Heilig on Fri, Sep 18, 1998 at 09:57:50AM -0500
References:  <19980918095750.A28513@znh.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Sep 18, 1998 at 09:57:50AM -0500, Zach Heilig wrote:
> Is there a formula to convert a sound captured from /dev/audio to something
> that will work well when piped into /dev/dsp?  I did a quick 'gnuplot' of
> the values of both, and don't see any obvious correlations.
> 
> I made the mistake of capturing 15 hours of non-repeatable audio from
> /dev/audio before I realized that /dev/dsp captured sounds in an easier to
> process form (the goal is to be able to pipe the audio to gained by mistake
> from /dev/audio and be able to pipe that to /dev/dsp and get recognizable
> audio).
> 
> it was the default 8-bit/8K digitization...

Look at /usr/ports/audio/sox.  It should be able to do the conversion
for you.

Eivind.


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?19980918183508.49018>