MathGroup Archive 2004

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

Search the Archive

Re: Playing multiple sounds in sequence

  • To: mathgroup at smc.vnet.net
  • Subject: [mg46781] Re: [mg46775] Playing multiple sounds in sequence
  • From: Oleksandr Pavlyk <pavlyk at phys.psu.edu>
  • Date: Mon, 8 Mar 2004 04:10:16 -0500 (EST)
  • Organization: Penn State University; Department of Physics
  • References: <200403070633.BAA24105@smc.vnet.net>
  • Reply-to: pavlyk at phys.psu.edu
  • Sender: owner-wri-mathgroup at wolfram.com

Erich,

I can not understand what you refer to as 'this' in the last
sentence.

I assume you would like to play a sound which is a mixture
of 13 monochromatic chanes. Then, you use

Play[
   Evaluate@Flatten@Table[ Sin[2*Pi*440*2^{i/12}*t], {i, 0, 12} ],
   {t,  0, 1}
]

Regards,
Sasha

Erich Neuwirth wrote:
> Entering
> Table[Play[Sin[2*Pi*440*2^(i/12)*t], {t, 0, 1}], {i, 0, 12}]
> plays a chromatic scale,
> but some things are somewhat inconvenient.
> 13 graphics pop up and use a lot of screen estate.
> Also, Mathematica starts playing the tones immediately
> when they are rendered. Since renedring is faster than playing,
> the first tone is cut off and the second tone starts playing too early.
> 
> I would like collapsed output, at most one graph,
> and preferrably only in a ery small size so i till get the clickable
> sound symbol in the outline region so I can play the whole scale
> without rerendering.
> 
> How can this be done?


  • Prev by Date: Differences in Random Numbers
  • Next by Date: Re: Mathematica to Word
  • Previous by thread: Playing multiple sounds in sequence
  • Next by thread: Re: Playing multiple sounds in sequence