Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7890941
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T06:29:15+00:00 2026-06-03T06:29:15+00:00

In action script how to convert using audio encoder a recorded byte array from

  • 0

In action script how to convert using audio encoder a recorded byte array from microphone to MP3

     public var recordedData:ByteArray;          
     recordedData.writeBytes(sample.data, 0, sample.data.bytesAvailable);

How to save recordedData to mp3 using audio encoder

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-03T06:29:17+00:00Added an answer on June 3, 2026 at 6:29 am

    You find yourself an MP3 encoding library that runs in the Flash player. A simple google search finds Shine to be pretty popular. Another option is to stream the audio up to the server and encode there.

    Depending on your environment, you might be able to use something like LAME if you are in Air and are willing to build a native extension to do the encoding.

    EDIT

    If you are using Shine, I found an example in the project that implies that encoding is easy:

    private var mp3Encoder:ShineMP3Encoder;
    
    private function encodeClicked(event:Event):void {
        mp3Encoder = new ShineMP3Encoder(wavLoader.data);
        mp3Encoder.addEventListener(Event.COMPLETE, mp3EncodeComplete);
        mp3Encoder.addEventListener(ProgressEvent.PROGRESS, mp3EncodeProgress);
        mp3Encoder.addEventListener(ErrorEvent.ERROR, mp3EncodeError);
        mp3Encoder.start();
    }
    
    private function saveClicked(event : MouseEvent) : void {
        mp3Encoder.saveAs();
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

First is there any technique for using Action Script for recording sound from microphone?
Is there any way to call an action script function from an anchor which
I'm trying to convert a form from synchronous to asynchronous using the Ajax.BeginForm helper
What's the nicest way to convert a Vector to an Array in Actionscript3? The
How to trigger the action script when the browser is closed in Flex? What
im very nex to action script but i've got a problem with an movieclip.
I have the following code in action script 3: async.addResponder(new Responder(result, defaultFaultHandler)); result is
I have a flash application written in action script 2, and at one point
I've been trying to learn Action Script 3 the past few weeks, making tiny
I am a new to Action Script, so I am not sure if my

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.