1
votes

I like to find the envelope of an audio signal using matlab, i.e. the red signal in the picture. I have implemented a max-filter but the implementation is very slow. Does matlab have a built in max-filter or some other function that can calculate the envelope? (I have found a median filter but no max-filter)

max-filter applied to an audio signal

1

1 Answers

3
votes

There is no built-in max filter, but there are user generated functions at the MATLAB File Exchange. For example:

http://www.mathworks.com/matlabcentral/fileexchange/24902-envelope