From owner-freebsd-multimedia Fri Sep 18 09:35:46 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id JAA17070 for freebsd-multimedia-outgoing; Fri, 18 Sep 1998 09:35:46 -0700 (PDT) (envelope-from owner-freebsd-multimedia@FreeBSD.ORG) Received: from ns1.yes.no (ns1.yes.no [195.119.24.10]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id JAA17056 for ; Fri, 18 Sep 1998 09:35:41 -0700 (PDT) (envelope-from eivind@bitbox.follo.net) Received: from bitbox.follo.net (bitbox.follo.net [195.204.143.218]) by ns1.yes.no (8.9.1a/8.9.1) with ESMTP id SAA00384; Fri, 18 Sep 1998 18:35:10 +0200 (CEST) Received: (from eivind@localhost) by bitbox.follo.net (8.8.8/8.8.6) id SAA15220; Fri, 18 Sep 1998 18:35:10 +0200 (MET DST) Message-ID: <19980918183508.49018@follo.net> Date: Fri, 18 Sep 1998 18:35:08 +0200 From: Eivind Eklund To: Zach Heilig , freebsd-multimedia@FreeBSD.ORG Subject: Re: (oops!) converting sound from /dev/audio format to /dev/dsp References: <19980918095750.A28513@znh.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.89.1i In-Reply-To: <19980918095750.A28513@znh.org>; from Zach Heilig on Fri, Sep 18, 1998 at 09:57:50AM -0500 Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org 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