ActionScript 3.0 :: Programming A Character To Respond To Speech?
Mar 14, 2012
I'm currently taking Computer Science classes at my college and am taking the initiative to learn coding through practice as well as through the textbook.How can I get a character to respond to speech that comes through a microphone?
I want to make it so that a character's mouth moves as I talk into a microphone. And(while this is a stretch and don't think it'd really work, but I figured I'd ask just in case) make similar mouth movements according to what I'm saying. For example, having my character have an open circular mouth as I say, "Oh" or something similar.I've considered just holding down a key that turns on my microphone and makes the character's mouth move. But the problem I have with that is; how do I get the microphone to turn on and off as I hold and release the key?
I am trying to develop a module for voice recognition that could be integrated with a pre-existing flash website. I don't need the full speech recognition functionality, but a limited set of it (only specific commands like next, go etc). I looked at some functionality available like speechapi.I did try to do a bit of flash training by myself since i got into this project. So anyway, if I have to go ahead, will I have to do this in Actionscript?
I have a 9 frames image of a character.In other language generally i used to make character animation by looping the array consisting of different frames and drawing each frame when pressing key.What i want to do is when i press left or right key, i want to draw each frame that makes character movement and update x coordinates of frames, and it will appear as character is moving.
I'm developing a web user interface to enter some information that is not very complex but needs to be loaded in real time. I think that the application could make use of speech recognition to facilitate the task.
Te core of the interface is being built with Javascript and jQuery, but can easily include a flash or silverlight component. I believe thatīs probably the way to go. I don't need to recognize everything that the user says, but only a few prerecorded commands. Also, I don't want the user to click on a button to specify the begining and the end of the spoken command. It should be detected live.
Is there anything that does this? I would be grateful if anyone tells me about a complete solution, free or commercial, as well as any advice on capturing a sound stream from the mic and process it with flash or sliverlight.
How to implement Online Speech Recognition through a Web Browser Interface.
Is it possible to implement this without using any Streaming Server (completely browser-based application)? Without building any own plug-ins, is it possible to implement Speech Recognition using Flash ...
can some guide me that how i can make speech recognition software in flash, for e.g if i speech letter "A" than letter A appear on page and start animated, this is my project i need help.
i was wondering if any of you out there could tell me how it is possible to make a movieclip of a character and when the character is dragged about the screen by the curser, how do you make the characters arms and legs swing about in a realistic fashion.
I have made so many Flash presentations, but every time i stuck on one part. I need to get a professional vocal audio added to my presentation. So that when a slide is running its explanation can be done vocally.
I have seen this on a website Umbraco, here in the flash presentation on the very first page, someone is speaking about the content (This voice i have heard so many times on different presentations),Is that a computer generated voice or a software made voice or just someone speaking himself and recorded.
I have a noob question about arrays.I have two arrays:
var array1 = new Array(); array1[0] = "1"; array1[1] = "7";
I know that these are in string format, but this is necessary for the whole code (i think!) but I want to be add these to values together, to get the value of 8, however if you do:
var answer = array1[0] + array1[1];
Then it just joins the 2 values to give 17, however if you times them, it treats it like a number.Is it possible to add them to get the value of 8 in another way without having to remove the speech marks from the array value?
I'm trying to see if I can set up a text to speech feature in Flash. I found this post, which details how to integrate Google's text to speech functionality with Flash. Seems pretty good, but the post seems to be written for uber-genius AS3 programmers...well not really, but at least those who already know how to stitch these pieces together.
I know a bit about using classes and packages, but can't seem to figure out how all the chunks of code in his post would be stitched together.
Any chance anyone can check this out, and give me a basic rundown of how all these pieces would go together?? So I can try implementing this myself...
[URL]
PS. Also open to another solution to text to speech in Flash, if you know of an easier one..
I'm porting a card game from pure Flash/AS3 to Flex 4.5: I'm almost done, but the "speech baloons" marked by the blue color in the screenshot above are missing. Those "speech baloons" fade in, display red (if they contain hearts or diamonds char) or black text and finally fade out. I'm trying to implement those as mx.controls.ToolTips and have prepared a simple test case, where 3 users are represented by smiley-buttons and you can push a "Talk"-button to make them talk:
People have figured out how to use the Google Speech API (Speech-To-Text). I'm trying to get it working with Flash Speex codec, and I just can't figure it out. I've tried inserting frame size byte before each 160 bytes (as some sources say), but this doesn't work. So I post a challenge to somehow translate the flash speex bytes for Google Speech API to understand. Here is basic flex code:
Is it possible to record speech in AS3 and to write the spoken words into a textfile or something? Or maybe record something twice and compare this to each other? Like if I would record the word "Hello" and then the word "Hi" and it returns me a false or something like that.
does anyone have an idea how can i do it? i have loads of text in flash that i want to be narrated for people with poor vision for a project..how do i proceed? the texts are in textArea's btw.
Its a make your own comic thing I'm gonna put on a site. Anyway, when you click/drag the speach bubbles, it draws as you drags. Can I make it so that when I click on those movie clips it dosen't draw?! Also, is there anyway to bring forward the bubbles so that they are always in front of the drawings?
I would like my character to move as if he was drunk I am unsure how to do that I am using the keyboard for his movement. I also have a character that moves at random I would like the drunk moving character to be able to catch this character and play a scene from within the drunk characters movie clip but I want this character to try and escape the idea is the drunk character gets points for how long he is able to hang on to this character
So I'd like to get my SWF to respond to the user when they just type a word. For example, when they type "hello" , my SWF does some action.
Most of the stuff I've seen is entering text into a text field and then pressing the Enter key or clicking a button.
What I'd like is to type a secret code word and then some easter egg happens. No button clicks, etc. I thought maybe a key listener but that's only one key, how do I get it to work with a whole word?
How do I listen/respond to a specific cue point by name in AS3?
I have this listener which runs a function as soon as a cue point is reached, but I can't figure out how to run different functions for different cue points.