ActionScript 3.0 :: Sound Mixer - Mix Several Audio Streams?
Nov 12, 2008
Is it possible to mix several audio streams? I want to play several audio tracks simultaneously, but several factors that are at times, the audio tracks are out of sync, such as latency Sound.play method, the for loop, the spec of users PC, FLash Player version, operating system etc
View 1 Replies
Similar Posts:
May 31, 2009
how to create a multitrack audio mixer?
View 2 Replies
Mar 2, 2010
We are creating a 30-track mixing desk to demonstrate our percussion instruments. Take a look at www.bellpercmixer.com. As you can probably hear, the audio is not properly syncing up.
The files should be exactly the same length (8 seconds) but they are mp3s so I don't know if the compression messes the length up as I know it adds the gap between the loop? More than likely, it is my lack of action script skill that has caused this problem... e.g. does each track need to be on a separate layer with a sync-track type thing? Here is an example of the script:
[Code].....
View 1 Replies
Apr 13, 2011
My server is streaming binary audio data (mostly mp3 files) to a client (a browser). This client stores the audio data in memory.
What I'm looking for is a flash audio player that I can input the binary audio data so that it can play the audio file.
Preferably, the flash client is merely a bridge to Javascript so that I can handle everything in Javascript and simply use Flash's audio features, but this is not a requirement.
View 1 Replies
Mar 14, 2012
So I want to create sound sequencer in flash with as3.
I guess I would need to use some sort of array with all the sounds, then on enterframe I would check my grid, with ticked boxes and play the sound if it is ticked and playhead is over the particular piece on a grid....
Here's the screenshot of what Im trying to make.
View 1 Replies
Feb 7, 2011
I want to synchronize sounds perfectly to do a kind of Audio Mixer, using different sounds. [URL] does it perfectly, I've been researching and researching and I just don't know how to do it! How does [URL] synchonize audio so perfectly? you can even change sounds and the new ones will come on time! How do I do that? Is it just Action Script? or something else?
View 1 Replies
Aug 11, 2011
Is it possible to mix audio streams in fms (like fmg)?
View 3 Replies
Mar 16, 2009
I have several flash clients that send live audio stream to the Red5 server. Is it possible to combine all this audio streams together so that other clients could subscribe only to one audio stream and listen live audio from all publishers?
View 11 Replies
Aug 24, 2010
I have several flash clients that send live audio stream to the Red5 server. Is it possible to combine all this audio streams together so that other clients could subscribe only to one audio stream and listen live audio from all publishers?
View 1 Replies
Sep 16, 2011
is there any Java library out there that can help intercept video and audio streams being sent through the browser?
So for example, a video starts loading through a flash player using some Flash server, the java application would listen for video/audio stream and capture and write it to video on the disk.
View 2 Replies
Jul 10, 2009
I have rather large project that contains several swfs and flvs with audio. The project is published in Captivate (which renders a main swf file). After the preloader screen, a lot of the audio files start playing at once at the beginning of the presentation. I have tried inserting an swf (1st Captivate slide) with AS2.0 command "stopAllSounds". It works as intended and stops all the cacophony. But then, none of my audio plays throughout the 7 minute project. Does anyone know how I can restart the audio?
View 1 Replies
Feb 7, 2011
I'm currently working on a University project which involves importing audio streams into an array within Flash using AS3. At the moment I have all of the feeds importing successfully but I need some help with the next step of assigning identifiers (i.e. names) to each array item. My plan is to link these assigned identifiers with a visualisation which will play accordingly when the stream is being imported. Below is the current code I have. The links for the audio streams have had to be removed due to legal reasons.
[Code]....
View 1 Replies
Feb 16, 2011
I'm currently working on a project which involves importing audio streams and visualising them within Flash. At the moment I have two files, one which can import all of the streams at once, continuously and another which visualises just one of the streams using an example animation I found which will be replaced at a later date. My problem is connecting the array to the visualisation so that all of the streams interact with it and affect the animation. Below is the code I have for the multiple streams with no visualisation file.
Code:
var stream_arr:Array = new Array(
"mtl2.liveatc.net/kbur",
"bos.liveatc.net/6b6",
"m1.liveatc.net/kbwi_belay",
"aus.liveatc.net/kccr",
"mso.liveatc.net/zob_cle",
[Code] .....
Note that I have removed the "http" from all stream addresses due to my low post count.
And here is the code I currently have for the file which can visualise only one stream, rather than the multiple I would like.
Code:
stop();
function goBack(evt):void {
gotoAndStop(1);
this.removeEventListener(Event.ENTER_FRAME,spectrum);
} var snd:Sound = new Sound();
[Code] .....
View 1 Replies
Dec 21, 2011
I am using a red5 server. I am doing a two way video conference using flex application. My current red5 server is storing both streams as different flv files.
now i have done some editing and have saved these edited files as one with video stream
[Code]...
View 1 Replies
Apr 20, 2011
I have read in FMIS 4 "new features" that "absolute timecode" allows to switch audio tracks while playing a video (managing synch). Is there any exemple showing how to use this funtionnality (server config, flash player action script exemple)?
View 5 Replies
Nov 17, 2009
I need to merge multiple live audio streams into a single stream so that i can pass this stream as input to VOIP through a softphone.For this i tried the following approach:Created a new stream (str1) on FMS onAppStart and recorded the live streams (sent throgh microphone) in that new stream.
Below is the code :
application.onAppStart = function()
{
[code].....
View 1 Replies
Nov 25, 2009
Does anyone know, if it's possible to record a sound stream with a mic / headset and then merge / mix the recorded sound with another pre-recorded mp3?
What I'm looking for, is a way to mix 2 sounds into a new sound object.I use AS3 / FlashPlayer 9 or 10.
View 3 Replies
Aug 4, 2009
I am converting from .FLV's to .F4V. Video outputs fine but the audio sound stops after a few seconds from the beginning.I have tried many different settings for the audio with no luck. Also, tried on a colleague's machine who is running CS3, which works fine, so something is buggy in CS4...
View 1 Replies
Nov 10, 2008
I am streaming sound files for a customer with a simple button I created using text, using this stock behaviour code below. I would like the text in the button to change colour while the audio streams and return to its previous state when the audio is finished streaming. Is this possible? And if so, is there anyone who could offer up some sample code to to get me started?
on (release) {
Load Streaming mp3 behavior
if(_global.Behaviors == null)_global.Behaviors = {};[code].............
View 5 Replies
Oct 6, 2011
I have a broadcasting project that I've got where the host of the show can have multiple sound effects they can use on their show.I'm wondering if the only way to go about this is for all the clients listening to the show need to download the mp3 of that sound effect or if the sound effect could come from the host ...like combining his mic (for his voice) but also straight audio (the sound effect) into the stream.
View 1 Replies
Jan 16, 2010
I am building a 10-channel mixer/remixer and I`m having a problem with synchronizing the sounds. When a user clicks on the "Play" button, it calls a method in the main (document) class which runs through a "for" loop and calls a method in each of the channel objects which play their respective sounds. Here is the method in the document class which calls the playTrack() method in each channel object:
[Code]...
View 11 Replies
Jun 10, 2009
New to flash and actionscript. Here's what I'm using:
Flash CS4
Actionscript 2
I'm creating a mixer interface that plays multiple tracks at the same time. I can play and stop all tracks, but I'm having a tough time figuring out how to pause/unpause the tracks. I have a [pause_btn] and an [unpause_btn] just don't know the code to get them working.
[Code]...
View 5 Replies
Jul 1, 2010
I'm looking to start learning a scripting language for web audio and sound development. It needs to be able to handle simultaneous audio events, eg; to trigger a sound when another is playing (I'm not sure if and how this is possible, but have witnessed this kind of presentation: [URL] (can this kind of thing be done with JavaScipt?, this looks like AS / Flash)).
From what I can tell the choice appears to be between JavaScript (JS) and ActionScript (JS), with details as follows: - If going the JS route (look into JS and HTML(5) audio capability) Learn about the basics of HTML and CSS, and then start to look into JavaScript, Ajax, and JQurey (library / framework for JavaScript). If going the AS route Will not need to know as much about HTML and CSS. AS is the language behind Flash. Not supported on the i-phone(?) I know Java to around an intermmediate level.
[Code]...
View 3 Replies
Jan 28, 2012
I'm working on an app to stream audio from shoutcast. The streaming goes well on my computer and when debugging it with an Android-configuration. But when I deploy it to an APK-file and run it on a Samsung Galaxy S, the streaming doesn't work.
My code for streaming the audio:
var urlRequest:URLRequest = new URLRequest("http://.../;");
var soundContext:SoundLoaderContext = new SoundLoaderContext(2000, true);
soundChannel = new SoundChannel();
sound = new Sound(urlRequest, soundContext);
soundChannel = sound.play();
I've also tried an addEventListener(Event.COMPLETE), it seems my app doesn't get there when running on a Samsung Galaxy.
View 1 Replies
Sep 8, 2009
I've been working on a Flash/XML audio player and have been struggling with getting the audio to stream. Right now I have Flash create a list of songs based on the loaded XML file, which works, and I want to be able to click on one of the listed items for the song to start playing. When an item is clicked on, Flash will trace out a message from an onLoad command, but the audio never starts playing.
I opened a new Flash file to test the non-working segment of code and I still can't get it to co-operate.
Code:
var currentsong:Sound = new Sound();
currentsong.loadSound("http://www.vtspencer.com/recordjackets/beta/media/file_11.m4a",true);
[Code]...
All that happens is that the trace saying "Should be playing" comes through. The music still won't start.
View 1 Replies
Sep 8, 2010
I'm picking up Flash and AS3 after working with AS1 a few years back. My first project is a mp3 player that is able to take an mp3 file, a start loop point, and an end loop point to loop the mp3 without any gaps or breaks in the sound.
blog.andre-michelle.com/2010/playback-mp3-loop-gapless
I found this page that got me started, and went off of that code. The resulting player works perfectly except for one fatal flaw. As far as I know, the mp3 file must be fully loaded to be able to use the Sound.extract method on it, this can take a while when the files are 3-4 MB, especially on slow connections. I want to be able to have the audio start playing as soon as the mp3 file begins loading.Is there any way to use the Sound.extract method on a streaming audio file that has not fully loaded yet?
View 6 Replies
Nov 14, 2005
I am creating a flash project which contains video on a few pages. The project also contains background music which loops continuously. The goal is to have the background music stop whenever the user is on a page containing video and for the music to play again when the user leaves said page. The script I created works to stop the music, but it also stops the audio contained within the video and causes the video player (by proxxus) to lock up.
Here's the setup:
Library:
music.wav - linkage = "myMusic01"
Main Timeline:
Code:
//-- create a variable to determine if the current movie contains video
var currMovie:String = "notVideo";
//-- start playing sound object
myMusicMc.myMusic.start(0, 999);
[Code] .....
On the actions layer of the movie clip containing my navigation controls snippet of the callback used
Code:
videoLink_mc.onRelease = function() {
_parent.prodDetail_mc.gotoAndPlay("video");
_root.currMovie="Video";
}
on all the other buttons currMovie is set to "notVideo".
View 12 Replies
Feb 14, 2010
As I've searched a lot and couldn't find it I thought of asking it here. Is there any good package or tutorial on Audio Manipulation? With this I'm not talking about play/stop/volume etc, but more on bitrate/speed manipulation etc. Or reading values in the sound (like an EQ does basically).
View 2 Replies
Feb 8, 2011
I have a few animations that run on different scenes each time a scene is loaded the external audio should start with it. Well here is the thing the animation always starts before my audio files and each scene gets bugged. I need to create an action that only allows my scene to start with the audio and also starts loading the next audio so it wont be dellayed.
On the first scene I have the following code:
scene 1 frame 1
var autoPlay:Boolean;
if(!autoPlay){
stop();}
scene 1 frame 2 animation starts and audio 1 loads
import flash.media.Sound;
[Code] .....
View 3 Replies
Nov 11, 2010
Is it possible to play multiple sound files using a single sound object? (I've looked into this back when I was using Flash CS3, but I want to know if anything has changed.)
(I'm trying to make a playlist which will play music in the background of my SWF movie and then have a frame where users can change the song and the volume.)
View 2 Replies