Old 10-30-2008, 01:04 AM   #1
puusormi
Human being with feelings
 
Join Date: Oct 2008
Posts: 7
Default Interface to elastique?

Hello, I'm working on a plugin that needs to do pitch-shifting and/or timestreching. Is there header file describing the interface for elastique dlls?
puusormi is offline   Reply With Quote
Old 10-30-2008, 01:25 AM   #2
Xenakios
Human being with feelings
 
Xenakios's Avatar
 
Join Date: Feb 2007
Location: Oulu, Finland
Posts: 7,913
Default

First consider that naturally elastique will only work from a plugin hosted by Reaper. Reaper doesn't provide elastique dll's that could be utilized from another host application. (As that would probably be against the license deal Cockos has done with zplane.)

It works from Reaper extension plugins, I am actually just now doing code that utilises the resampling/pitch shifting facilities of Reaper (including elastique). It may work from VST plugins that are running in Reaper too (as would be indicated by ReaPitch and Reatune) but I don't know enough about the VST things to give any advice on that.

The pitch shifter interface is given in the Reaper extension SDK file "reaper_plugin.h" in the class IReaperPitchShift...You can obtain pitch shift/time stretch processing from all the modes supported by Reaper from that : elastique, Dirac Free, SoundTouch, low quality windowed...

The exact procedures to get the processing working are a bit fiddly, I might give the source code to do that when I am reasonably certain I am doing it correctly. (While it does run now without crashes etc, it may still contain some undetected bugs and mistakes of course...)

edit : Well, here it is in it's current form (you will of course need lot's of other code to make an actual plugin):

https://stash.reaper.fm/2005/PitchShiftFunc1.txt

Take it with a grain of salt, it may or may not work and/or be sensible.
__________________
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/

Last edited by Xenakios; 10-30-2008 at 01:41 AM.
Xenakios is online now   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 04:32 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2019, vBulletin Solutions Inc.