- #1

- 3

- 0

I'm building an application in which I'm dynamically generating the Sonic Screwdriver sounds, and not interested in using pre recorded sounds on a loop.

With this, I'm trying to figure out the mathematical function used to generate the frequencies. I'm no math pro, but I figure it's got something to do with a sine or cosine pairing over time (something like this:

Variables =

x= min(sin(t), cos(t))

y=max(300+200*cos(t), 300+200*sin(t))

z=max(300+200*cos(t*1.5), 300+200*sin(t*1.7))

Sound Shape

1=tan(t*2)*sin(x*y*600)*abs(sin(t/10))*abs(cos(t/5))

2=abs(sin(t*10))*sin(x*y)

3=sin(sin(z*t*0.1))

But this is generating a sound that's pretty far off the mark of what I'm trying to achieve.

Does anyone have any suggestions, I'm only looking for suggestions which use the math, not for pre recorded sounds.