Allright, I don't have one, but I'll try to explain what I understood (HiMD tapers, feel free to correct me ..). With HiMD, you must use Sonic Stage (from Sony) to download/upload files. But it uses a proprietary file format (omg/oma) that can't be used outside of Sonic Stage. Sony is supposed to provide a patch to let users export files recorded analog. But they haven't released anything yet. One guy has found how to export 1 mn chunk in wav(PCM). Unfortunately, Sony filters API doesn't let you export more (or no one outside Sony knows how it can be done). So this piece of code is exporting small chunks, and trying to do some pattern matching to merge everything into one piece.
But that the first time it's possible to export PCM with HiMD from USB (analog in - digi out). I don't known it it can let export a file recorded digitally, but maybe some HiMD users can experiment with this.
Note:Be sure to have the latest Sonic Stage 2.1 (
www.connect.com/download.html) in the first place before trying.