All of lore.kernel.org
 help / color / mirror / Atom feed
From: Steve deRosier <derosier@pianodisc.com>
To: "IDOIT .IEF" <idoit.ief@gmail.com>
Cc: Alsa-devel@lists.sourceforge.net
Subject: Re: auto capture feature according to sound amplitude?
Date: Wed, 20 Apr 2005 10:11:15 -0700	[thread overview]
Message-ID: <42668D33.1050403@pianodisc.com> (raw)
In-Reply-To: <d8c9df6c050415095914e35449@mail.gmail.com>

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

IDOIT .IEF wrote:
> 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_id\x14396&op=click
> _______________________________________________
> Alsa-devel mailing list
> Alsa-devel@lists.sourceforge.net
> 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

  reply	other threads:[~2005-04-20 17:11 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-04-15 16:59 auto capture feature according to sound amplitude? IDOIT .IEF
2005-04-20 17:11 ` Steve deRosier [this message]
  -- strict thread matches above, loose matches on Subject: below --
2005-04-16  4:44 Perfect Stranger
2005-04-19  9:52 ` Takashi Iwai

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=42668D33.1050403@pianodisc.com \
    --to=derosier@pianodisc.com \
    --cc=Alsa-devel@lists.sourceforge.net \
    --cc=idoit.ief@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.