Updated version of Robert Humphrey's Playrec Multi-channel Matlab Audio Function