Actionscript 3 :: Flash SPEEX Codec Conversion For Google Speech API

Sep 1, 2011

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:

[Code]....

View 1 Replies


Similar Posts:


Flex :: API For Speex Codec In Flash

Apr 16, 2010

With AIR 2 allowing access to mic data, it's possible to save/process audio locally. Adobe provides a WAVWriter example but is there any API access to the Speex codec?

View 1 Replies

Flash :: Enable Speex Codec On Microphone Object In Flex 4?

Nov 23, 2010

From what I have read, using Speek over Nellymoser is advantageous, but I can't figure out how to use it with a Flex 4 Microphone object. For instance, the last code line:

[Code]...

View 1 Replies

Media Server :: Codec Speex Noisy ?

Aug 15, 2011

fms live

Codec = speex is too noisy: set noiseSuppressionLevel is no use.

But codec = Nellymoser is ok.

View 2 Replies

Actionscript 3 :: Flash/Flex Speex Audio Decode, To Play A Speex File?

Dec 7, 2011

I want to play *.spx files which encoded by Speex on the Web.But I have no knowledge of Flash/Flex or any Flash Audio codec. After Google search for a whole day, I got some solutions, that is:

Do something wrapping Speex files with a FLV container because that the Speex is only playable as the audio codec in a FLV container.Now I can play a SPX-Audio-Only FLV file in Flex, I use netStream.play("audio-only-speex.flv"), But I donot know how to wrap a Spx file with FLV container using ActionScript.I have never heard FMS stuffs before, as well as I'm not sure whether my virtual host can support or not...Convert every Spx files to MP3.

I think the best solution is decoding Spx in AS3, Yes, I'd like to make a Spx Flash Player.So, I downloaded Speex Library from speex.org, installed Adobe Alchemy. After ./configure;make the libspeex, build libspeex/speex.c out a libspeex.swc via Alchemy. then, I donot know how to do next. How can I decode the speex audio with AS3? My libspeex.swc: [url].....

In addtion, should I rewrite the libspeex using Alchemy API before build the libspeex.swc? Although I am not professional in AS, but I have a strong ability to learn.

View 2 Replies

ActionScript 3.0 :: Conversion Utility That Uses Number Input Via Calculator Style Buttons To Generate Conversion

Mar 13, 2012

im trying to create a conversion utility that uses number input via calculator style buttons to generate conversion for the following distances:

-Miles to/from KM
-cm to/from mm
-binary to/from decimal

Now i was thinking of possibly having the options contained within an drop down and an input text field where the numbers are entered via the calculator buttons. The only thing im struggling with is how to perform the actual calculations on the different formats. Has anyone had to do anything similar in the past? Ive only found currency conversion examples and not sure how to apply that to these conversions.

View 8 Replies

Flash :: Encoding Speex Into A SWF Version 10 Sound Stream

Mar 1, 2012

Adobe's "SWF File Format Specification v10" says that Speex encoded data can be used for streaming sound (a little clarification of the "streaming sound" definition here: "The SWF file format supports a streaming sound mode where sound data is played and downloaded in tight synchronization with the timeline. In this mode, sound packets are stored with each frame." - this has nothing to do with any FMS streaming, no ActionScript needed - just plain SWF).This should be accomplished by using a single SoundStreamHead2 tag with StreamSoundCompression set to 11 (which means "Speex", as stated in the abovementioned Specification) and then N pairs of ShowFrame and SoundStreamBlock tags. However, this does not work - Flash Player plays no sound when playing the SWF generated by me this way. Please note, that I am capable of generating such SWFs containing streamed MP3 or PCM data, which then play perfectly. Just not Speex...

I strictly conform to the Specification:URL...I tried the streaming sound approach as well as the event sound - both do not work.Moreover, I was not able to find (anywhere on the Internet) any sample SWF with streaming sound (nor event sound) encoded in Speex. Do they even exist? Anyway, Flash CS5.5 is not capable of generating them.I would just like to know whether Speex support for SWF streaming sound can be found anywhere else than in the Specification. (I know that FLV can contain Speex and that Flash Player can stream Speex from a microphone and that FMS can stream Speex to its clients, but this is not what I am asking for)

