Skip to contentSkip to conversation

auto capture feature according to sound amplitude?

DISCUSSION IDOIT .IEF 2 participants 2 messages Apr 15, 2005 – Apr 20, 2005

lore
Share & tools
lore

IDOIT .IEF

author
#0 lore raw

Hi All
I'm working on a small voice recognition project and i want a library or some APIs automates capturing process so it'll start capturing only if there is a voice and it'll stay waiting unless
I'm new to Alsa .. or you can say i'm new to audio programming .. i don't know if ALSA has such a feature .. or any other library i thought about implementing this feature by my self .. but i don't think i have time to do it
Thanks in Advance
IDOIT

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_ide95&alloc_id396&op=click

#1 lore raw

Your best bet would be to continually capture from alsa, and analyse the samples as they come in. You could set an amplitude threshold or do some other fancier trigger point (must be between certain frequencies with a certian amplitude, etc...) and just bit-bin the samples to that trigger. At the trigger, you could then analyse it with your recognition algoritim, and when it's done go back to your wait-on-trigger state.

- Steve

Quoted 12 lines · IDOIT .IEF

Hi All
I'm working on a small voice recognition project and i want a library or some APIs automates capturing process so it'll start capturing only if there is a voice and it'll stay waiting unless
I'm new to Alsa .. or you can say i'm new to audio programming .. i don't know if ALSA has such a feature .. or any other library i thought about implementing this feature by my self .. but i don't think i have time to do it
Thanks in Advance
IDOIT

Quoted 9 lines

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_ide95&alloc_id396&op=click
_______________________________________________
Alsa-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/alsa-devel

-------------------------------------------------------
This SF.Net email is sponsored by: New Crystal Reports XI. Version 11 adds new functionality designed to reduce time involved in creating, integrating, and deploying reporting solutions. Free runtime info, new features, or free trial, at: http://www.businessobjects.com/devxi/728