From owner-freebsd-multimedia Mon Jan 1 04:26:11 1996 Return-Path: owner-multimedia Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id EAA19741 for multimedia-outgoing; Mon, 1 Jan 1996 04:26:11 -0800 (PST) Received: from anvil.gatech.edu (anvil.gatech.edu [130.207.165.41]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id EAA19736 for ; Mon, 1 Jan 1996 04:26:08 -0800 (PST) Received: from acmex.gatech.edu (gt4722a@acmex.gatech.edu [130.207.165.22]) by anvil.gatech.edu (8.6.12/8.6.12) with ESMTP id HAA11034 for ; Mon, 1 Jan 1996 07:26:05 -0500 From: gt4722a@prism.gatech.edu (Brian "AGENT GORDON COLE" Atkins) Received: (gt4722a@localhost) by acmex.gatech.edu (8.6.12/8.6.12) id HAA09672 for multimedia@freebsd.org; Mon, 1 Jan 1996 07:26:04 -0500 Message-Id: <199601011226.HAA09672@acmex.gatech.edu> Subject: 16bit/44khz/GUSMax playback problem To: multimedia@freebsd.org Date: Mon, 1 Jan 1996 07:26:04 -0500 (EST) X-Mailer: ELM [version 2.4 PL24] Content-Type: text Sender: owner-multimedia@freebsd.org Precedence: bulk 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? 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 From owner-freebsd-multimedia Mon Jan 1 12:30:46 1996 Return-Path: owner-multimedia Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id MAA08519 for multimedia-outgoing; Mon, 1 Jan 1996 12:30:46 -0800 (PST) Received: from anvil.gatech.edu (anvil.gatech.edu [130.207.165.41]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id MAA08514 for ; Mon, 1 Jan 1996 12:30:43 -0800 (PST) Received: from acmex.gatech.edu (gt4722a@acmex.gatech.edu [130.207.165.22]) by anvil.gatech.edu (8.6.12/8.6.12) with ESMTP id PAA21704 for ; Mon, 1 Jan 1996 15:30:42 -0500 From: gt4722a@prism.gatech.edu (Brian "AGENT GORDON COLE" Atkins) Received: (gt4722a@localhost) by acmex.gatech.edu (8.6.12/8.6.12) id PAA05876 for multimedia@freebsd.org; Mon, 1 Jan 1996 15:30:41 -0500 Message-Id: <199601012030.PAA05876@acmex.gatech.edu> Subject: Re: 16bit/44khz/GUSMax playback problem To: multimedia@freebsd.org Date: Mon, 1 Jan 1996 15:30:40 -0500 (EST) In-Reply-To: from "FICNAR FRANK G" at Jan 1, 96 11:34:08 am X-Mailer: ELM [version 2.4 PL24] Content-Type: text 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. > You've got to be kidding! There isn't some kind of sound playing program out there that can do this for me? What are you guys using with Netscape for instance to play WAVs? From owner-freebsd-multimedia Mon Jan 1 13:55:41 1996 Return-Path: owner-multimedia Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id NAA12171 for multimedia-outgoing; Mon, 1 Jan 1996 13:55:41 -0800 (PST) Received: from clem.systemsix.com (clem.systemsix.com [198.99.86.131]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id NAA12163 for ; Mon, 1 Jan 1996 13:55:33 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by clem.systemsix.com (8.6.12/8.6.12) with SMTP id OAA04959; Mon, 1 Jan 1996 14:55:13 -0700 Message-Id: <199601012155.OAA04959@clem.systemsix.com> X-Authentication-Warning: clem.systemsix.com: Host localhost didn't use HELO protocol X-Mailer: exmh version 1.6.5 12/11/95 From: Steve Passe To: gt4722a@prism.gatech.edu (Brian "AGENT GORDON COLE" Atkins) cc: multimedia@freebsd.org Subject: Re: 16bit/44khz/GUSMax playback problem In-reply-to: Your message of "Mon, 01 Jan 1996 15:30:40 EST." <199601012030.PAA05876@acmex.gatech.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 01 Jan 1996 14:55:11 -0700 Sender: owner-multimedia@freebsd.org Precedence: bulk Hi, >You've got to be kidding! There isn't some kind of sound playing program >out there that can do this for me? What are you guys using with Netscape >for instance to play WAVs? check out sox: /FreeBSD/ports/audio/sox >From the sox man page: Currently, raw (no header) binary and textual data, IRCAM Sound Files, Sound Blaster, SPARC .AU (w/header), Mac HCOM, PC/DOS .SOU, Sndtool, and Sounder, NeXT .SND, Windows 3.1 RIFF/WAV, Turtle Beach .SMP, CD-R, and Apple/SGI AIFF and 8SVX formats are sup- ported. -- Steve Passe | powered by smp@csn.net | FreeBSD From owner-freebsd-multimedia Mon Jan 1 14:06:48 1996 Return-Path: owner-multimedia Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id OAA12595 for multimedia-outgoing; Mon, 1 Jan 1996 14:06:48 -0800 (PST) Received: from anvil.gatech.edu (anvil.gatech.edu [130.207.165.41]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id OAA12589 for ; Mon, 1 Jan 1996 14:06:45 -0800 (PST) Received: from acmex.gatech.edu (gt4722a@acmex.gatech.edu [130.207.165.22]) by anvil.gatech.edu (8.6.12/8.6.12) with ESMTP id RAA24910 for ; Mon, 1 Jan 1996 17:06:43 -0500 From: gt4722a@prism.gatech.edu (Brian "AGENT GORDON COLE" Atkins) Received: (gt4722a@localhost) by acmex.gatech.edu (8.6.12/8.6.12) id RAA24590 for multimedia@freebsd.org; Mon, 1 Jan 1996 17:06:42 -0500 Message-Id: <199601012206.RAA24590@acmex.gatech.edu> Subject: Re: 16bit/44khz/GUSMax playback problem To: multimedia@freebsd.org Date: Mon, 1 Jan 1996 17:06:41 -0500 (EST) In-Reply-To: <199601012155.OAA04959@clem.systemsix.com> from "Steve Passe" at Jan 1, 96 02:55:11 pm X-Mailer: ELM [version 2.4 PL24] Content-Type: text Sender: owner-multimedia@freebsd.org Precedence: bulk > > Hi, > > >You've got to be kidding! There isn't some kind of sound playing program > >out there that can do this for me? What are you guys using with Netscape > >for instance to play WAVs? > > check out sox: > > /FreeBSD/ports/audio/sox > > From the sox man page: > > Currently, raw (no header) binary > and textual data, IRCAM Sound Files, Sound Blaster, SPARC > .AU (w/header), Mac HCOM, PC/DOS .SOU, Sndtool, and > Sounder, NeXT .SND, Windows 3.1 RIFF/WAV, Turtle Beach > .SMP, CD-R, and Apple/SGI AIFF and 8SVX formats are sup- > ported. > > So you are saying I should convert it to a 8bit,8khz wav or an au file? I don't think I paid the $$$ for the GUS to give in that easily :) From owner-freebsd-multimedia Mon Jan 1 14:49:27 1996 Return-Path: owner-multimedia Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id OAA14166 for multimedia-outgoing; Mon, 1 Jan 1996 14:49:27 -0800 (PST) Received: from clem.systemsix.com (clem.systemsix.com [198.99.86.131]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id OAA14159 for ; Mon, 1 Jan 1996 14:49:14 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by clem.systemsix.com (8.6.12/8.6.12) with SMTP id PAA05506; Mon, 1 Jan 1996 15:48:41 -0700 Message-Id: <199601012248.PAA05506@clem.systemsix.com> X-Authentication-Warning: clem.systemsix.com: Host localhost didn't use HELO protocol X-Mailer: exmh version 1.6.5 12/11/95 From: Steve Passe To: gt4722a@prism.gatech.edu (Brian "AGENT GORDON COLE" Atkins) cc: multimedia@freebsd.org Subject: Re: 16bit/44khz/GUSMax playback problem In-reply-to: Your message of "Mon, 01 Jan 1996 17:06:41 EST." <199601012206.RAA24590@acmex.gatech.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 01 Jan 1996 15:48:40 -0700 Sender: owner-multimedia@freebsd.org Precedence: bulk Hi, > So you are saying I should convert it to a 8bit,8khz wav or an au > file? I don't think I paid the $$$ for the GUS to give in that easily :) check out nas (Network Audio System): AUDIO FILES The audio programming library and utility programs can be used to read and write files in any of the following file formats: Sun/NeXT These files typically have a '.au' or '.snd' exten- sion. They are usually produced by Sun or NeXT workstations. Creative Labs These files typically have a '.voc' extension. They are usually produced by by Soundblaster audio cards on IBM PC compatible computers. Microsoft WAVE These files typically have a '.wav' extension. They are usually produced by IBM PC compatible com- puters. AIFF These files typically have an '.aiff' or '.aif' extension. They are usually produced by SGI work- stations or Apple computers. Amiga IFF/8SVX These files typically have an '.iff' extension. -- Steve Passe | powered by smp@csn.net | FreeBSD From owner-freebsd-multimedia Mon Jan 1 15:04:24 1996 Return-Path: owner-multimedia Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id PAA15308 for multimedia-outgoing; Mon, 1 Jan 1996 15:04:24 -0800 (PST) Received: from anvil.gatech.edu (anvil.gatech.edu [130.207.165.41]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id PAA15285 for ; Mon, 1 Jan 1996 15:04:21 -0800 (PST) Received: from acmex.gatech.edu (gt4722a@acmex.gatech.edu [130.207.165.22]) by anvil.gatech.edu (8.6.12/8.6.12) with ESMTP id SAA26502 for ; Mon, 1 Jan 1996 18:04:14 -0500 From: gt4722a@prism.gatech.edu (Brian "AGENT GORDON COLE" Atkins) Received: (gt4722a@localhost) by acmex.gatech.edu (8.6.12/8.6.12) id SAA04878 for multimedia@freebsd.org; Mon, 1 Jan 1996 18:04:12 -0500 Message-Id: <199601012304.SAA04878@acmex.gatech.edu> Subject: Re: 16bit/44khz/GUSMax playback problem To: multimedia@freebsd.org Date: Mon, 1 Jan 1996 18:04:12 -0500 (EST) In-Reply-To: <199601012248.PAA05506@clem.systemsix.com> from "Steve Passe" at Jan 1, 96 03:48:40 pm X-Mailer: ELM [version 2.4 PL24] Content-Type: text Sender: owner-multimedia@freebsd.org Precedence: bulk > > Hi, > > > So you are saying I should convert it to a 8bit,8khz wav or an au > > file? I don't think I paid the $$$ for the GUS to give in that easily :) > > check out nas (Network Audio System): > [munged] Well according to the server man page, it looks like that is only for /dev/audio...