psychwavwrite - Replacement for wavwrite().
Replaces the Matlab wavwrite() function, which was removed
in Matlab R2015b, by the audiowrite() function, which was
introduced in R2012b, to provide basic sanity to the mess
that is Matlab’s way of (not) dealing with “backwards
This is a least common denominator implementation of
what both wavwrite() and audiowrite() support in a
compatible fashion. See the help of either one for