iOS Sound Recognition
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
iOS Sound Recognition
There's a question I've been running in circles with:
Is there a way to "hear" sound with the iOS and LiveCode?
Like if someone spoke into their phone and said "hello" is there a way in LiveCode to realize that a sound was made?
Thanks.
-Tester2
Is there a way to "hear" sound with the iOS and LiveCode?
Like if someone spoke into their phone and said "hello" is there a way in LiveCode to realize that a sound was made?
Thanks.
-Tester2
Re: iOS Sound Recognition
Do you mean to get the text "hello" or to determine that there is sound at all? Either would need an external but voice recognition would be vastly more complicated to implement.
LiveCode User Group on Facebook : http://FaceBook.com/groups/LiveCodeUsers/
Re: iOS Sound Recognition
I think just that there is sound at all.
IE: A user can say "begin" or make some sound and that will play an audio file....rather than having to use a button.
I'm mostly just curious if this is possible.
Thanks.....
IE: A user can say "begin" or make some sound and that will play an audio file....rather than having to use a button.
I'm mostly just curious if this is possible.
Thanks.....
Re: iOS Sound Recognition
You mean "Speech Recognition" à la SIRI?
Huh, a BIG task, I think...
Monte?

Huh, a BIG task, I think...
Monte?

Re: iOS Sound Recognition
I think he wants to detect a sound, not recognize speech. The only way I know to get sound in with iOS is to us the rremicrophone external, which would be too cumbersome. Obviously, Monte will have to spend a minute or two writing an external to implement AURemoteIO (e.g. http://developer.apple.com/library/ios/ ... Intro.html). Actually, this would be a pretty nice addition to mergext.
Re: iOS Sound Recognition
Yes, detect a sound - not speech.
Thanks so much for the feedback guys; it has helped cure some of my wonderings.
Bottom line - yes, it could probably be done but it will take a lot of work and implementation.
Thanks so much for the feedback guys; it has helped cure some of my wonderings.
Bottom line - yes, it could probably be done but it will take a lot of work and implementation.

Re: iOS Sound Recognition
Not necessarily a lot of work but yes you would need an external. I have added peak and average power callbacks to rremicrophone. You only get them when recording though so we might need a different approach. If you are interested i do half rate development on mergExt externals.
Cheers
Monte
Cheers
Monte
LiveCode User Group on Facebook : http://FaceBook.com/groups/LiveCodeUsers/
Re: iOS Sound Recognition
Hey Monte,
With rremicrophone, is there a way to "capture" or determine what the incoming audio levels are at? So if there is a loud noise (over a certain decibel level) then I can capture that and trigger something else.
The use case would be as follows:
1) The user opens an audio training app.
2) The user presses play and an audio file begins playing.
3) The user then begins user their hands for the training (aka, not being able to press buttons).
4) The audio file will finish and when the user says "resume" or some loud audible command then a new audio file will begin playing.
Currently, I have buttons that can easily play, pause, and resume the audio file, but I really need to get this hands free for the user.
Thanks so much for any feedback and guidance.
-Tester2
With rremicrophone, is there a way to "capture" or determine what the incoming audio levels are at? So if there is a loud noise (over a certain decibel level) then I can capture that and trigger something else.
The use case would be as follows:
1) The user opens an audio training app.
2) The user presses play and an audio file begins playing.
3) The user then begins user their hands for the training (aka, not being able to press buttons).
4) The audio file will finish and when the user says "resume" or some loud audible command then a new audio file will begin playing.
Currently, I have buttons that can easily play, pause, and resume the audio file, but I really need to get this hands free for the user.
Thanks so much for any feedback and guidance.
-Tester2
Re: iOS Sound Recognition
Not with the standard rremicrophone. I did a custom version with peak and average power but I didn't release it and then LC5.5.2 came out so it needs to be added to the new rremicrophone. That project that required it is on hold though...
LiveCode User Group on Facebook : http://FaceBook.com/groups/LiveCodeUsers/
Re: iOS Sound Recognition
Monte,
My name is Myles Debski, a Creative Services engineer at Richard Carlton Consulting, Inc. based in Fairfield, California. My boss, Richard Carlton, and I are really trying to get some help with accomplishing the task I previously mentioned. Can we contact you back channel to see if this is something that you can deliver and what it would take? We do have a small budget with "cash in hand".
Thanks.
My name is Myles Debski, a Creative Services engineer at Richard Carlton Consulting, Inc. based in Fairfield, California. My boss, Richard Carlton, and I are really trying to get some help with accomplishing the task I previously mentioned. Can we contact you back channel to see if this is something that you can deliver and what it would take? We do have a small budget with "cash in hand".
Thanks.
Re: iOS Sound Recognition
Yes, sure, monte@goulding.ws
LiveCode User Group on Facebook : http://FaceBook.com/groups/LiveCodeUsers/