|
code
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
voice key - raising a "flag" when a voice input is recoeved.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
Show quote
Hide quote
"Eran" <E***@discussions.microsoft.com> wrote in message You could use the VisualBasic dx8vb.dll and set up a small Capture buffer.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 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 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, -- Show quoteHide quoteEran "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 > > >
Show quote
Hide quote
"Eran" <E***@discussions.microsoft.com> wrote in message You should really bottom post your replies like I am doing now.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 > > When I get your Email address from other message, I will send you some examples. Galen --
Show quote
Hide quote
Eran "Galen Somerville" wrote: Here it is:> > "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 > eran_benja***@yahoo.com Thanks again, Eran. --
Show quote
Hide quote
Eran "Eran" wrote: To "close" this issue I would like to do 2 things:> > -- > 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. 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, |
|||||||||||||||||||||||