View License

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video

Highlights from
WSOLA sound Time Scaling

2.0 | 2 ratings Rate this file 10 Downloads (last 30 days) File Size: 2.28 KB File ID: #42831 Version: 1.1
image thumbnail

WSOLA sound Time Scaling



25 Jul 2013 (Updated )

WSOLA Algorithm implementation for time scaling(streching/compressing) in the time domain.

| Watch this File

File Information

Implements the algorithm described in the paper by Werner VERHELST and Marc ROELANDS "AN OVERLAP-ADD TECHNIQUE BASED ON WAVEFORM SIMILARITY (WSOLA)

* Recursive for scale factors too large or too small for a single pass.
* Implements both cross-correlation and AMDF similarity

Required Products MATLAB
MATLAB release MATLAB 7.13 (R2011b)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (2)
12 Nov 2016 Guillermo Ortiz Jimenez

12 Aug 2014 Thomas Clark

Nice to have a decent reference to back this up.
As far as I can tell at the moment, the code itself seems fine, so thanks for your efforts.

However, it's be difficult to use this out of the box for a general application - it's really just a case of needing a tidy up to become a very useful and generally applicable function, though.

I have two main issues:
1. lack of documentation - inputs are only roughly described rather than defined, no syntax, no help examples, no versioning etc etc.

2. I'm concerned about lack of generality caused by use of hard coded constants. Especially things like win_time, overlap_ratio, max_err which depend on programmer defined constants that I'm fairly sure require tuning for different applications. The fact that these aren't well defined in the comments doesn't make it that easy to infer the impact these values have without decent understanding of the method.

Example (admittedly a little extreme): I'm using this method to resample a time series of data sampled at 1Hz. A hanning window size of 0.02s isn't appropriate so I'm having to rewrite the input parsing totally.

29 Jul 2013 1.1

Added recursion, amdf and a screenshot

Contact us