Skip site navigation (1)Skip section navigation (2)
Date:      	Mon, 1 Jan 1996 11:34:08 -0500
From:      FICNAR FRANK G <ficnar@ecf.toronto.edu>
To:        Brian AGENT GORDON COLE Atkins <gt4722a@prism.gatech.edu>
Cc:        multimedia@freebsd.org
Subject:   Re: 16bit/44khz/GUSMax playback problem
Message-ID:  <Pine.SOL.3.91.960101112750.11379C-100000@spark28.ecf>
In-Reply-To: <199601011226.HAA09672@acmex.gatech.edu>

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

On Mon, 1 Jan 1996, Brian AGENT GORDON COLE Atkins wrote:

> I've got some WAVs I'm trying to listen to that were taken direct
> off a CD(CD-DA). This is on 2.1.0R stock setup. When I cat it to
> dsp0 or 2, all I get is screeching :) Other files work great with
> it and the audio device... but this is the first time I've tried
> listening to high quality(44khz...) sounds. Is there some trick
> I'm missing?
> 

I am pretty sure that the dsp devices are initially set for 8-bit mono,
8kHz playback on startup so trying to cat an audio file with different
parameters to these device will produce undesired results.  You will have
to set the devices to 44kHz playback and probably 16-bit stereo (if the
sound files are from a CD) to hear the audio files properly.  I don't know
of any way to do this without building your own program to access
/dev/mixer using a few ioctl calls.  Look for the Voxware driver
documentation out there.  I found it very useful when I first started into
these things. 

Frank




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.SOL.3.91.960101112750.11379C-100000>