Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Audio without changes in pitch [closed]

I'm trying to find a library or sample code or something in the right direction that could help me change the speed of audio while maintaining normal pitch. I need this functionality in an open source application, so preferably the library is open source itself. Any ideas to get me on the right track?

like image 777
silow Avatar asked Mar 25 '26 06:03

silow


1 Answers

If you need to convey a signal in the audio domain, playing on time but not in pitch: You have to know what your signal is composed of. So as to synthesitize the good frequency when its worth.

1/ You have all the parameters known, like in analogic synthesizing, you know you want to synthetize one note, so you tune all the Oscillators frequencies you can to this value: I guess this not what you can do, any virtual/virtual analog synth can do this on your demand.

2/ you have a source sound ou want to control You have to decompose it in items you can control to futhfill your harmonic constraint, in time and rhythmical constraints: 3 solutions.

a. FFT, fast fourrier transform, giving you the amount of power on all harmonics of your source sound, and up to you to enlarge the time scale of some harmonics or another ( really cook recipes, but really worth the expreriment)

b. Wavelet, close to FFT, but focussing on harmonic details whenever they happen, and how precise they happen. (imagine its like FFT optimizing on some meaningfull frequencies at each time)

c. Granular Synthesis, i think it is the easiest: it perfroms windows, (applying sort of Gauss Normal law to each time fragment of sound), like clouds of windows over your original sound, decoupling it in numerous parts, totally manageable on their pitch and duration (the speed and period of the window applied on the sound)

There maybe be a lot of other techniques but I am not aware of.

like image 94
Stephane Rolland Avatar answered Mar 27 '26 22:03

Stephane Rolland



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!