Re: [tuxdroid-user] Imagination?
Status: Beta
Brought to you by:
ks156
From: David B. <da...@ja...> - 2007-05-10 08:24:03
|
Nice to find some guys with the same needs :-) Right now the microphone level is not monitored by tux itself but the captured sound is streamed continously to the computer so it should be possible to do whatever you imagine from the computer side. As the ADC inside tuxaudio CPU continuously acquires the microphone signal, I thought of computing a kind of peak signal that would be sent to the computer each 100ms in order to get a sound level value without having to process the audio signal itself. But the main advantage is that this peak value could be used by the standalone behavior of tux, like flashing the blue leds when you clap in the hands. We're now working on the sleep and ID stuff in the firmware, that may come next together with the improved light measurement. David On Thu, 10 May 2007 06:31:38 +0200, Martin Thomas <Ma...@ma...> wrote: > That was my other example! > Turn off the eye LEDs if the room is dark, play the noises from the > baby's room (baby monitor) and maybe even record on a calendar the > level of the baby's activity... > > On Thu, 10 May 2007 00:41:55 +0200 > xAD <xa...@xb...> wrote: > >> Hi, >> >> I have the same idea ;-D .. but for monitor my Baby , when it cries i >> play a soft-song for 'x' minutes. >> >> xAD >> >> On Wed, 2007-05-09 at 16:36 -0500, ma...@ma... wrote: >> >> > Am I imagining this or did there used to be a method in the Python >> > API to get the sound level from the microphone? >> > >> > I want to monitor ambient noise levels and use the feedback to >> > control the volume before using TTS to make announcements: "There's >> > a tornado warning for your area!" or "Don't you think it's time to >> > go to sleep?" >> > >> > Cheers // Martin |