MathGroup Archive 2000

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Unix Sound Problems

  • To: mathgroup at
  • Subject: [mg24132] Re: Unix Sound Problems
  • From: "P.J. Hinton" <paulh at>
  • Date: Wed, 28 Jun 2000 02:11:50 -0400 (EDT)
  • Organization: "Wolfram Research, Inc."
  • References: <8j9dmo$> <>
  • Sender: owner-wri-mathgroup at

On Tue, 27 Jun 2000, P.J. Hinton wrote:

This is a correction to this code snippet in my prior posting:

> mySound[snd_Sound] := 
>   Module[
>     {tmpnam = Close[OpenTemporary[]]},
>     Export[tmpnam, sound, "WAV"];
>     Run["/usr/bin/mme/decsound -play", tmpnam];
>     DeleteFile[tmpnam];
>     Return[snd]
>   ]

The second argument to export should be snd, not sound.

mySound[snd_Sound] :=
    {tmpnam = Close[OpenTemporary[]]},
    Export[tmpnam, snd, "WAV"];
    Run["/usr/bin/mme/decsound -play", tmpnam];

I apologize for the confusion.

P.J. Hinton
Mathematica Programming Group           paulh at
Wolfram Research, Inc.

  • Prev by Date: AIX 4.3 Mathematica MathKernel Out of Memory
  • Next by Date: I'm lacking machine-sized real numbers again, help please.
  • Previous by thread: Unix Sound Problems
  • Next by thread: Re: Unix Sound Problems