Flash :: External Audio Processing Technology Player Interact With In Realtime?
Apr 3, 2012
There may be more than one answer to this, but I'd like to know if there's some technology out there that exists to handle Audio Processing / Playback in realtime, so that Flash can:
Interface with the technology / plugin to generate sounds with no delay or lag. Apply DSP effects (Reverb, Delay, Dynamic Range Compression / Expansion, Distortion, etc). Manipulate DSP parameters in realtime (sweeping an EQ filter's band or Q).
The most important thing of all, would be for this technology to be available to most users, as it would likely be used for Gaming environments or online Audio production, even. So far, Flash has a few ways to manipulate Audio Data, such as the SampleDataEvent, Andre Michelle's Popforge library, chiptune libraries like SiON, and possibly some other unheard of libraries.
I'm not really convinced though, that these methods are the optimal ways to create interactive sounds - sounds that change depending on game conditions, sounds that closely responds to the users actions. Nothing (that I've seen so far) easily allows developers to create or communicate with a DSP effect in order to manipulate the sound in this way, in realtime.
I know that Flash has the ability to communicate over sockets / ports, so perhaps there is an existing library that can communicate with an external plugin, and can be easily distributed to users at the same time.
i am currently working on a audio visualizer in flash but is stuggling to get flash to detect sound off my onboard sound card. Is it even possible now with flash 10? Something like an audio fft but in flash.
This is not a specific question, instead I'm trying to get an idea of flashes capabilities. I'm building a website that has an Mp3 upload component on it. Serverside I can use the command line audio tool "SOX" for most of my heavy lifting but I'd like to offload some of it onto a flash client. Essentially, client side, needs to be able to do the following: User selects an mp3 file off their harddrive. Render it as a waveform. Display a scaled indication of 30 seconds of the waveform that the user can drag backwards and forwards. This will record a start time. Upload either the full mp3 or just the selected start time plus 30 seconds.
I've never programmed anything in flash before so I'm not really sure what it's capable of.
I am using CS4 with AS 3.0... I want to implement both a freeware photo flash gallery and mp3 audio player that I found into my all-Flash website. Both of these require reading from an xml file to get their content. They both come with html embedding instructions, but I don't know about actionscript.
I've been trying to understand how flash animations or a Java Applet work within a browser. I can think of a couple of ways - The Flash Player/Java Applet are machine code that's dynamically linked it, and given some parameters about the area of the screen that belongs to them; after that, they run within the same process space. The browser exposes an API that the player/applet use to talk to it and they live in a separate process. (Presumably they talk via sockets?) The API could correspond to openGL/X11/some custom calls.
These possibilities still don't explain things like how a button click can make the player full-screen, how it can play music, how it can inspect the DOM, etc. For that matter, is the video displayed by decoding to a sequence of images, and rendering them one at a time, or is there a more efficient way, e.g., of pushing the deltas in the image? The Wikipedia page on Java Applets
(1) talks about how the applet is run in a sandbox (presumably a separate process), but it doesn't say how the browser and the applet communicate. Perhaps the answer depends on the underlying platform?
I have a flv file which is in spanish and I want to show the original video but I need to play the audio file which is in english. The length of the video and the audio file is same but I need to mute the audio of the video file and play the external mp3 file instead of it. Also the files will be hosted on a server and so the Streaming should be done for the video and audio simultaneously.
Flash Player 10.2.153.1and Flash Player 10.2.159.1 are crashing my standalone application. Later with version 10.1 the application run ok, never crashes but was taking more than 90% CPU. The new Flash Player solve the problem of resources, and drop down CPU to 30%, but the application crashes always after a while, unespectly, or if I open the window of other application.
In the other hand when I disable the harware acceleration at the swf settings, the application goes crazy and start to make rapid flashes, and frame rate goes down to 8. [URL]. Right click on the Flash logo, Settings,then UNcheck the hardware acceleration in Display Settings.)
I'm on a Mac Mini Core 2 Duo with Mac OS X 10.6.7 (the last Snow Leopard these days). The graphical card is Nvidia GeForce 9400M.
I did test the application at a Mac Book Pro core i5, Mac OS X 10.6.7, graphica card Nvidia GeForce GT 330M and the application is more stable but finally crashes too.
Finally if I export my application with GPU Hardware acceleration at Publish Settings, my application crashes almost inmediatly after I open it in each of the computers.
My guess is that the new Flash Version is using my graphical proccesor in a corrupted way.
I'm looking for a (free) flash player that I can embed in my site and use to play a .m4a (.mp4 with AAC audio) file that will be obtained using a URL (i.e. it's not local to the server hosting the web page).I've tried searching on google for one, but either I'm searching wrong or no one has made such a thing. Ideally this would be very simple (small user interface with play button and maybe a progress bar) and it would be easy to have multiple instances of on an html page (can create the player with an <object> tag).
Anyone know of a skinnable audio player (or something similar to Windows Vista audio control in task bar) that i can embed in my website?
A player that can be customized to use a 'speaker' icon instead of a 'play' icon. When the speaker is clicked, the volume can be adjusted or turned off. The option of being able to autoplay and set the default volume level.
I have an audio player that has a custom timeline and playhead. I am using a start and stop drag to move in the time line but the only way i can make it work is to have it play when ever I release the play head. I would like it to stay stopped if the player is paused and play if the player was playing.
I am new in action script 3.0. i am trying to build an audio player which will stream audio(mp3 etc.) from wowza media server. the player needs to have a play button, stop/pause button, a play progressbar and a volume scroll bar. i am using NetStream object to paly the audio
A groups of friends are working on a little game that would listen to the microphone as part of the interaction. We've tinkered with processing and flex. What we'd like to know is if anyone has succeeded in:
recording from the microphone using a web app
performing an FFT on this microphone data
In the case of flex, according to the docs "Because sound data from a microphone...do not pass through the global SoundMixer object, the SoundMixer.computeSpectrum() method will not return data from those sources."
I'm currently having a little trouble in a project where I have the following occuring: Code: preloader.swf --- loads 2x --- homepage.swf --- can load --- products.swf
When the products.swf is loaded, the starting animation occurs as expected and is displayed on the screen without an issue. However, I can't interact with any of the buttons contained in the products.swf. The products page works like an overlay over the top, and the homepage.swf contains an background which can be clicked on to close the overlay. If you click on the products.swf it reacts as if the background was clicked, which it shouldnt as the products.swf is located on top of the background.
I have already checked the obvious parts, and am ensuring that products.swf is located at numChildren-1, so nothing is getting in the way. The catch is that everything was working fine when the code was internal to the fla, and now as soon as I moved the code to an external .as file nothing works. I am using the same way of loading the products.swf as I am loading the homepage.swf, which looks like:
Code: var productsLoader:Loader = new Loader(); productsLoader.contentLoaderInfo.addEventListener(Event.COMPLETE, onProductsCompleteHandler); productsLoader.load(new URLRequest("products.swf")); onProductsCompleteHandler: [Code] .....
when you are recording or mixing a band in multi track, you have the bass drum in its own track, the snare drum in its own track, the lead vocal in its own track... etc.So my idea is this. I want to make a Flash player that can reproduce 5.1 mp3 files through a regular stereo set and let the user be able to mute specific tracks on the go.
Why this? Becouse I won't use them as a regular 5.1 audio, which its function is to hear audio in surround sound. In this case, I will use each track to put a different instrument, so in one you have the drums, in other the bass, in other the guitar, in other vocals and in other keyboards.
He can for example mute the drums, or hear only the voice... etc.It would be even better if the flash interface can look as a mixer and that each track has its own mute and solo button, and a fader to controll the volume of that particular track.
So far my code stops the sound but once it has stopped the sound no longer works. I don't see any errors reported. It is as if the event listener no longer listens... stop(); var soundClip:Sound = new Sound(); var sndChannel:SoundChannel = new SoundChannel(); var soundClipCompleted = false; var isPlaying = false; soundClip.load(new URLRequest("tune.mp3")); [Code] .....
What im trying to do: well basically I want to create an audio player in flash. I would like for it to have buttons for next and previous track, pause, stop, play, and display song info.Basically the one here at the bottom of the page:[URL]So what I got down at this point:
-Creating stop and play buttons that load/unload external swf files that contain the song.-Show track info.-Creating next/previous track buttons so I can rotate between more than one song.-Pause button.
I am trying to put together a simple game and have been doing really well until I decided I am going to have to create a new class to handle enemies.What I have so far is a player walking around on random terrains and I am up to the point where I have placed x amount of enemies on stage at appropriate times. I have written their class which will hopefully eventually handle their behavior and it outputs simple trace("BOO!").
Where I face the problem is that I obviously would like to make these enemies follow the player to attack. But when I try to access the .x or .y attributes of the player, it throws an error: 'call to a possibly undefined property with static type Class'?I have tried accessing the .x using the following ways (where badger is my player instance and Main is my class definition within the properties of the FLA):
Main.badger.x Main(root).badger.x Stage.badger.x
I have also tried to access other vars and still nope..My class code is this:
I'm trying to brainstorm ideas on a site I'm managing. [URL]. (Once the page loads, click on "The Fixx" menu option). On this page, I have a list of radio shows that this DJ has produced. It's a compilation of songs that he posts up twice a week roughly. Currently the way it's setup... is you can click the button and it opens a pop up window with a player that plays the corresponding file. However... I want to be able to have a window open up that has a playlist of the songs contained in that mixshow in the bottom (Not something they will be able to click on to go to a particular song, just something that tells them what is on this show) and the player at the top. I also would like the capability of dragging through the song so they don't have to listen to the whole thing. Currently it's abit cumbersome, and I know it'll drive more viewers if I add playlist functionality.
I deployed a website a couple of days ago which is written entirely in Flash. On one of the pages there is a video which plays in the Flash Player. I have noticed that when I leave the video playing and select a button to take me to another page, the other page comes up but the audio keeps playing from the prior page. Worse yet, if I go back to the page with the Flash Player, it now relaods again and there are two audio tracks. Can someone tell me how this code is solved? There must be some Actionscript 3.0, which I'm using, which kills the player whenever you enter a different page?
How do you stop audio playing in a SWF file in a web page when the user navigates to another section?
In fact how can you manipulate audio in general. eg You have three player instances on screen and you want to allow the user to mute or enable the audio on each one without a set of on screen controls- and to control which one is ON as you enter the frame / scene
I am looking for a flash solution to insert easily into a dreamweaver html page. I need a small audio player with a start and stop button. It should have a white background (no text). To work like the example in [url]......I would like to have a flash plug in that allows me to insert into another webpage and use an FLV file or other audio format.Dreamweaver's player does not look good inserted into any webpage.
Audio flvs that previously would play fine no longer play. I get "NetStream.Play.Failed".This occurs when progressively playing over HTTP, i.e. starting NetConnection.connect(null) and then NetStream.play("http://url_of_my_flv");Regular RTMP playback still works.So, I've seen two posts with similar issues in the last day or so:
Does there exist a library / program that can play mp3 files using flash as html5 fallback dynamically? By dynamically, I mean that the player can switch the current mp3 thats playing, even after dom has loaded. The problem I run into with most flash audio players is that they depend on the song being loaded when the dom loads, but my website loads songs through ajax.