MathGroup Archive 1997

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

Search the Archive

Stereo Sound

  • To: mathgroup at smc.vnet.net
  • Subject: [mg6127] Stereo Sound
  • From: hanson at physics.auburn.edu (James D Hanson)
  • Date: Fri, 21 Feb 1997 23:47:08 -0500
  • Organization: Auburn University Physics
  • Sender: owner-wri-mathgroup at wolfram.com

In the MMa 3.0 book, it says, in Appendix A under Play,

"Play[{f1,f2},{t,tmin,tmax}] produces stereo
 sound. The left hand channel is given first."

When I do 

Play[{Sin[2Pi 240 t],-Sin[2Pi 240 t]}, {t,0,1}, PlayRange -> {-2.,2.}]

I would expect to hear a pure tone out of each speaker. Instead, I hear nothing.
It appears that Mma is adding the two functions, and then sending the sum
to both speakers.

Also, in the front end it makes a little plot of the waveform, and the
plot show a completely flat line with this command.

Standard monaural sound examples from the Mma book work just fine.

Is this a bug? Am I missing something? Any help would be greatly appreciated.


By the way, I posted a similar message about a month ago, and received no
replies. It was around the time that this newsgroup was a bit flakey, so
perhaps most folks missed it.

I am running Mma 3.0 on a Power Macintosh 7500/100, with System 7.5.3. 
I have two (cheap) speakers attached to the stereo miniplug.
With the Monitors and Sound (version 1.1) control panel I can get
significantly different volumes on the two speakers with the
Sound Out Balance slider.

Thanks in advance.

-- 
James D. Hanson                          ph. (334) 844-5044
Department of Physics                    fax (334) 844-4613
206 Allison Laboratory
Auburn University, AL 36849-5311         hanson at physics.auburn.edu


  • Prev by Date: Version of Mathematica
  • Next by Date: Re: selecting from lists
  • Previous by thread: Re: Version of Mathematica
  • Next by thread: Re: selecting from lists