开发者

Signal Processing Algorithm Psola or Wsola in Delphi

I'm trying a long-time to find algorithm PSOLA (Pitch Synchronous Overlap Add) or WSOLA (Waveform Similarity Overlap Add) which are Acoustic or Signal Processing Algorithms.

I found it in c++, but I have no experience in c++ and is difficult to pass it to Pascal. Anyone have this code in Pascal or know where to fi开发者_如何学运维nd it to copy?

Something like this example that is in c++ http://sourceforge.net/projects/mffmtimescale/files/v3%20stable/v3.9/WSOLA.v.3.9.zip/download?use_mirror=ufpr


Try the SoundTouch DLL, it comes with a Delphi import unit, so you can use the DLL directly. It should not be too hard to compile it. Just download the free VC++ Express from the MS download site and compile it with that or ask someone with VC++ to compile it for you.

FWIW, who knows, with a few modifications, it might also compile with C++Builder.


About one decade ago, I've used praat in FSeqEdit (Delphi program) to do these type of calculations, but I think the same approach would still work fine today.

I wrote some praat-scripts and execute them via praatcons.exe (console version of praat). You can download the console version from this page: http://www.fon.hum.uva.nl/praat/download_win.html

That works pretty good.

I usually take this approach: I manually check what type of conversions and calculations need to be done via the GUI version of praat. Once I find what I need, I create a script for it, and run that with the console version.

Praat is very powerful, so if you didn't know about it yet, make sure to check it out.

There's a page that shows how to work with PSOLA resynthesis here: http://www.ling.ohio-state.edu/~kyoon/praat-tut/praat-tut2.html

Let me know if you want to see some example code on how to integrate it into your Delphi application (it's pretty straightforward actually).

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