Hi Klaus,
- Because of the way the B4PPC recorder dlls are made now, I seem to be stuck to 11025 samples/second only.
- I take 4096 subsequent bytes out of a (mono) WAVE file, double for stereo of course, and reject 1 byte every 2 bytes to get a mono file.
- Your accuracy figures are correct, I came to the same conclusion, studying the FFTs I made with Excel. In fact, there is about 80 rpm between 2 frequencies, meaning any final result that is theoretically somewhere in between this 80 RPM interval, would have "jumped" to the most close-by value, so I was thinking the deviation would be +/- 40 RPM at most ? And this is close enough for my application. Barely, but still OK.
- The update frequency is of no real importance, as it is no real-time tachometer. This is not of much use with RC helis. And it makes things easier for me. The user has to make the short recording in the app, and only after that, the file is analyzed by my app. But the total time of this should stay within a few seconds, to keep it user-friendly. A new reading needs a new recording, initiated by the user.
- the wave file length I need now is indeed 0.372 seconds, but I use a longer sample, to avoid the "dead and silent" period (7760 bytes) that I see in
the beginning of the file when recording on my PDA.
I will try soon with a sample of 16384 bytes (2^14), being a 4 times longer sample of course. I estimated the accuracy to improve equally by a factor 4,
resulting in a 20 RPM interval, or +/- 10 RPM if my above way of thinking would be true.
I fail to understand your words about taking one sample out of 4, there might be something I don't get there ?
Best regards,
Raf
This draft of a simple user interface gives you the idea: