MathGroup Archive 2004

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

Search the Archive

Re: Appropriate codec for playing Mathematica generated .wav files

  • To: mathgroup at smc.vnet.net
  • Subject: [mg49099] Re: [mg49047] Appropriate codec for playing Mathematica generated .wav files
  • From: DrBob <drbob at bigfoot.com>
  • Date: Thu, 1 Jul 2004 05:25:48 -0400 (EDT)
  • Organization: Deep Space Engineering Corps
  • References: <200406290850.EAA18818@smc.vnet.net> <opsac87zkpiz9bcq@holycow.cox-internet.com> <20040629194536.Y3627@agora.rdrop.com> <opsad2r4iyiz9bcq@holycow.cox-internet.com> <20040629214007.W26039@agora.rdrop.com> <opsad45t06iz9bcq@holycow.cox-internet.com> <20040629215817.B29492@agora.rdrop.com>
  • Sender: owner-wri-mathgroup at wolfram.com

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.

Bobby


  • 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