View 1 Replies

ScreenVideo Codec Support In Flash

Nov 29, 2009

could you answer whether ScreenVideo codec (ID=3) is supported by latest FlashPlayer for DefineVideoStream/VideoFrame tags?

View 1 Replies

Actionscript 3 :: Adobe Flash : Playing Speex Audio From A File

Aug 5, 2010

I have tried really hard to find an example showing how to play speex encoded audio in flash. I tried the following code -

var connect_nc:NetConnection = new NetConnection();
connect_nc.connect(null);
var stream_ns:NetStream = new NetStream(connect_nc);

[Code]....

I tested the above code with .flv videos and AAC encoded audio files and it works just fine. But when I try stream_ns.play("sample.spx") I get a stream not found exception.

Am I using the wrong container (.spx) for speex audio. Is playing speex audio from a file supported?

View 4 Replies

Flex :: Play Speex Encoded Audio In Flash Player?

Mar 22, 2011

I am able to record sound from microphone, encode it using SPEEX and write into ByteArray. I want to play it back. If I try using Sound object the audio is messed up. Speex uses 16kHz for encoding and Sound Object needs 44.1kHz for playing audio. How am I supposed to play this encoded sound.

View 1 Replies

Actionscript 3 :: Adobe Flash : Playing Speex Audio From A File?

Apr 8, 2005

I have tried really hard to find an example showing how to play speex encoded audio in flash. I tried the following code -

var connect_nc:NetConnection = new NetConnection();
connect_nc.connect(null);
var stream_ns:NetStream = new NetStream(connect_nc);

[code].....

View 1 Replies

Flash :: Importing Mx.graphics.codec Into Builder

Jul 26, 2011

I am trying to import a FlashDevelop project into Flash Builder. I simply started an ActionScript project and dragged and dropped files & created packages as needed, selected "Set as Default Application" on the main file .as file and deleted the default application .as file. But when I compile I get the following errors

[Code]...

In my build path I have Flex 4.5.1 and for framework linkage I am doing "Merged into code".

View 1 Replies

Process Flex/Flash SPEEX Audio Data On The Server Side?

May 4, 2011

I'm implementing a very simple audio-only RTMP server.I have my client code like this:

// get the default mic
var mic:Microphone= Microphone.getMicrophone();
// best quality (picks up all sounds, no transmission interruptions)[code].....

Then on the server, I keep receiving audio packets with size of either 43 bytes or 11 bytes (no other sizes found yet).My questions are:

Why do I get size of either 43 bytes or 11 bytes (from SPEEX encoding?)?

Is the 43 bytes = 1 head byte + 42 data bytes?

What is the size of 11 bytes?

How should I process or convert the SPEEX to raw data, so that my server side app can use this audio data? My current implementation:

I pick up all 43-byte packets (drop all 11-byte packets);

Skip the first 1 byte;

Decode the left 42 bytes using Speex library.

How should I convert the raw data back to SPEEX audio data?

View 1 Replies

Professional :: Best Codec For Delivering 1080p Video In Flash

Jul 1, 2011

I'm developing some AS3 that will end up in a mac projector (.app). This app will stream 1080p videos from the local disk. What is the best codec for fluid videos? (no hiccups, fast start, etc) Is there any special setting I have to consider in the code or in the publish settings?

View 1 Replies

ActionScript 3.0 :: Flash Unable To Import Mx.graphics.codec

Oct 22, 2011

I am having a wied issue with flash flash is unable to import mx.graphics.codec error 1172 a definition could not be found do I have to download this codec from some place, it seem to me that they must be here

View 3 Replies

Speech Recognition In Flash

Apr 2, 2012

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?

View 1 Replies

Flash Player With Red5 Server Codec Type Detection

Nov 11, 2010

I use Red5 server 0.9.1 for live streaming from Adobe Flash player to my RTMP protocol transport.I test it with audio data captured from my microphone using flash application and for now transport recieves and recognizes audio packets. For further audio data listening I need to know what audio codec Flash player uses to send data to the Red5 server.Transport doesn't recieve any metadata packets with detailed information about media codec. All I know for now from "connect" message is that publishing side supports the set of audio and video codecs.

