Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2010

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

Search the Archive

Re: Using MapAt with Play

  • To: mathgroup at smc.vnet.net
  • Subject: [mg113876] Re: Using MapAt with Play
  • From: BenT <brtubb at pdmusic.org>
  • Date: Wed, 17 Nov 2010 05:26:49 -0500 (EST)
  • References: <ibr391$8vi$1@smc.vnet.net> <ibtku8$5gt$1@smc.vnet.net>

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