The MATLAB function wavplay was deprecated starting from R2012b and removed in R2014a. In order to preserve backwards compatibility with files written in older versions of MATLAB, this file reintroduces said function so that no code has to be modified.
Note that wavplay(x, Fs) is the only allowed set of arguments. The code is quite trivial, so it can be amended easily if you would like to support more functionality.
Basile Van Hoorick (2020). wavplay (https://www.mathworks.com/matlabcentral/fileexchange/71798-wavplay), MATLAB Central File Exchange. Retrieved .