MathGroup Archive 2004

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

Search the Archive

Re: Appropriate codec for playing Mathematica generated .wav files

Winamp, Windows Media Player, RealOne Player, and Opera all can play this file:

s = Play[Sin[440Pi t], {t, 0, 1}]
Export["s.wav", s]

Winamp and Mathematica play this one as dead silence, the Media Player gives an "unknown error" message, and RealOne Player plays it as a series of noises I can't describe (which may be correct):

s = Play[{1/2, 1/2, 1/2, 1/2, 1/2}, {t, 1, Floor[84/8]}, SampleRate ->
      22050, PlayRange -> All]
Export["s.wav", s]

Therefore, "what wav player and codec would play wav files exported from Mathematica" may be the wrong question, since the problem depends on what you're playing. (That doesn't surprise me.)

If it IS the right question, on the other hand, then RealOne Player may be the answer.

I hope that helps.


  • Prev by Date: Re: function IF with several equality conditions
  • Next by Date: Re: Accuracy problem in Mathematica
  • Previous by thread: Re: Re: Union - simple question
  • Next by thread: RE: Re: Appropriate codec for playing Mathematica generated .wav files