Voice Recorder + mp3 convertion

Ok, i'm trying to make a on line voice recorder + server upload. Today, i can do it in wav format, but i really wish to record it in mp3 or wma or other format so i can record small files. The actionscript is:
package
import flash.display.Sprite;
import flash.media.Microphone;
import flash.system.Security;
import org.bytearray.micrecorder.*;
import org.bytearray.micrecorder.events.RecordingEvent;
import org.bytearray.micrecorder.encoder.WaveEncoder;
import flash.events.MouseEvent;
import flash.events.Event;
import flash.events.ActivityEvent;
import fl.transitions.Tween;
import fl.transitions.easing.Strong;
import flash.net.*;
import flash.net.URLVariables;
import flash.events.MouseEvent;
import flash.net.FileReference;
import flash.net.FileFilter;
import flash.utils.ByteArray;
import flash.events.MouseEvent;
import flash.events.Event;
import flash.events.IOErrorEvent;
import flash.display.MovieClip;
import fl.controls.ProgressBarMode;
import flash.events.ProgressEvent;
public class Main extends Sprite
private var mic:Microphone;
private var waveEncoder:WaveEncoder = new WaveEncoder();
private var recorder:MicRecorder = new MicRecorder(waveEncoder);
private var recBar:RecBar = new RecBar();
private var tween:Tween;
private var fileReference:FileReference = new FileReference();
public function Main():void
recButton.stop();
activity.stop();
mic = Microphone.getMicrophone();
mic.setSilenceLevel(0);
mic.gain = 100;
mic.setLoopBack(true);
mic.setUseEchoSuppression(true);
Security.showSettings("2");
addListeners();
private function addListeners():void
recButton.addEventListener(MouseEvent.MOUSE_UP, startRecording);
recorder.addEventListener(RecordingEvent.RECORDING, recording);
recorder.addEventListener(Event.COMPLETE, recordComplete);
activity.addEventListener(Event.ENTER_FRAME, updateMeter);
private function startRecording(e:MouseEvent):void
if (mic != null)
recorder.record();
e.target.gotoAndStop(2);
recButton.removeEventListener(MouseEvent.MOUSE_UP, startRecording);
recButton.addEventListener(MouseEvent.MOUSE_UP, stopRecording);
addChild(recBar);
tween = new Tween(recBar,"y",Strong.easeOut, -  recBar.height,0,1,true);
private function stopRecording(e:MouseEvent):void
recorder.stop();
mic.setLoopBack(false);
e.target.gotoAndStop(1);
recButton.removeEventListener(MouseEvent.MOUSE_UP, stopRecording);
recButton.addEventListener(MouseEvent.MOUSE_UP, startRecording);
tween = new Tween(recBar,"y",Strong.easeOut,0, -  recBar.height,1,true);
private function updateMeter(e:Event):void
activity.gotoAndPlay(100 - mic.activityLevel);
private function recording(e:RecordingEvent):void
var currentTime:int = Math.floor(e.time / 1000);
recBar.counter.text = String(currentTime);
if (String(currentTime).length == 1)
recBar.counter.text = "00:0" + currentTime;
else if (String(currentTime).length == 2)
recBar.counter.text = "00:" + currentTime;
private function recordComplete(e:Event):void
var req:URLRequest = new URLRequest("http://localhost/tests/grava.php");
req.method = URLRequestMethod.POST;
req.data = recorder.output;
req.contentType = 'application/octet-stream';
var loader:URLLoader = new URLLoader();
loader.dataFormat = URLLoaderDataFormat.BINARY;
loader.load(req);
recorder.output is a bytearray, that i send to php and it writes down the wav file. Any ideas?

Check out http://audior.ec <- flash tool that records direct to mp3.

