[LAU] measuring frequencies and then doing something....

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: linux-audio-user <Linux-audio-user@...>
Date: Monday, March 29, 2010 - 2:28 am

--001636e0a7f577f3cb0482e743fd
Content-Type: text/plain; charset=ISO-8859-1

Here's one for ya.

I'd like to have a program which "checks" for a certain frequency every 20
minutes or so while I'm not in the room.

If this frequency happens (and my microphone picks it up, of course)
something happens,

I'm thinking something web-like.

The function below sucks and I'm aware of that.

Just fishing for any ideas.

Thanks, amigos!

-Aaron

$curr_frequency(){
wicked function which listens to the mic every 20 minutes
}

$frequency = '';
if ($time >= 1200000 ) { //20 minutes
curr_frequency (&$curr_frequency, $time);
return $frequency;
};
if ($frequency == '2500hz') //maybe make this a range {
do something neato;
}

}

--001636e0a7f577f3cb0482e743fd
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

Here's one for ya.I'd like to have a program which "ch=
ecks" for a certain frequency every 20 minutes or so while I'm not=
in the room.If this frequency happens (and my microphone picks it =
up, of course) something happens,
I'm thinking something web-like.The function below sucks an=
d I'm aware of that.Just fishing for any ideas.Thanks, =
amigos!-Aaron$curr_frequency(){=A0=A0=A0 wicked fun=
ction which listens to the mic every 20 minutes
}$frequency =3D '';if ($time >=3D 1200000 )=A0 {=A0 =
//20 minutes=A0 curr_frequency (&$curr_frequency, $time);=A0 re=
turn $frequency;}; =A0=A0=A0=A0=A0=A0=A0 if ($frequency =3D=3D &#39=
;2500hz')=A0 //maybe make this a range {
=A0=A0=A0=A0=A0=A0 do something neato;=A0 }}

--001636e0a7f577f3cb0482e743fd--

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[LAU] measuring frequencies and then doing something...., Aaron L., (Mon Mar 29, 2:28 am)