Actionscript 3 :: Widen Up The Sound Wave?
Sep 23, 2011
I am implementing this code for drawing the sound wave. It is in the adobe livedocs at soundmixer . My problem is how to widen up the sound wave? For example I would like it to be 655 pixels. I can change it to draw to different channels and also change the height of the drawing but cannot find how to change the width of the whole drawing
package {
import flash.display.Sprite;
import flash.display.Graphics;
[Code].....
View 1 Replies
Similar Posts:
Jan 16, 2011
I'm working on an animation where some guys sings and in order to make that look good, i need some good lip syncing. Since this is not short clips, but a whole song on 2-3 minutes, it's very hard for me to make the lip sync perfect because I have to replay from the beginning in order to hear the music. So question one is: Are there a way that I can play the movie in the middle and still hear the music? And so the second question is that I can barely see the sound waves in the Music layer, even though there's lots of music. Here's a picture of how big the sound waves are: And that's in the middle of the song! The problem is not that the music is too low, because it's quite high. So question number two is: Are there a way that I can make the soundwaves bigger in the music layer without affecting the music itself?
View 1 Replies
Jan 28, 2009
I know AS3 can create visualizations using sound waves, But I'm trying to find something that will show the wave length within a mp3. So as it's playing, you'll see when the audio is spiking or dipping.
View 4 Replies
Jul 10, 2009
I'm generating a sine wave and playing it as a sound. But When I call SoundMixer.StopAll() it's causing a click when sounds stops. I think its because it's cutting the sound off in the middle of the wave, I was wondering of a way to make the sine wave slowly ripple out before i stop it. Is there already functions to do this in Action Script 3 or is my sine wave function i need to modify here is my code for the wave.
function sineWave(event:SampleDataEvent):void { var sample:Number for (var i:int=0; i<8192; i++) { sample = Math.sin((i+event.position) * ((2 * Math.PI)/44100) * freq); // freq is just any frequency event.data.writeFloat(sample * .15); event.data.writeFloat(sample * .15); } }
View 8 Replies
Dec 15, 2011
I want to stimulate sea wave,but I have no idea about it. Is there an example code for it? I know as3 can make many good graphics and text effect, so I want to learn it eagerly,but I don't know which book should I read. Anyone could introduce a good book for me about as3 algorithm? More example code are better in the book.
View 3 Replies
Feb 15, 2007
I wander if anyone knows a way how to make a wave effect in flash. In fact anything that would remind of sea would be accepted.
View 7 Replies
Apr 19, 2011
The problem with Math.sin() is that I cant figure out a way to control the increment. Still this seems like a lot of code for such a simple concept.
[Code]...
View 2 Replies
Jan 2, 2004
i have mc cruisin along a sin wave curve, code:
[code]...
Q: how can i set an orgin/start point?
View 5 Replies
Dec 16, 2006
how to create an interactive wave using actionscript and flash api? I mean the interaction like this but not so complex (I need jsut about 10 to 20 peakpoints)URL...
View 2 Replies
Nov 10, 2008
I've been trying to piece together a way to have an image with a flag wave fade in as soon as the movie loads. Once the image is faded in almost all the way, I want the waving to slow to a stop so at the end, it's a static image. I've gotten most of this accomplished, however, once the flag wave slows and stops, the entire image shifts up and to the right. I'm sure it has something to do with some displacement variable, but since I'm no coder I can't seem to figure out how to stop this.[code]...
View 1 Replies
Jun 30, 2010
I want to make a movieclip move on random sine wave. (sine path)I m trying to do this for a week and cant get it good.I want to make the curves random. and acceleration too.(it will be a fish like character swimming)Like as in this game : http:[url]..........(the small character which swim and move smoothly)this is the portion of code im using now.
var tempEnemy:MovieClip = _root.attachMovie("enemy1","enemy_1,1);
tempEnemy._x = 500;
tempEnemy._y = 0;[code]..........
View 1 Replies
Jan 25, 2010
I have different cards, I need to reveal them in a wave like form, i.e. the cards open and close at different timings sequentially and systematically such that they form a wave. I have the cards in an array alr. How do I implement this animation in the most efficient way?
View 2 Replies
May 30, 2010
how can i play wave file using flash .
I m able to play mp3 files using following code
[URL]
View 1 Replies
Aug 26, 2011
How do I infinitely loop an mp3 file in standing wave. I've tried LoopSource with SoundGenerators etc, but I've had no luck. I can find no usage examples in the documentation or online of someone looping anInfinitely mp3:
var player:AudioPlayer = new AudioPlayer()
const generator:SoundGenerator = new SoundGenerator(sound)
source = new LoopSource(new AudioDescriptor(), generator)
player.play(source)
View 2 Replies
Apr 1, 2011
I want to create a organically moving background for an application I'm building by creating a line that animates in a wave and changes in thickness. This is the background the designer made and that I want to animate
martijnreintjes.com/docs/lines.jpg <= darn
I don't have enough right to post a picture. I tried to use the Hype framework but couldn't get it working properly. I think I need to work with some Math functions but I don't know exactly how to tackle such a thing.
View 2 Replies
Jun 1, 2011
how to create a sine wave using flash as3?and how to add changes to the wave based on changing frequency and wavelength using a slider.
View 2 Replies
Jun 11, 2004
how do i make this sine wave picture effect ,wave on the horizontal insted of the vertical
)
( vertical as it is now
)
[code]....
View 11 Replies
Feb 6, 2006
This is a project I am working on for my job's website. When you rollover the red dots I want the wave animation to play but I also want words to come up in the blue bar describing the location of that specific dot (e.g. Singapore), but I dont want the wave animation itself to have rollover because that causes problems. Right now the "dot" button has a "hit" area that plays the wave movieclip so the wave doesnt have a rollover property. I tried just adding another rollover property to the whole "dot" movieclip that would display the descriptions, but that made it where the wave mc wouldnt play on rollover. I also want the wave to play out in its entirety, not disappear as soon as you rollout.
View 8 Replies
Jun 8, 2006
I have a logo that I made in Fireworks, and it looks decent, but I was wondering if anyone could mimic it with movement. For example, if someone could use actionscript to make it "wiggle" or wave like a flag in the wind, that would be awesome.
Notice how the blue line itself stays at about the same thickness (it barely starts getting thicker), but the shading around it thickens as it goes more and more to the right.
Here's the image (ignore the text):
View 1 Replies
Jun 10, 2006
I made a semi-sinewave effect (view attachment) and it works fine with one exception. I want for it to wave on random intervals (from 1-15 seconds) instead of continuously, but I can't get it working right. Here's the code:
[AS]
pts = 5;
sine = 0;
[code].....
View 4 Replies
May 30, 2009
how to make wave text effect in as2.0
and i need to know on how to make workArt effect ( worddocucment) in flash
View 1 Replies
Feb 22, 2009
i have tried to fiddle about with it and i want to attach the wave movieclip instead of it using beginfill function.
View 1 Replies
Jul 5, 2010
task:already have the component - slide show.need to make the next effect for changing pictures :
the wave goes through the screen, hides one picture opens another.the problem is - wave changes it's geometry while moving , there could be several subwaves in wave.how can this be done (simply) ?
View 4 Replies
May 27, 2011
There are a couple of problems i'm having with this - the first is how to work out how to find where the tip of each sine curve is (ie the frequency) and the second is to work out how to rotate each object so that it slides sideways along the sine wave(note file is 800 x 600)here's my code: CarouselTest.as:
package
{
import com.greensock.easing.Sine;
[code].....
View 1 Replies
May 28, 2011
I am trying to figure out how to change the pitch of a sound in Standing Wave 3 actionscript library. I have imported a sound at 440hz(A) and am trying to change it's pitch to say a (C) note.
View 1 Replies
Aug 26, 2011
I'm trying to replicate the motion of a 'mexican wave'. I am using Flash CS5, and using AS2. I've created a 'jumper' graphic and animated it in a clip so it jumps once - up then falls back to the ground. I've pulled the clip in to the main timeline and replicated a bunch of times so I have a row of 'jumpers'. I've given each instance a unique ID. Then I'm telling each clip instance to start playing, in sequence, using the following code:
var total_jumpers = 36;
var i = 0;
var jumpLag = 1000;
function do_jump(bottle) {
jumper.play();
[Code] .....
In the clip, I have put stop() in the last frame to try and stop it looping. So this works ok, but the clips seem to loop - I can't get them to stop.
View 1 Replies
Aug 22, 2011
how to get the Perlin Flag Wave shown at
Senocular[dot]com/flash/source/?entry=761
to go from right to left?
Reversing the gradient of the displacement does not work. It simply reverses the amount of the effect on the left side so the waves are bigger on the left end, but the waves still move from left to right.
View 3 Replies
Jan 24, 2012
As you can tell from the title I am not very good at math ( sigh ).
Is there a way I can create a sine wave with any given angle between 2 points ?
View 3 Replies
Jun 3, 2004
I am sooooooooo lost. I need help in making a movie clip go in a wave motion with only action script. basically I am trying to make a game and I am so lost on how to make the enemy come in and fly in a wave motion from the left to the right in an up and down motion. I thought it would be easy but I must be using the wrong code since my enemy plane is just fly from left to right and not going up and down.
View 8 Replies
Sep 19, 2010
How do you create a sinusoidal wave using the drawing API in Flash?
Code:
import flash.display.Sprite;
import flash.display.MovieClip;
import flash.geom.Point;
[Code].....
View 5 Replies