Actionscript 3 :: Trimming Bit Of The Beginning Off A Recorder Waveform?
May 14, 2010
I've got a flash 10.1 app that lets me record microphone input to a wav without a media server, which I am saving to an Amazon S3 bucket.I have another process running on a server which gets wavs from this bucket, converts to mp3 using LAME and puts them into another bucket. This all works fine, but in converting wav > mp3, about 0.1sec or so of silence is added to my sound.In the application this are being used in, perfect sync is critical, so I need to trim off that little bit. If I have to trim it off the original waveform that is okay, I don't expect anything important to happen in that first fraction of a second.
What is the best way to go about this? I am using Adobe's WavWriter to convert by ByteArray into a proper waveform. Is there a way I can easily trim off the first few samples from my ByteArray without invalidating the structure?Alternatively, is there a good server-side tool I can use to trim the wav before running it through LAME, or an argument I can give LAME? Or, could I even trim that sound off the mp3 after it has been converted?
View 2 Replies
Similar Posts:
Dec 24, 2009
Is there a library or cli program which is capable of dropping/extracting frames from a SWF movie? Let's say I have a SWF movieclip with 451 frames, of which I will like to make a new movie clip out of with only the first 450 frames. No wrappers or containers though.
View 1 Replies
Dec 11, 2009
recording audios and trimming them with flash. way to go 'bout it. Is there any available component that i can use or do i have to create something from the scratch.
View 2 Replies
Feb 5, 2009
I have been embedding some non-standard Fonts into my Flash application using the "New Font ..." action from the Library pane. I exported the Font for AS, and there are no problems using the font.
However, from the reports, I noticed that the entire charset of the font is embedded by default. Since I only need the the alpha-numeric characters plus a couple of symbols, I was wondering if there is a way for me to trim the embedded charset (either from the Flash UI or via AS)? I remember in archaic versions of Flash, you can specify exactly which characters to embed in the SWF. Is this feature still available somewhere?
I wanted to keep the SWF lean and mean, and I don't want to load the font in run-time (some browsers disable font loading by default).
View 0 Replies
Nov 4, 2010
I am unable to visualize the audio waveform in my flash timeline. I need to synchronize audio voiceover work and this is impossible to do without being able to see the timeline.
I am using CS4.....in previous versions I was able to see the waveform but no go for this version.....
View 1 Replies
Jul 15, 2009
I am working in AS3 and i need to record my voice through mic and i save the voice as .mp3 format.Anyone knows about that send me the way to proceed
View 1 Replies
Dec 14, 2009
I'm trying to create a WAV audio player for a website which will display the audio waveform like this site does: [URL]
Is there a way to do this? I've spent hours searching the internet with no luck.
View 2 Replies
Aug 19, 2010
I'm trying to stream *.wav files on a webpage and looking for a flash program which will show the full audio waveforms. Something like this:
How to do this? Again, streamings not the heard part, I just need to allow users to see the waveform timeline.
View 4 Replies
Mar 29, 2010
i've come across this ActionScript sample, which demonstrates drawing of the color spectrum, one line at a time via a loop, using waveforms.however, the waveform location of each RGB channel create a color spectrum that is missing colors (pure yellow, cyan and magenta) and therefore the spectrum is incomplete.how can i remedy this problem so that the drawn color spectrum will exhibit all colors?
// Loop through all of the pixels from '0' to the specified width.
for(var i:int = 0; i < nWidth; i++)
{[code]...........
View 1 Replies
Apr 26, 2010
I am trying to create an audio watermarking system. I figure the best solution is to create an audio file (WAV) based on a unique string of text and then combine this with the original wav.The part that makes this tricky (for me anyway) is:How do I convert the text string to a wav?How do I ensure that the resulting WAV form is inaudible (or at least barely noticeable to the listener). would prefer this be done server side (via PHP, etc) but if the processing load isn't too much then would be ok with something in Flash or Javascript.
View 1 Replies
Oct 8, 2010
I'm making a audio recorder with Adobe Flex (Microphone, NetStream), I want to get the current audio wave from Microphone to display in the visualization area, how can i get the data?
View 1 Replies
Dec 8, 2009
So I am trying to make a music player in AS3 that displays the tracks waveform. how to display the waveform in flash.
basically I'm look for a player like this [URL]
View 2 Replies
Oct 21, 2009
Is there a way to record the stage in an image sequence or movie, not by exporting, but with actionscript? The exporter sucks, because it doesn't even work if one of your movie clips has a child timeline, or internal timeline, or whatever you'd call it. I'd also be able to create procedural animations with flash.
And if you know the name of it if it's a downloadable class, by all means, tell me.
View 13 Replies
Feb 11, 2011
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:
[Code]....
View 1 Replies
Jun 4, 2010
a website, or any kinda of media form where I can learn to make a video recorder, which will record webcam.
View 0 Replies
Feb 11, 2010
I want to create FLV file Recorder in flash. currently im create FLV recorder using Electro Server 4...in this file video captured And Record also but not save to my folder. any thing only 1 task remaining FLV save to my folder..[URL]...
View 2 Replies
Jan 17, 2011
If I have a sound waveform stored as a ByteArray in actionscript 3, how would I go about converting this into a Sound object that can be played?
Note that the array is full of sound samples - a complete generated waveform. It isn't an array containing an mp3 or other compressed data.
View 2 Replies
May 29, 2011
I'm trying to create a visual waveform for an MP3. The code I've included is called on successful load of the MP3. I intend to extract just a few important samples from the sound to create the waveform, rather than extract the entire sound into a bytearray. Even on a good machine, extracting an entire song can cause flash to freeze up for 3-5 seconds (or longer!). For my purposes, this isn't feasible.
Unfortunately, the code I've got below is failing to produce any numbers. If I extract the entire song it functions, but extraction of just the key points is giving me nothing. Does performing an extract make the remainder of the sound object invalid for future extracts? If so, is there some way around this that won't freeze flash for an extended period of time during the extract? Some important variables from the rest of the code:
[Code]...
View 2 Replies
May 28, 2011
How do I go about generating a simple waveform of a sound object.
View 5 Replies
Sep 7, 2010
I need to create a web based audio recorder. I want to record and play audio in GSM format (for telephony).I created the it in JavaFX which require Java Runtime on client sideBut Flash is preferred as Flash is every where and widely used.
View 4 Replies
Nov 16, 2010
GI have a problem where a flash player, when run through firefox, is not including the HTTP cookies. These are included when run through internet explorer.
I want to know if anyone knows how to force flash to include cookies when communicating with a flash server?
We have a flash recorder which connects to a red5 server. These connections are opened through a load balancer which offers a pool address. There are multiple servers in the pool.
The recorder sends data using the RTMPT protocol. This sends the RMTP over HTTP (this allows firewall traversal). To ensure data arrives at the correct server we used cookie based load balancing. If a certain cookie is present the load balancer directs the connection to the correct server.
This cookie is set when the user logs into the site through thier web browser. The flash player then includes these cookies in the RTMTP HTTP requests when communicating with the server. This ensures the RMTPT connection is opened to the correct server.[code]...
View 1 Replies
Jul 15, 2011
guide me through the process of embedding an audio recording widget on my site, where people can record short (~5 secs) voice clips? I have absolutely no experience with Flash but since HTML5 is not there yet, it's necessary.
View 2 Replies
Jul 26, 2011
Records all mouse movement inside the Flash movie and plays it back.This file provided
View 1 Replies
Mar 7, 2012
I found on Adobe website this cool as3 code to grab a sound and make a realtime waveform graph (I cannot post the link..The problem, to me, is that I cannot create in the same stage 2 graph from 2 input: the mic and an mp3.In my purpose, I'd like a stage with just 2 waveform graph. the upper one with the realtime voice from the mic input.the second one (just below the previous one) with a similar waveform graph but drawn by an MP3 file (or wav).
At the beginning I tried to use 2 inputs ".microphone" but I can always see just 1 graph. It's like the resources cannot be shared (al least not so simply).
View 3 Replies
May 14, 2010
I want to imitate the webcam video record feature that yFrog has on it's site.I know I need a flash media server or a red5 one, but I want to know what flash app do they use and what is available on the net to record videos using the users webcam.
View 1 Replies
Jan 16, 2010
I have got three screenshots below of Flash-based audio players on various websites that draw a waveform of the clip it is going to play and moves along while it is playing and also allowing the user to click on a point on the audio file and it jumps to that point.I have very little Flash knowledge but is this easy to achieve? I would like to just show the Flash file an mp3 and it draws the waveform. I understand this could be quite intensive on CPU so would there be a way of caching the waveform data so it doesn't redraw each time the file is loaded?
View 5 Replies
Jun 23, 2011
I wanna make a mobile app with voice recorder , give me a reference example like e-book, website, program.. etc , i wanna use flash lite 3 with as 2.0
View 1 Replies
Jun 23, 2011
I wanna make a mobile app with voice recorder eference example like e-book, website,program.. etc , i wanna use flash lite 3 with as 3.0
View 1 Replies
Dec 15, 2010
I have never worked on flash - I used a developer to code a flash based webcam recorder that runs on red5 as backend. He provided me with the swf file and the source like mxml file.This recorder has 3 images and the total size of swf file is 800KB.Now when I load it on my production server - this page takes sometimes upto 10 secs to load. I'm completely lost as to what the reason is and not sure where to start debugging.I'm not sure if the problem is in the flash code or is it that red5 is taking a long time to establish the connection.
View 1 Replies
Feb 26, 2011
I'm looking for a flash script/library to capture video and audio from a webcam and then somehow get a saved flv to my encoding server. I'm not looking for something that will host the videos for me. I just need something simple to capture and then upload. I really want this to be open source and free.
I've done a fair amount of searching and it seems that most of what i can find is either a full blown service with hosting, or the red 5 suite. I've been trying for a day to get something going on with Red5, but honestly I haven't done any flash or java development in over 6 years and this seems way too complicated when all i really want is a flash object i can stick on a webpage.
View 2 Replies