1st: it was pointed out that my program does not support space characters in the file name. Although I don't consider this much of an issue, and I didn't think there was an easy solution, I looked into it and discovered that indeed you should be able to do this in Windows by enclosing the name if quotes. But my program was sill removing all the space characters, which was a small thing I did before I realised it could cause an issue. So I've amended it to now accept space characters.
2nd: I've since learned that Wave type 1 is only mean't to be used for Bit Depths of 8 & 16 (and no more than 2 channels). Other wave files should normally use wave type extensible. This is only really an issue if you are using a bit depth of 24, (which should be overkill for cassette tapes). However I decided to add support for Wave Type Extensible. When reading, it can now accept either type 1 or type extensible. When writing it will use type 1 for bit depths of 8 & 16 and extensible for a bitdepth of 24.
Another thing. I discovered that some programs such as Audacity put some extra stuff such a file tags at the end of the wave file. My previous version reguared this as in correct, but now I have changed it to ignore this extra data.
Last edit: Richard Evans 2018-04-03
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
1st: it was pointed out that my program does not support space characters in the file name. Although I don't consider this much of an issue, and I didn't think there was an easy solution, I looked into it and discovered that indeed you should be able to do this in Windows by enclosing the name if quotes. But my program was sill removing all the space characters, which was a small thing I did before I realised it could cause an issue. So I've amended it to now accept space characters.
2nd: I've since learned that Wave type 1 is only mean't to be used for Bit Depths of 8 & 16 (and no more than 2 channels). Other wave files should normally use wave type extensible. This is only really an issue if you are using a bit depth of 24, (which should be overkill for cassette tapes). However I decided to add support for Wave Type Extensible. When reading, it can now accept either type 1 or type extensible. When writing it will use type 1 for bit depths of 8 & 16 and extensible for a bitdepth of 24.
Another thing. I discovered that some programs such as Audacity put some extra stuff such a file tags at the end of the wave file. My previous version reguared this as in correct, but now I have changed it to ignore this extra data.
Last edit: Richard Evans 2018-04-03