So I’ve been trying to create a blind simulator in the Unity Game Engine.
I’m trying to embed two outputs based on proximity detection:
Auditory
Haptic
Currently implemented is the auditory output which dynamically shifts in pitch based on how close/far of a distance to an object the blind stick is.
I’m now trying to implement the haptic sound using a low hertz tone made from sinewaves. However the trouble I’m having is changing the tempo without it affecting the speed. I know it is possible to do this in audacity but when I’ve tried using audacity and applying its results into Unity its gone a little messy, hence why I’m attempting to do it now through Unity. I was wondering if anyone was able to explain the science / formula behind changing speed/tempo of an audio file without the pitch behind affected so I can draft of a code version that I can apply to Unity?