HI all,
Let me explain the scenario first of all.
I have a remote river level gauge installed with a gsm phone.
At the moment, basically it collects river level data every 15 minutes.
Any person can ring the phone at the river and count the "beeps" to tell the current river level, i.e. 1 beep = 10cm and 5 beeps = 50cm etc
Basically I want to set up a system where my home server using VOIP software rings the river phone and
1. records the call to a wav file for later processing (this part is easily done with WinPcap) I have managed to carry this part out.
2. Analyse the wav file to count the "beeps"
3. Graph the data on the web for other users so that battery life of the reote gauge will be extended.
I can also do this with jpgraph without problems.
So as you can see, my problem is with number 2 above and how to count the "beeps" either real time or in the saved wav file?
Can this be acheived in PHP or will I have to go to C?
As I am a beginner at programming, some indication of code or pointers in the right direction are much appreciated.
Thanks
Fergal
Start Free Trial