| Author |
Comment/Response |
Ziv
|
10/06/10 4:47pm
I have the following Mathematica code:
wave[n_,t_] := Sin[k(b^n)t]
Play[wave[t,t] + wave[Floor[t],t], {t,0,6}]
When I play back the sound, the smooth line (wave[t,t]) rises faster than the stepwise one (wave[Floor[t],t]). This is even true when t is an integer. Is there an explanation, either mathematical or to do with Mathematica itself?
Note: k is 880pi and b is the 12th root of 2 so that wave[0,t] is the note A, wave[1,t] is Bb, etc., but I've had the same occurrence with other constants.
URL: , |
|