Re: More accurate Timerevent
- From: Jamie <jamie_ka1lpa_not_valid_after_ka1lpa_@xxxxxxxxxxx>
- Date: Sun, 19 Nov 2006 18:56:24 -0500
Gert Baars wrote:
When Timer interval gets below 200 (millisec)no, its not.
the timer event becomes increasingly inacurate.
My application requires 20 mS accurate (50 Hz sampling rate for FFT)
timer events. Is this somehow possible (Delphi 7).
I prefere to avoid a thread.
i don't know what you're doing but, you will need some sort of
interface card that will buffer incoming readings. When your app
gets time to check it, it will have data waiting for you.
If you're sampling audio level data, then use the sound card and
use the PCM bits for the timing. Use Event driven messages to
signal your app that data is waiting for you.
With a device like a sound card, you don't need to do what you're
doing.
FFT requires a chuck of PCM bits, simply sample a chuck, apply a
DFT to it. pick out the data you need. Mean while, you can use the
PCM bits as your event timing.
etc..
if your doing this with an outboard device ? good luck.
--
"I'm never wrong, once i thought i was, but was mistaken"
Real Programmers Do things like this.
http://webpages.charter.net/jamie_5
.
- References:
- More accurate Timerevent
- From: Gert Baars
- More accurate Timerevent
- Prev by Date: More accurate Timerevent
- Next by Date: Re: More accurate Timerevent
- Previous by thread: More accurate Timerevent
- Next by thread: Re: More accurate Timerevent
- Index(es):
Relevant Pages
|