View Single Post
Old 07-04-2019, 04:14 AM   #4
Xenakios
Human being with feelings
 
Xenakios's Avatar
 
Join Date: Feb 2007
Location: Oulu, Finland
Posts: 7,927
Default

Quote:
Originally Posted by Garm View Post
For example, I have input audio signal. With this knob I want to change pitch of this signal (create audio higher or lower). As I understand, it will be with speed changing.
Real time pitch change of audio is one of the most complicated things to do in audio DSP. There is the simple_pitchshift.h in the WDL folder of IPlug that has the WDL_SimplePitchShifter class, but that is very simple and low quality. If you want better results, you will need to use some 3rd party library or write your own DSP code.

Plain speed changing (by resampling) isn't generally speaking going to work, plugins can't request and output arbitrary amounts of audio samples from/to the host.
__________________
For info on SWS Reaper extension plugin (including Xenakios' previous extension/actions) :
http://www.sws-extension.org/
https://github.com/Jeff0S/sws
--
Xenakios blog (about HourGlass, Paul(X)Stretch and λ) :
http://xenakios.wordpress.com/
Xenakios is online now   Reply With Quote