Doctor Who Sonic Screwdriver Question

  • Thread starter Thread starter universalbri
  • Start date Start date
  • Tags Tags
    Doctor
Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
1 reply · 3K views
universalbri
Messages
3
Reaction score
0
Hello.

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.
 
Physics news on Phys.org
The sound is made up of many frequencies, with sharp, rapid beats, and a lazy varying amplitude. Ie., try a waveform like this: Sin[30*2 Pi*t]*(0.5 Sin[2*2*Pi*t] + 2)*Sin[4100*2*Pi*t + Sin[4070*2*Pi*t]] where t is measured in seconds.
 
Last edited: