The read mode is probably my typo. Need to check that.
I don't like file names with spaces, either. They can screw up all kinds of things. 8-]
The program has a 'trap' to prevent out-of-range choices, so that may need a tweak.
The 'wandf_flex' version should work at any rate up to and inc 96k. Also 16 as well as 24 bit. I did put the code up for that, but as yet only done the RO version of it. You should be able to apply the same changes to that as Nick did for the earlier version.
However note that it still *only* understands the plain 44-byte headers. FWIW I always use my 'WAV_Cleaner' programs to remove other metadata as it saves me having to add the same extended header handling to every program when I'm just using them on test/measurement files.
All being well, I'll make the first 'general' RISC OS app version public on my webpages later today. I've just finished writing some better documentation explaining how it worlks. Also added some style files for the RO "!Tau" graph plotter so people can visualise the results as object-based plots. I'll then set about doing the Linux version to go there. Both will have the current source code, and anyone is welcome to use/modify/improve/port it as they wish.
I'll probably initially do a plain ROX Linux version that generates the same CSV file output. But at some point I'll add 'vesuz' plotter output so the user can look at the graphics, etc.
Jim