Overlapping sounds
- To: mathgroup at smc.vnet.net
- Subject: [mg34193] Overlapping sounds
- From: Goyder Dr HGD <H.Goyder at rmcs.cranfield.ac.uk>
- Date: Thu, 9 May 2002 05:15:54 -0400 (EDT)
- Sender: owner-wri-mathgroup at wolfram.com
The following plays a swept sine wave repeating it 5 times.
vals = {f0 -> 1000, tt -> 5};
f = 2 Pi (f0 t - f0 t^2 /(2 tt)) /. vals;
Do[Play[Sin[f], {t, 0, tt /. vals}], {5}]
However, the first four sounds are not completed but are truncated with the
next repeat starting early.
Why? How do I get each sound completed before the next starts?
In[16]:=
$Version[]
Out[16]=
4.1 for Microsoft Windows (June 13, 2001)[]
Hugh Goyder