timing with Play
- To: mathgroup at smc.vnet.net
- Subject: [mg36789] timing with Play
- From: Erich Neuwirth <erich.neuwirth at univie.ac.at>
- Date: Wed, 25 Sep 2002 01:51:28 -0400 (EDT)
- Sender: owner-wri-mathgroup at wolfram.com
PlayTone[F_, dur_] := Play[Sin[2*Pi*F*t], {t, 0, dur}] allows me to play a sine wave of frequency F and duration dur PlaySeq[L_, dur_] := Do[PlayTone[L[[i]], dur], {i, Length[L]}] should allow me to play a sequence of tones with a given list of frequencies L and all the same duration dur. It does not work at least in 4.1 all tones but the last one are much shorter than dur. any help? -- -- Erich Neuwirth, Computer Supported Didactics Working Group Visit our SunSITE at http://sunsite.univie.ac.at Phone: +43-1-4277-38624 Fax: +43-1-4277-9386
- Follow-Ups:
- Re: timing with Play
- From: Murray Eisenberg <murraye@attbi.com>
- Re: timing with Play