Home All Groups Group Topic Archive Search About

voice key - raising a "flag" when a voice input is recoeved.

Author
7 Jul 2005 6:50 PM
Eran
Shalom again,
I have another question. I would like to program (in visual basic) my pc,
thus wherever there is an activity coming from the microphone it would raise
a "flag".

Do you know how to do that?
Do you know the time it takes the computer to react since it heard the voice?
Please help me,
thanks ahead,
Eran

Author
8 Jul 2005 1:55 AM
Galen Somerville
Show quote Hide quote
"Eran" <E***@discussions.microsoft.com> wrote in message
news:A71FA190-9F7E-44D0-A790-0539069531CD@microsoft.com...
> Shalom again,
> I have another question. I would like to program (in visual basic) my pc,
> thus wherever there is an activity coming from the microphone it would
raise
> a "flag".
>
> Do you know how to do that?
> Do you know the time it takes the computer to react since it heard the
voice?
> Please help me,
> thanks ahead,
> Eran

You could use the VisualBasic dx8vb.dll and set up a small Capture buffer.

Then use a timer to do a Capture every so often. You would then look in the
buffer to see if anything came in.

As far as reaction time, assuming a 11,025Hz rate, the sound card will show
any activity within 90 microseconds.

But the above mentioned timer will control how often you check the buffer.

Galen
Author
10 Jul 2005 9:16 AM
Eran
Shalom Galen,
Thanks again for your answer.
I ask you to be more specific and send me an example of an implemetation of
such a capture buffer. do you have such an example (a simpel one is
preferable)?
thanks ahead,
--
Eran


Show quoteHide quote
"Galen Somerville" wrote:

>
> "Eran" <E***@discussions.microsoft.com> wrote in message
> news:A71FA190-9F7E-44D0-A790-0539069531CD@microsoft.com...
> > Shalom again,
> > I have another question. I would like to program (in visual basic) my pc,
> > thus wherever there is an activity coming from the microphone it would
> raise
> > a "flag".
> >
> > Do you know how to do that?
> > Do you know the time it takes the computer to react since it heard the
> voice?
> > Please help me,
> > thanks ahead,
> > Eran
>
> You could use the VisualBasic dx8vb.dll and set up a small Capture buffer.
>
> Then use a timer to do a Capture every so often. You would then look in the
> buffer to see if anything came in.
>
> As far as reaction time, assuming a 11,025Hz rate, the sound card will show
> any activity within 90 microseconds.
>
> But the above mentioned timer will control how often you check the buffer.
>
> Galen
>
>
>
Author
10 Jul 2005 2:15 PM
Galen Somerville
Show quote Hide quote
"Eran" <E***@discussions.microsoft.com> wrote in message
news:CDEC36AF-A34D-435F-BBAF-F2C20917BA67@microsoft.com...
> Shalom Galen,
> Thanks again for your answer.
> I ask you to be more specific and send me an example of an implemetation
of
> such a capture buffer. do you have such an example (a simpel one is
> preferable)?
> thanks ahead,
> --
> Eran
>
>
> "Galen Somerville" wrote:
>
> >
> > "Eran" <E***@discussions.microsoft.com> wrote in message
> > news:A71FA190-9F7E-44D0-A790-0539069531CD@microsoft.com...
> > > Shalom again,
> > > I have another question. I would like to program (in visual basic) my
pc,
> > > thus wherever there is an activity coming from the microphone it would
> > raise
> > > a "flag".
> > >
> > > Do you know how to do that?
> > > Do you know the time it takes the computer to react since it heard the
> > voice?
> > > Please help me,
> > > thanks ahead,
> > > Eran
> >
> > You could use the VisualBasic dx8vb.dll and set up a small Capture
buffer.
> >
> > Then use a timer to do a Capture every so often. You would then look in
the
> > buffer to see if anything came in.
> >
> > As far as reaction time, assuming a 11,025Hz rate, the sound card will
show
> > any activity within 90 microseconds.
> >
> > But the above mentioned timer will control how often you check the
buffer.
> >
> > Galen
> >

You should really bottom post your replies like I am doing now.

When I get your Email address from other message, I will send you some
examples.

Galen
Author
10 Jul 2005 6:55 PM
Eran
--
Eran


