I am wanting to read spark plug pulses so i can calculate rpm (and then add
in accelration measured by a g sensor).

The easiest way of doing this is via the microphone jack.  Then I can find
the peaks and do something with the information.  I could just record
everything into a buffer and look for the peaks in semi real time but I need
to be able to syncronise the data with other infomation (eg G sensor).

How often I need to sample (and what the best process is) is something that
will require experimentation.

All help gratefully appreciated.

Sean

> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
> Behalf Of Alistair George
> Sent: Thursday, 23 September 1999 08:24
> To: Multiple recipients of list delphi
> Subject: [DUG]: Sampling sound
>
>
> > does anyone have any ideas/pointers on sampling sound.  I don't want to
> > actually record sound, rather I want to get samples 100-200
> times a second
> > and then act on them immediately.
> Depends a bit on what you want to do.
> If you want the peaks I think the term is quantasize or similar.
> There is a
> WAV file 'normalizer' which is freeware which works on reducing or
> increasing the overall level of the parsed WAV file for
> consistent recording
> levels. I am seeking the source code for this and if thats what you are
> after let me know off the list.
> Otherwise, if you want to look at millisecond 'frames' thats
> another story.
> There are several audio codes which demonstrate that as in VU
> meters. If you
> need ask me and I will send to you.
> Alistair+
>
> ------------------------------------------------------------------
> ---------
>     New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
>                   Website: http://www.delphi.org.nz
>

---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz

Reply via email to