Hi. I did this a few years ago to convert some old files created with Wavesurfer. I've just checked that the patch applies. It's also in a branch on github, here: https://github.com/jimregan/sox-nsp/tree/nsp-flat