Similar Messages

  • How can I convert and/or import .3ga Android phone Voice Recorder files to iTunes playable format?

    My new Android smart phone (Samsung Galaxy S Blaze) has a pre-installed "Voice Recorder" which creates .3ga files of whatever I record with that app. But I can't find anyway to play or utilize them on my PC. I'm new to iTunes (for Windows Vista), and I'm hoping it can play these files somehow but when I drag them to the iTunes window the red circle with a line through it shows up and the file doesn't get transferred.  I've also tried importing via iTunes File > Add file to library > click on file on my PC, but then after a second the "Add to Library" window disappears and the Voice file is nowhere to be found in iTunes. Any ideas are welcome. I'm pretty low tech....
    Thanks!

    iDealshare VideoGo, the professional 3GA to MP3 Converter, can convert 3GA files whatever recorded from Android, Samsung Galaxy S1, S2, S3, S4, Nokia to MP3 format. Besides converting 3GA to MP3, it also can convert 3GA to WAV, M4A, WMA, AC3, AAC, FLAC, OGG, AIFF, RA, AU, DTS, MP2, APE and etc. It even supports to trim or split 3GA audio, merge several 3GA files into one, increase 3GA audio volume, batch convert 3GA files and etc.
    Furthermore, iDealshare VideoGo also can convert 3GP, 3GPP, AVI, WMV, MP4, MKV, MPG, RMVB, WTV, ASF, MOV, M4V, DV, MXF, FLV, F4V, Apple ProRes, QCP, SHN, AWB, AMR, VOC, FLAC, OGG, M4B, Apple Lossless ALAC, M4A, CAF, AIFF, APE, PCM, MPC, AU and etc.
    Step by step guide on How to Convert 3GA to MP3?

  • Convert GarageBand Voice Recording to Audiobook

    I'm trying to convert a Garageband voice recording to Audiobook format. The file is currently saved in iTunes music library. I want the ability to listen to the file using my iPod's Audiobook category. This way, I can listen in fast playback mode--which I don't think is available in the music category.
    iMac G5   Mac OS X (10.4.5)  

    I'm not very familiar with Audiobook formats, I think there's several of them around. If you're talking about the AAC format, here's a 4-step workaround that I found in a discussion group on the Net and that I quote without actually having tested it:
    Interestingly enough, I just figured out how to turn mp3s into audiobooks today.
    Step one...convert your mp3s into AAC files (.m4a) using iTunes
    Two...in the finder, change the file extensions for those files from .m4a to .m4b
    Three...download an audio bookmarking iTunes script from www.malcolmadams.com/itunes/scripts/ss.php?sp=makebookmarkable and install the script
    Four...Add the new .m4b files to your iTunes library, select them, and select the Bookmarking script from the Scripts menu.
    Try it and tell us if it works for you!
    (In your case, you might skip step one and export the GB file as AAC in the first place!)

  • How can you create a voice recording and save it as an mp3?

    I want to create a voice recording and save it as an mp3.  How can I do that on the MAC?  Right now I can only think of recording the voice in iMovie, but it does not have a choice to save as an mp3.

    Rather that iMovie, you may want to check our Audacity.
    It's a free, open-source audio editor and recorder.
    You can easily save a recording as an MP3.
    http://audacity.sourceforge.net/
    Matt

  • I have a digital voice recorder with a 3.5mm mic and headphone jack and want to transfer some recorded lecture to my mac book pro.  The mac book does not have 3.5mm  jacks.  Does anyone know if a jack to USB converter would work?

    I have a digital voice recorder with a 3.5mm microphone and headphone jack and want to transfer some recorded lectures to my mac book pro.  The mac book does not have 3.5mm  jacks.  Does anyone know if a jack to USB converter would work?

    Is there a pattern to the time of day or other detail that may be
    traced back to a OS X system cause of this odd phenomenon?
    Are there any copies of system files on any of the attached USB
    external drives? Any libraries, such as iTunes, iPhoto, etc?
    Once the drives are indexed by Spotlight, are their permissions
    ignored by the OS X? Content, if neutral, should not affect the
    wake or sleep cycle; especially if they're ignored by the OS X.
    Could there be a bad cable or other component? If so that would
    be a difficult process of elimination to detect it. Usually replacing
    most suspect components in the USB stream (external to Macs)
    is a rote way to mechanically test that idea; & not 100% sure.
    Does the equipment all have a good ground to the utility or house
    electrical field? An intermittent ground may affect more than sleep.
    Hard to say at this point. Maybe a late-night talk radio guru on
    remote viewing could peer into your situation and sleuth it out?
    Sorry to have run out of ideas, but the process must be electrical
    & mechanical to some extent. - Or perhaps odd software inspired.
    Do you have any phone-home spyware items inside, just jumping
    at the chance to spill your information? Little Snitch may help.
    PS: Perhaps the computer needs to go into Apple & have a genius
    or product specialist at AASP test the unit thoroughly... BlueTooth?
    see:
    https://www.google.com/?gws_rd=ssl#q=Wake+reason:+XHC1
    Good luck & happy computing!
    edited 2x

  • Ic Mp3 Voice Recorder - silver not black

    Hi,  I have an Ic Mp3 Voice Recorder (I can't read the sub-model as it’s too faded) though it is a silver Ic recorder.  It worked great till last week. Now when I download any recordings they show up as normal (ex: one shows as 177, 661KB and one shows 14,191KB). They are both clearly there, but when I play them back I hear no sound. Is there any way I could have accidently “muted” the device???
    Solved!
    Go to Solution.

    Hello WGB,
    Without knowing the model number of your recorder its very difficult to know what might be going on. There should be a reset button the on device that should move all your settings back to default. This would ensure any setting that may have changed to cause this would be reverted back to normal.

  • Need an high quality voice recording app that does mp3s.

    I need an app for my ipad (can be iphone only app as well) that will, best case scenario, record AIFF allow you to edit and then convert edited file to mp3 and finally allow e-mailing the file. If it only records mp3 and allows editing and subsequent e-mailing, that would be a close second at this point. I have found a ton of apps that record AIFF but don't then support conversion to mp3...anyone have any thoughts?!?!
    Thanks in advance.
    FatherTime

    Record in QuickTime Player, save your recording as a file and drag that into Pages:
    Quicktime > Menu > File > New Audio Recording (control option command n)
    You start and stop the recording by hitting the spacebar.
    Menu > Edit > Trim > drag the ends in
    To remove any silence or unwanted sounds.
    Peter

  • Is Voice Recording in MP3 a crazy feature?

    I've just bought a 528 stick and tried a interesting feature: Recording voices in mp3 format. Msi said that recording in mp3 will take only 1/10 of space compared to wav. They lied, recording in this format with any quality take at least 128Kbps, that mean it cost the same with Best quality mode of wav. What is the hell going on?

    Quote from: bassmadrigal on 02-September-05, 17:03:54
    Even if it is stuck at 128kbps the file size should still be way smaller than the wav file.
    I don't think so, jeremy. The waves' bit rate are 32Kbps, 64Kbps, 128Kbps corresponding to 8KHz, 16KHz and 32KHz of sample rate. They are all compressed in IA PCM format, so they are almost always the smaller in term of size. MP3s under 44KHz of sample rate should encoded in lower bit rate rather than always be 128Kbps so that would be more economic and MP3 recording feature have its full advantages!

  • Record voice to MP3

    Hello everyone.
    I am new to using my Mac (1 week now). I record my voice reading a quartely magazine for a disabled group, for it's website. In windows I used to have a program that would record to MP3 format, but trying to use GarageBand, it just creates.band files.
    Is there a way of recording my voice to MP3 with this program or do I need a specific app?
    Thank you.
    Mike.

    Mike Muscroft wrote:
    What I used to do in W7 was create recordings for each page in an MP3 format and then FTP the lot of to the web editor. I am wondering if I have to work differently now I'm using Mac?
    the method i would likely use (depending on the total length of the project) would be to record a page, stop the recording, record the next page, stop, etc. then i would export each section:
    http://www.bulletsandbones.com/GB/GBFAQ.html#exportsections
    (Let the page FULLY load. The link to your answer is at the top of your screen)
    and FTP the lot to the web master

  • How do I convert my old iPod into a voice recorder?

    PART No. MA003FB/A iPod 60GB White Model A1136 Serial No. 4J547DUSSZA purchased in June 2007 
    iPod (5th generation)—also known as iPod with video or Fifth Generation iPod 2005/2010 click wheel.
    (It is not a nano, shuffle or touch, it may be a classic or just an older iPod)
    How do I turn this iPod into a voice recorder?  What do I need to buy and will I need to update the iPod software.

    Hi Patdean,
    Yes, you can use your 5th Gen as a voice recorder. I used to do this with mine. You have to get an external microphone for it, and it has to be one that connects through the connector port, not through the headphone jack. Later generation ipods will take a mic in the headphone port, but not this one. There are several companies that make them, mine was a Belkin Tune Talk, and it worked really well. No additional software needed. To make a recording, use the wheel to go to "Extras", and plug in the mic. The voice memo recorder won't show up on your ipod until you plug in the microphone, and once it does, hit the record button, and you're good to go. Check on Amazon or someplace similar, I think these are still being made, but be sure to check compatability with your ipod, as not all dock connector microphones are compatible. Hope this helps!
    Sandygirl

  • Digital Voice Recorder for MAC?

    I recently switched from PC to MAC and am very happy I did.
    I just have 1 thing that still need to use my PC for - I use a digital recorder almost daily, and then email the recordings to different people.
    I use a Sony so I can't use it on my MAC.
    I am looking for a digital voice recorder that is as easy to use as my current one, I just plug it into my PC, open the software it came with, and it converts it to MP3 and then I attach it to the specified email and away it goes.
    I tried an Olympus but the effort it would have taken to convert it to MP3 was ridiculous.
    I would love some suggestions...
    Thanks!
    Glenyce

    I use an older Olympus myself, rather similar to this one, and though it records in WAV format rather than mp3 it is really pretty simple converting the files if you wish. The ones that Dave Sawyer links to look better for your purposes , though.
    Sony make Mac compatible recorders which record directly into mp3 these days, too, though. See here, for example. Or this one.
    eww's suggestion looks good , too.
    There are a lot of choices out there. The best selection depends on what quality level you require for the recording, how important small size is, whether you will be using external mics, how much storage capacity you need, how much you are prepard to spend, etc etc. Might be easier to refine recommendations if you could provide a bit more info about such things.
    Cheers
    Rod

  • Digital Voice Recorder iMac compatible

    Hope I'm in the right forum! Still very new to iMac and still in the process of transferring data from Windows. Each day I come across something that is not compatible - today it is my Olympus Voice Recorder which I rely on. I used to download the recording onto PC, convert the file and edit and cut - then save to iTunes. Now,that's not possible on iMac. Do you know which voice recorder I could get that is compatible with iMac. One that I can download the entire recording to and use software (which?) to cut and crop and edit etc and put into my itunes? I am guessing that there is already an application in OS X which will allow the editing - it is more a case of how to get it on the iMac to start with. Thanks. SM

    Audacity ( http://audacity.sourceforge.net/ ) in conjunction with Soundflower ( http://cycling74.com/products/soundflower/ ) will let you do most things you may need, including recording direct from web inputs.
    It'll open and edit most sound formats and the editing options are pretty good for a freebie. version 1.3.12b is pretty stable and I've not found any major bugs yet.
    Export options are also comprehensive, though for most purposes, .mp3 or .aif are all that's needed.
    There's a wiki page for it at http://wiki.audacityteam.org/index.php?title=Main_Page
    No doubt there'll be other equally valid suggestions; this is far from the only option (but it is free!)

  • Downloading Voice Recording from Samsung Stratosphere

    Hello.  I have used the voice recorder app on my Stratosphere and want to download the recording from the phone to my laptop and play them via Windows Media Player.  Does anyone know how to make this possible?  How do I convert the .amr to a mp3 or wma?

    I haven't done this myself, but I'm sure you can find a conversion program to use one the sound files are on your computer.

  • Digital voice recorder compatible iMovie 11

    I film with canon vixia hf r30. Want portable voice recorder that can be edited with video.

    Hi
    I use a ZOOM H4n - and it records in many qualities BUT
    • .wma
    • .mp3
    May be they work - BUT I always convert all audio to
    • .aiff 44.1 kHz (as on Audio-CDs) - or -
    • .aiff 48 kHz (16-bit) (as on miniDV tapes)
    I use Audacity to do it (free on Internet)
    And I have very few problem with my Audio.
    alt. I also use a second miniDV Camera as tape recorder (to get one more level of security if anything fails I can fall back onto this tape)
    Yours Bengt W

  • MuVo: Strange noise on voice recordi

    I have a MuVo TX that I use for recording meetings and classes (as well as the other things it can do).
    When I play the voice recording back there is an odd thumping sound in the background. I get this no matter where I record and also hear it after transfering the WAVs to the computer.
    Is this a known problem?
    Is there any good audio editing software I can use to filter this noise out?

    Not so good quality and wave files.... Hmm not very helpful... wav files are much bigger so will eat up the av space in no time... stoopid.
    My nPod makes voc files from the built in mic which are fairly small but cannot be converted to mp3 (well, I have not found out how yet). But the quality is pretty good - have made some fairly good recordings of bands this way... dub them back to the PC to make mp3 or wav for Muvo or CD.
    Why on earth has C made the input socket a small jack? Thought everyone uses 3.5 mm these days...
    Otherwise a great machine for making mp3s off the streaming radio on t'net! Just for test purposes of course.

Maybe you are looking for

  • Will Iphone 4 work with usb 1.1

    I have a 3g now and it said it required usb 2.0 but it works fine with 1.1 just a little slow. Will iphone 4 work with my usb 1.1, everything else updated ie itunes?

  • Intel mac extreme - no go plugging computer directly into extreme

    I have a 24 inch Mac and yesterday bought an airport extreme. I want the computer to work plugged into the extreme, but when I do this it says that the Mac has a self assigned IP address and can not access the internet. I have updated all software an

  • Not able to start database Oracle 11g on Linux Server

    Hi I am using Oracle 11g database. I have successfully installed it on my linux server (Oracle Linux 4). When i am trying to access database through url "https://localhost.localdomain:1158/em". Browser is throwing some error that SSL port is not enab

  • How to create Union Time Pool using accruals ???

    Hi, My client has a unique requirement of creating a Union Time Pool i.e. at the begining of each year the client will have 'X' amount of hours assigned to the pool. Employees under Union Contract will then be eligible to take any leave hours from th

  • Does anyone else have issues with Adobe Premiere on Mavericks?

    We just purchase a new Mac Pro for our video producer and are having major issues. Scrubbing and viewing video is dicey at best. Audio drop-outs, studdering playback, compression artifacts. Really unusable at this point. Seems like the video hardware