ActionScript 3.0 :: Mixing Mp3 With Recorded Sound?
Aug 10, 2011
I need to mix 2 sound data, one is a mp3 sound byteArray and the other one is a recorded sound byteArray. I use URLLoader to load the mp3 external file into a byteArray. The sound is recorded on a microhpone and stored in another byteArray. I need to save to a file - the mp3 comes first and the recorded sound after. I am using WavWriter to write it out as a wav file.
The mp3 is in 44Khz and 16-bit rate. The recorded sound is in 44Khz and 8-bit.Is there a way to do this? I have researched for a few days already and tried a few things, but still cannot find the correct way to do this.
View 4 Replies
Similar Posts:
Apr 8, 2010
i am creating this little drum program, and the sounds is all done, all i need now is the ability to record what you play so you can play it back right afterwards.
View 1 Replies
Nov 17, 2010
You could capture the sound into a ByteArray and save the bytes in a file or a database. Have a look at the SampleDataEvent on the Microphone class, and the ByteArray class. As for the php I think you want to look at mysql functions or fopen() and fwrite().
View 1 Replies
Jan 30, 2012
I'm trying to build a play back progress bar for an audio recorded from the users microphone. It works okay but when I play back I can't figure out how long the audio is so I can calculate percent played for animating a progress bar. Most of these snippets can be found in LiveDocs and online examples from bytearray.org. Audio is stored in the bytearray and the sound is played back in a sound channel.
[Code]...
View 2 Replies
Jul 12, 2010
is it possible to mix videos and webcamera streams in flash to send them to flash media server as one stream?
Forexample put two webcamera streams side-by side and send them to server as one steam.
View 1 Replies
May 12, 2009
How can I mix an array randomly in as2? I have this code so far:
Code: Select allfunction startGame(){
for(i=1;i<=52;i++){
cards_array.push(i)
I gues you see this is for a card game (hearts).If I want to mix the cards I have to mix the array...
View 2 Replies
Jan 29, 2009
I have a question regarding navigation using Flash and HTML. I'm building a website that will hopefully feature an animated navigation area. Ideally, when the user clicks on the link inside the Flash clip, it plays a short animation and then loads the target HTML page.Is it possible to merge a flash movie clip and HTML content, and have the flash part link to other webpages? Or do I have to build the entire website in flash and use the timeline to link between "pages"?
View 3 Replies
Jan 26, 2010
I'm building a Flash nav with dropdown menus that will drop down in front of some html (i.e. text, buttons, images). In my initial testing, even though the drop down area in my Flash movie is transparent, it's still physically in the way if I try to get to html buttons or text underneath. Is there a way for a Flash movie to change size, (i.e. get larger on roll-over to accommodate dropdowns, then get smaller on roll-off?
View 2 Replies
Aug 25, 2009
How can I use two version of a library in the same project in Flex (using Eclipse). (in my case the library is papervision3d , and I have written some code using the older version, but due to big changes many of the used function exist no more)
View 1 Replies
Mar 28, 2011
I have build a mixer and save all the sequence in an array and then play it again, now I want to save the mix as an MP3, I have looked for any way to save the mix and the answer is to load the sounds as byteArrays (sound.extract) I have acomplish that but I don't really know how to store all the sounds in just one ByteArray in order to save it as MP3, I got this code just for example, loading 2 audio files and store them in separate ByteArrays, and play each sound, how to store the 2 byteArrays in just one?
var mySound:Sound = new Sound();
var sourceSnd:Sound = new Sound();
var urlReq:URLRequest = new URLRequest("Track1.mp3");
[Code]....
View 3 Replies
Mar 30, 2011
I'm trying to figure out how can I mix two NetStream objects into one FLV file using Flash Media Server 4. Saving one stream isn't problem but I have two concurrent streams (one is pure audio from Microphone object and second is Camera+Microphone) and I want to save them as single FLV using NetStream.publish(streamName, 'record').It will be kind of live chat but only with one video.
View 2 Replies
Jun 10, 2011
so this the code with it i am able to mix several trackswith a Shader done in pixel bender.the problem here i don't know when the mixing is finish or all the sound reache their endto be able to save the bytearray into a file any Event or something like that
package
{
import flash.display.*;
[code].....
View 1 Replies
Jul 10, 2010
it is possible to mix different audio files and export them into an mp3 file for the end user to download to his computer.Actually, I know it can be done because they do it in various sites (aviary's myna , looplab , audiotool , remixgalaxy), I just need help on how to do it. I have the mixing part pretty much covered. My problem is with exporting the file to an mp3. I imagine that some external progamming language might be required, but I couldn't find an answer on Google... Php is my prefered language, but I'm willing to learn another one if it's not possible with PHP.
View 6 Replies
Jul 11, 2010
Imagine a website that sells clothes. If you click on the jeans link, a new page opens up with all of the different jeans. Anyway, I am building a flash module to put up on the page. It will be the one pulling up all of the different jeans from a database, rather than before where if you clicked jeans it brought you to a new page, flash will simply open it right up on the home page. Is there going to be an issue with resizing? For different browsers, and different resolutions, am I going to have a problem?
View 4 Replies
Nov 4, 2010
We intend to develop a Flex client application the user to send audio from your microphone and mp3 at the same time to a server that Flash Media Server.It would be a mix of microphone and music in mp3 that is playing in the application at the same time transmitted to the listeners.What will be the version of Flash Media Server that enables this mixing of audio from microphone and music played on the client in flex?
View 1 Replies
Feb 23, 2010
For the life of me I can't figure out how to trace out the current label in my movie's main timeline. This is in AS3. I have a button on stage that spans the timeline of the movie. It detects keypresses. I want to trace the current frame label that the play head is on.
[Code].....
I get "_level0" for this...and undefined for the rest. What am I doing wrong here?
View 1 Replies
Sep 30, 2009
I have an animation that I want to start when clicking on the flash window. However, I've also have some buttons on the stage. If I add an event listener for MouseEvent.CLICK on the stage, then it 'eats up' the events and the buttons don't work.
I've tried some tricks, by adding some invisible buttons on top of the real ones, and use the MOUSE_OVER event to selectively enable/disable the mouseEnabled flag for the stage, but didn't work because it complains that the property or method doesn't exist (which I find odd).
View 3 Replies
Jun 24, 2011
The NetStream Object has a method allow to AttachCamera() and publish the camera in a group.but i want to a video which the user watching to be pulished into a group
View 2 Replies
Jul 18, 2009
When a DVR stream finishes publishing, can you use the cached file as a VOD? Where is the DVR file stored?
View 1 Replies
Feb 22, 2011
I have developed an application for recording the mp4 format movie. I am able to record mp4 format file but my recorded file is not playing in window media player.
so, if any body have some idea/suggestion about play pre-recorded mp4 file in window media player then your most welcome.
View 4 Replies
Sep 5, 2011
I wrote a simple web app that record web cam capture over FMS, now I'm trying to find out how can I fetch the recorded file and give the option to download it to a local computer
View 1 Replies
Apr 16, 2011
I am triggering short sounds dynamically from the library for a game (Specifically Air for Android). When the user clicks a button the sound can take up to 600ms to actually play. I have set it for any silence before the actual sound by calling the sound like so:
[Code]...
All return the same results. I know there are threads here that talk about this but none have offered a real solution that I can find. Is there no way to cache the sound or store it in a buffer?
View 1 Replies
May 21, 2010
I've noticed that some flash content does not get into a browsers' cache and some does. I tried it with many different flash sites and flash games. Games can usually be easily retrieved from the browser's cache and then decompiled, which is not good for their developer but I can't say the same about many flash sites (not all of course).
how to protect my flash content from being put into a browser's cache folder?
View 2 Replies
Sep 28, 2009
I am wondering if it is possible to add/inject a cue point to an FLV server-side that has been recorded/published from a users webcam using FMS3.5.
View 5 Replies
Feb 2, 2010
I have a problem with recorded stream: The MetaData its partialy correct.Most of the informations are correct, but the 2 most important information for me width and height for the video are always 320 x 240 for any recorded stream althow they are published at different WxH.I tried to get my head around this but cant seem to figure out were the problem is.FMLE its used to publish the stream useing H.264 / MP3 codecs.Here is the server side code used to record the stream:[code]....
View 9 Replies
Feb 27, 2010
I'm combining streams from a number of cameras together into a recorded stream, let's called it 'serverstream.flv'. The source streams are all from webcams, and each user is assigned a stream name based on their name and a user id, like '1_bob' and '2_julie'.
Sometimes the presenters stop broadcasting temporarily and we just switch to a blank window. The stream on the server side stops recording at that point by calling[code]...
View 4 Replies
Mar 20, 2010
I am using adobe dvrcast to record my live streams. the problem I am having is when I stop the encode during a live stream, a new file is not created, the existing stream is written over. How can I preventive this from occuring. Is there a way to have all vod files that are in one folder to roll over to the next file during play back.
View 12 Replies
Sep 4, 2010
I'm creating a Flex application that enables users to communicate in a kind of video chat room. I only allow to live streams at any given moment. I'm using FMS to record the videos in FLVs. What I need to do is post process those videos and create a single video with all that happened in the video room. That means that I need to combine 2 videos, reduce the size of one of them so it appears over the other one. In other words one video will use the whole space an the other will appear at the upper left corner (over the other video,).
I need a server side solution for this. I created another post here and someone suggest a screen capture solution. That would work perfectly, but since this appliction will be used for several people and any time, I want the process to be automaticaly not manual. So, I'm thinking I can do it with FFMPEG, but I need a way to identify in which order I need to compose the videos. Something like adding a time stamp to each FLV in FMS (when they are recorded). How can I add custom metadata to the FLV?
View 1 Replies
Oct 15, 2010
There seems to be great documentation on multicasting live streams.I can't find anything about multicasting recorded stream. Is there documentation? Or any other sources of info on multicasting recorded streams?
View 4 Replies
Dec 2, 2010
I don't find such API to indicate whether a stream is live or not.
Anyone knows how to judge this,either by client side or server side actionscript?
View 4 Replies