[General] Sound: Pitch Formula

Status
Not open for further replies.
I'm to know curious if anyone knows a formula to find the length of a sound with a modified pitch.

For example:

Sound 1
Duration: 1:30
Pitch: 0.70

When the pitch is edited the duration of the sound changes, however it does not show the new duration. I am here to ask for just some way of finding the new length of a sound after it's pitch has been modified.
 
Higher pitch means faster. Lower pitchs means slower.

If pitch > 1 then divide.

Duration 1:30 = 90 seconds
Pitch 1.5
90 / 1.5 = 60 = 1:00

If pitch < 1 then multiply by pitch + 1

Duration 1:30 = 90 seconds
Pitch 0.5 (0.5 + 1 = 1.5)
= 90 * 1.5 = 135 = 2:15
 
Status
Not open for further replies.
Back
Top