🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: aus.computers.linux
Article #56567

Re: /dev/dsp and 16 bit .WAV files

#56567
From: gmcgarry
Date: Tue, 04 Feb 1997 00:00
26 lines
1424 bytes
In article <5cvak3$906@the-fly.zip.com.au>,
	erikd@zip.com.au (Erik de Castro Lopo) writes:

>Currently I can play 8 bit .WAV files on my ProAudio Spectrum 16 
>by doing
>
>	cat filename.wav >/dev/dsp
>
>Unfortunately, 16 bit wave files get played as 8 bit files. The 
>sound is rather unpleasant. Is there some setup I need to do to
>get /dev/dsp to correctly interpret 16 bit .WAV files or is it
>simply not capable of playing the 16 bit format.

The /dev/dsp device is for raw data samples.  .WAV files found in MS-Windoze
are not raw files, although 8-bit may sound adequate.  Convert to raw or .au
before playing through /dev/audio (using sox), or get a package called wavplay.

Regards,
Greg

-- 
Gregory McGarry
Signal Processing Research Centre
School of Electrical and Electronic Systems Engineering
Queensland University of Technology, Australia
Technical Details
Message-ID: <5d6l46$msh@dove.qut.edu.au>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <5cvak3$906@the-fly.zip.com.au>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 102983,910bd0ef6e5e0e6e,start
X-Google-Attributes: gid102983,public
From: gmcgarry@lux.sprc.qut.edu.au ()
Subject: Re: /dev/dsp and 16 bit .WAV files
Date: 1997/02/04
Message-ID: <5d6l46$msh@dove.qut.edu.au>
X-Deja-AN: 214309979
distribution: world
references: <5cvak3$906@the-fly.zip.com.au>
to: erikd@zip.com.au
content-type: text/plain; charset=US-ASCII
organization: Queensland University of Technology, Australia
mime-version: 1.0
newsgroups: aus.computers.linux