Actionscript 3 :: Detect When The Shader Is Done Mixing The Audio?
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
Similar Posts:
Dec 29, 2011
I understand the 'xyz' components of a vertex's position, but what does 'w' do? Could it be left as the same constant value all the time?
Example:
mov op.xyz, va0.xyz
mov op.w vc0.w
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
Feb 28, 2010
is that possible and how?
View 1 Replies
May 26, 2010
Is there a way to detect whether an FLV file contains video, audio or both?The flv file is streamed to a flash client, that needs to show a certain view depending on the data in wrapped in the flv file.
View 1 Replies
May 22, 2009
Is it possible for Flash to detect the tempo of audio coming through the microphone (ex. - someone singing into the microphone or playing music on their computer)?I am trying to figure out whether this is possible.
View 2 Replies
Jan 7, 2007
i need to play back mp3 file in flash. but i have more one output device installed in my pc. the question is:-
can flash list all (detects) audio output device installed in my pc then let me pick one of them to play back sound by selected output device?
View 1 Replies
Jul 1, 2010
Is is possible to detect within JavaScript of Flash if there is auto audio another flash object (mostly ad) on the page?
View 2 Replies
Feb 5, 2012
Using the Molehill with Flash I wish to create a vertiex shader, to have one mesh transform into another, I have seen that it is possible with Flare, However I am unsure if that was using Stage3D, Can anyone give me any pointers in the use of shaders in AGAL as to how this might be done.
View 2 Replies
Nov 12, 2010
I want to make such effect: draggable semi-transparent object (let's call it 'plastic strip') over window with arbitrary objects. Plastic strip should be turbid, i.e. it blurs content under it (not blurred itself). What's the best way to do that with PixelBender shader on Flex?
View 1 Replies
May 2, 2011
I've been struggling to write a Phong shader for my Molehill project. The problem is that the light seems to shift or move when the camera rotates. So I've been investigating what could possibly be wrong, by basically comparing my shader with the Phong shader written in GLSL. There's one thing I found that is kind of weird. In GLSL the output position in the vertex shader is ModelViewProjectionMatrix * Vertex, ok that is just fine.
HOWEVER, in Molehill the ModelViewProjectionMatrix has to be transposed so that it will render the vertex correctly to the screen. In GLSL that is not necessary.
How did I find that out? I created the Matrix3D modelViewProjection, I applied the ModelView to that matrix and then the Projection matrix. I tried to give the vertex shader that matrix and it displayed nothing until I transposed the modelViewProjection.
In GLSL this is not necessary, I could just say output.position = projection * modelview * vertex and it would be displayed correctly, I don't need to do transpose(projection * modelview * vertex).
So.. I'm wondering if there's something that I am not seeing here or is this a special part of Molehill that we just have to follow? Or could it be a bug in Molehill? I will create a new post tonight with my Phong shader and hope that someone sees what I may be doing wrong. But this is confusing me a lot at the moment and would like to know why the matrix has to be transposed.
View 1 Replies
Oct 25, 2011
How would I go about making a 2d lighting shader, that only made the things near the player visible?
View 3 Replies
Jun 20, 2011
Here's a snippet of a pixel bender shader that I'm using in Flash:
parameter float2 srcSize
<
parameterType: "inputSize";
inputSizeName: "src";
>;
input image4 src;
The width and height of the source image are filled in correctly in the Pixel Bender Toolkit, but when I run this shader as a filter in Flash Player 10, the srcSize value is not automatically filled in.
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
Aug 31, 2009
I have some animation (programmatic, I'm NOT using keyframed animation in timeline), and some music I want to play in the background. Once the music file reaches the end (about 30 seconds long), I want to trigger the end of the animation functions.I figure I could either use an actionscript timer to trigger the end of the animation or a keyframe with actionscript that is placed on the timeline near the end of the song but these methods assume knowledge about the duration of the wave file. If I changed the framerate or updated the external wave file, these triggers would possibly no longer sync upIs there some sort of event listener or other detection method for an audio file to signal it has finished playing? Or maybe there is a way to get the duration of the audio file to use in the timer
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 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
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
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
Aug 6, 2010
If I import an FLV video is there any way to remove the audio, put the audio into a byte array, and then re-add the audio to the flv video?
View 1 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
Aug 25, 2009
I ran a simple live video streaming application for the first time with actual users and ran into a couple of serious performance issues that had not turned up during testing. In this instance there was one video stream from a live web cam and used FMLE at 150 kbps using VP6 and MP3 @22k. There were 16 clients and everything worked pretty good for about 30 minutes. (although some clients said their audio and video were out of sync by up to 3 seconds)
Then individual clients would have either the video freeze or the video would continue and the audio would stop. These clints had to "disconnect" and then "connect" again to the application. This happened to all of the clients at one time or another for several minutes. I stopped and restarted the FMLE with progessively lower bandwidth settings down to 75 kbps but still clients were having the same issue.
I eventually stopped the FMLE and used the applications built in publisher at 45 kbps and that seemed to eliminate the freeze/dropping issue. But of course the video quality was very poor and some clients still reported that the audio was out of sync with the video. The server hosting the FMS application is a quad processor dell with lots of memory and network connectivity. The Flash Media Admin Console performance graph showed the total Bandwidth as 3 Mbps at maximum.
View 8 Replies
Mar 11, 2010
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.
View 1 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