Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
1999
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 1999

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

Search the Archive

Re: Linux sound output

  • To: mathgroup at smc.vnet.net
  • Subject: [mg19266] Re: Linux sound output
  • From: Phil Mendelsohn <mend0070 at tc.umn.edu>
  • Date: Thu, 12 Aug 1999 01:24:22 -0400
  • Organization: University of Minnesota, Twin Cities Campus
  • Sender: owner-wri-mathgroup at wolfram.com

"P.J. Hinton" wrote:

> Unfortunately, none of the X Window-based front ends on any of the
> Unix platforms support the playing of sound.

Well, thanks for putting that to bed.
 
> Fortunately, you can change some settings in the kernel so that
> you can have it play the sound every time you invoke Show[] on
> a Sound object.

That'll work!

> A couple of years ago, Bernd Pfitzinger wrote a clever
> little Perl script to translate the MPS expression created by
> Display into WAV format so that it can be piped to a command-line
> player tool.

<SNIP>

> @sample=split(" ",<STDIN>);
> #print "sample rate $sample[0] sample depth(bits) $sample[2]\n";
> #print "Currently only 8 bit sample depth is working\n";

Some brief questions about this:

I wish to do DSP where the processing resolution is greater than
16-bits.  I realize that proper dithering to the output resolution is
best handled by a dither function.  However, this script says that only
8-bit resolution is working; that is not sufficient for my purposes.

Is there a contact for Mr. Pfitzinger to see if he ever moved up the
resolution of samples?
Is there a limitation on the MPS output?  (I take it that's Mx
PostScript)
Where can I find a copy of the MPS spec and what Mathematica implements
from it?
Any other ways of exporting WAV files?
Any suggestions on exporting WAV files of greater than 16-bit
resolution?  How practical would it be to write other sound format data
files using Mathematica directly?

Thank you!

Phil Mendelsohn


  • Prev by Date: Error ID=-109?
  • Next by Date: Re: Lists to mask other lists
  • Previous by thread: Re: Linux sound output
  • Next by thread: Re: Linux sound output