New posts to the forums are closed for now.
Read more about this decision.
.pwi file
|
3/3/05 3:08am
mitacus |
How can I convert .pwi files, notes with sound recording into .wav? On the desktop computer.
|
|
| ||||||||
| Recent comments
|
|||||||
Werner Ruotsalainen
Moderator
If you can do a bit of programming, it's not that complicated (unfortunately, ActiveSync's conversion doesn't convert PWI files with embedded audio). I've reverse engineered the embedded PWI file structure and found out that it has a very simple, linear structure. The steps of extracting all the WAV files embedded in a PWI file are as follows:
1, look for the Unicode string "VoiceNote.wav" in the file; if there is no (other) occurrence, quit
2, add 0x1032 to the position of the trailing "v" in it; seek to this position in the file
3, read up the size of the note (4 bytes in big-endian format; there's a 0x0055 before it)
4, extract the section starting just after these 4 bytes with the size just read to a separate file
5, go to step 1 for the next embedded audio note
mh385
That is great news. Did you publish it somewhere?
I use a self-made scribble control and would like to use the built-in handwriting recognition. For that I am looking for a way to a) create a PWI file and b) invoke the handwriting recognizer on that file.
Any help appreciated
Werner Ruotsalainen
Moderator
Nope, just posted to some PDA discussion boards.
mh385
It would be great if you could help me with my problem mentioned above (overall goal: to have some scribbled text recognised), for instance, by pointing me to the appropriate postings or mentioning here how to create a PWI that include some pen strokes.
Thanks a lot
Werner Ruotsalainen
Moderator
I haven't reverse engineered THAT part of PWI files; only how the in-line WAV files are stored and how they have to be extracted. Will try to do it when I have some time, but I can't promise anything.
mh385
I searched the web for quite a long time and did not find any way to invoke the PPC-internal recognise method. (Or has anyone managed to do this?)
Without that being possible, you do not need to spend too much effort into the reverse-engineering of the pwi files. Thanks for your help.
Werner Ruotsalainen
Moderator
Now, this problem is solved. Please readhttp://www.smartphonemag.com/forum/topic.asp?TOPIC_ID=16597