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

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

--------------020107040203040005060600
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

Hi Aaron,

> Here's one for ya.

If I understand correctly what you mean (detecting a single 'pitch'
(frequency)) the simple attached Pd patch should do it.
Pd has has netsend to do network or popen to start shell commands (..
look at the docs.

Lorenzo.

--------------020107040203040005060600
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

Hi Aaron,

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,

If I understand correctly what you mean (detecting a single 'pitch'
(frequency)) the simple attached Pd patch should do it.

I'm thinking something web-like.

Pd has has netsend to do network or popen to start shell commands (..
look at the docs.

Lorenzo.

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;
  }

}

_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@lists.linuxaudio.org
http://lists.linuxaudio.org/listinfo/linux-audio-user

--------------020107040203040005060600--

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

Messages in current thread:
Re: [LAU] measuring frequencies and then doing something...., Lorenzo, (Mon Mar 29, 8:02 am)