Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 21 May 2011 13:16:31 +0200
From:      Torfinn Ingolfsen <torfinn.ingolfsen@broadpark.no>
To:        freebsd-multimedia@FreeBSD.org
Subject:   Re: native sound tools in FreeBSD?
Message-ID:  <20110521131631.037e25ed.torfinn.ingolfsen@broadpark.no>
In-Reply-To: <20110521003624.6264b89d.torfinn.ingolfsen@broadpark.no>
References:  <20110521003624.6264b89d.torfinn.ingolfsen@broadpark.no>

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

On Sat, 21 May 2011 00:36:24 +0200
Torfinn Ingolfsen <torfinn.ingolfsen@broadpark.no> wrote:

> Hello,
> 
> Quick question: do we have any sound tools in FreeBSD that are
> considered "native" (in other words, that comes with FreeBSD, without
> installing any ports)?
> I'm thinking of tools like these: 
> http://manuals.opensound.com/usersguide/ossplay.html
> http://manuals.opensound.com/usersguide/ossrecord.html
> http://manuals.opensound.com/usersguide/osstest.html
> 

Somedays, my thinking isn't at its best. A simple 'cat' or redirection
works well for this purpose:
"record" from dsp1 and playback on dsp0:
cat /dev/dsp1.0 > /dev/dsp0.0

record to file, with playback while recording:
tee soundfile.test < /dev/dsp1.0 > /dev/dsp0.0

and playback of the file afterwards:
cat soundfile.test > /dev/dsp0.0

And it all works. Nice!
-- 
Torfinn




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