From owner-freebsd-multimedia Mon Jan 1 08:34:18 1996 Return-Path: owner-multimedia Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id IAA26240 for multimedia-outgoing; Mon, 1 Jan 1996 08:34:18 -0800 (PST) Received: from cannon.ecf.toronto.edu (root@cannon.ecf.toronto.edu [128.100.8.5]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id IAA26235 for ; Mon, 1 Jan 1996 08:34:14 -0800 (PST) Received: by cannon.ecf.toronto.edu id <351>; Mon, 1 Jan 1996 11:34:10 -0500 Date: Mon, 1 Jan 1996 11:34:08 -0500 From: FICNAR FRANK G X-Sender: ficnar@spark28.ecf To: Brian AGENT GORDON COLE Atkins cc: multimedia@freebsd.org Subject: Re: 16bit/44khz/GUSMax playback problem In-Reply-To: <199601011226.HAA09672@acmex.gatech.edu> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-multimedia@freebsd.org Precedence: bulk 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