Show quote Hide quote
"Galen Somerville" wrote:

>
> "Eran" <E***@discussions.microsoft.com> wrote in message
> news:CDEC36AF-A34D-435F-BBAF-F2C20917BA67@microsoft.com...
> > Shalom Galen,
> > Thanks again for your answer.
> > I ask you to be more specific and send me an example of an implemetation
> of
> > such a capture buffer. do you have such an example (a simpel one is
> > preferable)?
> > thanks ahead,
> > --
> > Eran
> >
> >
> > "Galen Somerville" wrote:
> >
> > >
> > > "Eran" <E***@discussions.microsoft.com> wrote in message
> > > news:A71FA190-9F7E-44D0-A790-0539069531CD@microsoft.com...
> > > > Shalom again,
> > > > I have another question. I would like to program (in visual basic) my
> pc,
> > > > thus wherever there is an activity coming from the microphone it would
> > > raise
> > > > a "flag".
> > > >
> > > > Do you know how to do that?
> > > > Do you know the time it takes the computer to react since it heard the
> > > voice?
> > > > Please help me,
> > > > thanks ahead,
> > > > Eran
> > >
> > > You could use the VisualBasic dx8vb.dll and set up a small Capture
> buffer.
> > >
> > > Then use a timer to do a Capture every so often. You would then look in
> the
> > > buffer to see if anything came in.
> > >
> > > As far as reaction time, assuming a 11,025Hz rate, the sound card will
> show
> > > any activity within 90 microseconds.
> > >
> > > But the above mentioned timer will control how often you check the
> buffer.
> > >
> > > Galen
> > >
>
> You should really bottom post your replies like I am doing now.
>
> When I get your Email address from other message, I will send you some
> examples.
>
> Galen
>

Here it is:
eran_benja***@yahoo.com
Thanks again,
Eran.
Author
31 Aug 2005 6:25 AM
Eran
--
Eran


Show quote Hide quote
"Eran" wrote:

>
> --
> Eran
>
>
> "Galen Somerville" wrote:
>
> >
> > "Eran" <E***@discussions.microsoft.com> wrote in message
> > news:CDEC36AF-A34D-435F-BBAF-F2C20917BA67@microsoft.com...
> > > Shalom Galen,
> > > Thanks again for your answer.
> > > I ask you to be more specific and send me an example of an implemetation
> > of
> > > such a capture buffer. do you have such an example (a simpel one is
> > > preferable)?
> > > thanks ahead,
> > > --
> > > Eran
> > >
> > >
> > > "Galen Somerville" wrote:
> > >
> > > >
> > > > "Eran" <E***@discussions.microsoft.com> wrote in message
> > > > news:A71FA190-9F7E-44D0-A790-0539069531CD@microsoft.com...
> > > > > Shalom again,
> > > > > I have another question. I would like to program (in visual basic) my
> > pc,
> > > > > thus wherever there is an activity coming from the microphone it would
> > > > raise
> > > > > a "flag".
> > > > >
> > > > > Do you know how to do that?
> > > > > Do you know the time it takes the computer to react since it heard the
> > > > voice?
> > > > > Please help me,
> > > > > thanks ahead,
> > > > > Eran
> > > >
> > > > You could use the VisualBasic dx8vb.dll and set up a small Capture
> > buffer.
> > > >
> > > > Then use a timer to do a Capture every so often. You would then look in
> > the
> > > > buffer to see if anything came in.
> > > >
> > > > As far as reaction time, assuming a 11,025Hz rate, the sound card will
> > show
> > > > any activity within 90 microseconds.
> > > >
> > > > But the above mentioned timer will control how often you check the
> > buffer.
> > > >
> > > > Galen
> > > >
> >
> > You should really bottom post your replies like I am doing now.
> >
> > When I get your Email address from other message, I will send you some
> > examples.
> >
> > Galen
> >
>
> Here it is:
> eran_benja***@yahoo.com
> Thanks again,
> Eran.

To "close" this issue I would like to do 2 things:
a. Say thanks to Gallen who help me very much with his wise advices.
b. point at an interesting site I have found which contain a very friendly
code for voice key: http://psychonomic.org/archive/index.cgi?SID=a7aa35eeed927c7c76344a30bbb944df&id=4255&rm=detail

Goodbye,