From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96078617110182.tru64-unix-managers.marc@archive.invalid> From: Paul Tyler Date: Tue, 02 Sep 1997 06:48:35 +0000 To: tru64-unix-managers Subject: Problem with audioplay under DU 4.0B X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96078617110182 Hi everyone. Has anyone else had problems with piping into audioplay under DU 4.0B (with patch kit 4 installed)? We have recently purchased new machines and some of our scripts piped pcm directly into stdin of audioplay. These worked under DU 3.2D, however we now get a "PARSE ERROR" from audioplay under DU 4.0B. Basically the problem appears to be a bug in the audioplay supplied with DU 4.0B, thought the problem may be with patch kit 4. The command "audioplay -filename dog-howl.wav" works, but the command "cat dog-howl.wav | audioplay -filename -" does not. Does anyone know of a patch available for this? (An example of the error is shown below.) I have digital on the problem now but they aren't particularly quick about it so I thought I'd try here also. :-) Paul ========== pct : lister> cat dog-howl.wav | audioplay -filename - PARSE ERROR: Missing value -filename - usage: audioplay -filename filename [-device #] [-channels #] [-bitspersample #] [-rate #] [-encoding format] [-numbuffers #] [-sizebuffers #] [-msbuffers #] [-verbose] [-help] -filename audio file to play [tempfile.wav] -device output device number [search all] -channels number of channels (1=mono; 2=stereo) [1] -bitspersample bits per sample [8] -rate samples per second [8000] -encoding audio encoding format [mulaw] Where valid value is one of: mulaw = mulaw format pcm = PCM format adpcm = ADPCM format (IMA) -numbuffers number of buffers [4] -sizebuffers buffer size in bytes [size dependent on msbuffers value] -msbuffers buffer size in milliseconds [250] -verbose print various status messages -help display help information and exit ========= -- Paul Tyler | Phone. +61 2 9717 3576 | DISCLAIMER: The views expressed in ANSTO | Fax. +61 2 9717 3257 | this E-mail message do not PMB 1 MENAI 2234 | Email. pct@ansto.gov.au | necessarily represent the official AUSTRALIA | | views of ANSTO