MathGroup Archive 2010

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

Search the Archive

Re: Using MapAt with Play


After a "debugging session" <g> in which I used

ClearAll["Global`*]

And then this code, everything now works as intended!

p = {440, 550, 660, 770, 880};

Sound[
 Play[Sin[# t 2 Pi] + Sin[(# + 1) t 2 Pi], {t, 0, .5},
    SampleRate -> 44100, SampleDepth -> 16] & /@ p
 ]

Now I get the five consecutively played "doubled" chorused sound I
want.


  • Prev by Date: Re: Using MapAt with Play
  • Next by Date: does NDSolve have an option equivalent to StoppingTest-> ?
  • Previous by thread: Re: Using MapAt with Play
  • Next by thread: Re: Using MapAt with Play