View 3 Replies

Flash :: Ffmpeg On Windows: Use Mp3 As Audio Codec To Create Mp4 Files?

Nov 29, 2010

I'm using ffmpeg on Windows to create mp4 files for web distribution. As libfaac isn't available, I use libmp3lame to encode the audio tracks. The mp4 are played back with a falsh player (JWPlayer).I was wondering if there were any shortcomings to use mp3 instead of aac on certain devices?

View 1 Replies

Actionscript 3 :: Record And Save Flash Video's With H264 Codec

Jan 31, 2012

Right now I am working on an AIR 3.2 application which lets you stream a video to a Flash Media Server and saves it on a hard drive.This sequence works fine with the standard Sorenson codec but I want to use H.264 for my videos. I found lots example c ode and implemented it in my code, but when I record a video of myself I am unable to re-watch it afterwards.I found how to implement a H.264 encoding in a realeyes blog post here. My code is here.It saves the video as a .f4v file, but my browser (I've tried the latest versions of both Chrome and Firefox, with the latest Flash) and also VLC are unable to load the video. I also used a program called Movie Player which is able to open the file but can only show the first frame and the audio. Neither am I able to upload the video to YouTube because they do not support the file extension.Here is an example video file it saved: H264Test1.f4v.My question is: How do I stream and save the movie with a file extension that I am able to re-watch while using the H.264 codec?

View 1 Replies

Flash :: Speech Recognition With Silverlight?

Apr 30, 2010

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.

View 3 Replies

Flash :: Speech Recognition Can Be Done Through Web Browser?

Oct 26, 2010

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 ...

View 1 Replies

ActionScript 3.0 :: Speech Recognition In FLASH?

Jan 31, 2011

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.

View 5 Replies

Text Speech Software For Flash Presentation?

Feb 1, 2012

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.

View 2 Replies

ActionScript 3.0 :: Setup A Text To Speech Feature In Flash?

Mar 11, 2012

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..

View 5 Replies

ActionScript 3.0 :: Create Text To Speech Application In Flash Without Any Back End?

Nov 19, 2010

Is it possible to create text to speech application in flash without any back end?

View 1 Replies

ActionScript 3.0 :: Flash Dynamically Converting Text To Speech(mp3) Offline

Nov 7, 2011

I am developing an application where I need to convert Text to Speech in offline version. Without using the Google translator.

View 1 Replies

ActionScript 3.0 :: Convert The Sound File In Digital Speech Standard In Flash?

Jan 19, 2012

We need to convert the sound file in (.dss Format i.e Digital Speech Standard),in flash

View 2 Replies

ActionScript 3.0 :: Speech Recognition Program In Flash To Teach A Foreign Language?

Jan 6, 2010

Has anyone ever developed a speech recognition program in flash to teach a foreign language?

View 0 Replies

Flash To DVD Conversion

Aug 6, 2010

I have been creating animations for children, and recently finished an animated short. I am more of an artist than a techie, and I have not been able to find a clear cut answer as to what is the best way to convert flash to DVD. What file should be converted to achieve the best quality? SWF? MOV file? Is there a way to do it from flash? from Adobe Premier? I tried the AVI output and the quality was terrible.

Is a seperate converter needed? If so, are which give the best quality audio and visually? Here are some of the basic requirements for an animated short entry: DVDs must be compatible with standard set-top DVD players-- do not simply burn a quicktime or AVI file to a disc as data. It is highly preferred that you send us an NTSC, Region 1 or region free (Region 0) DVD when submitting to us, but we will also accept PAL and SECAM formats as well. If you are sending a DVD that has a region code other than 0 or 1, and/or a format other than NTSC, please mark this CLEARLY on the disc AND on the DVDcase.

View 2 Replies

Actionscript 3 :: Play A Speex File In Flex?

Jan 5, 2011

When i am pointing to an FlV it's playing successfully. But when it comes to a speex file. I am getting an error StreamnotFound. How to resolve this issue?

View 2 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved