Actionscript 3 :: Create Sound Sequencer/mixer In Flash?
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
Similar Posts:
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
May 31, 2009
how to create a multitrack audio mixer?
View 2 Replies
May 20, 2004
create a basic drum sequencer in flash, but could do with a bit of a steer on the best way to achieve the it ...Basically my thoughts were that you would have a list of movieclips (i.e. bass drum, snare, hi-hat, cymbal, etc.) that could be dragged to a grid 16 columns wide (i.e the equivalent of a 4/4 bar of music) and however many rows deep,I decide to allow for tracks (i.e. a snare). The subsequent 'grid' is a movie clip with a playhead clip attached that indicates at which point playback is along the grid (each square relates to a frame [or possibly frames] within the grid clip. When the playhead reaches a populated square it plays the sound that was dragged there. I have no idea how to go about this though! For example
1) Can the attachsound a/s be used here to assign sounds to a specific frame of the grid mc?
(2) Can these be done via a drag and drop
(3) presumably an array is a good way of managing what sound has been assigned to what square of the grid?
View 3 Replies
Jan 31, 2012
Is there any AS3 library or code-snippet that can create altered versions of a Sound object on-the-fly (at runtime)? Either based on:
An existing Sound object; A ByteArray object;
For example, say you have a "dry" sound of a gun-shot. You could:
[Code]...
View 1 Replies
Feb 23, 2012
its for a music sequencer im working on. the class needs an mp3 loaded into the soundchannel to work.I want the soundchannel to be empty and to listen for the sequencer,The visualisation reacts to the sequencer but only when an mp3 is loaded, I just want it to react without an mp3 loaded...
View 3 Replies
Dec 13, 2010
So I'm trying to make a basic step sequencer and I'm somewhat of a beginner when it comes to AS3. I was wondering if anyone knew how I could set up a decent array or object for this sequencer?
I think I have the loop down but I'm stuck at the object/array and timer.
View 2 Replies
Sep 13, 2011
I am currently learning the key fundamentals of as 3, so far i have the official Adobe Classroom as3 and lots of essential training videos as well as gaming tutorials (which i havn't had time to go through yet). But I was wondering if there are any tutorials or classes I could use in order to make a simple 16 x 16 drum sequencer or any other music type web app?
View 9 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
Oct 14, 2009
It's possible to play a sound file through AS, either by loading it from a folder or import it to flash. It's also possible to play a dynamic tone with flash.media.Sound + writeFloat.
But... is it possible to play a sound file with flash.media.Sound + writeFloat in some way? I want to play a sound file without having to deal with any files except the .swf!
View 9 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
Oct 27, 2009
I need to create a basic bar chart distribution in ActionScript 2.0 based on sound output. I realize that ActionScript 3.0 has a very nice sound visualizer class SoundMixer.ComputeSpectrum but the limitations of my project require me to use ActionScript 2.0. Im wondering if you know of
A. Any third party libraries that I can use or purchase to create basic visualization effects based on sound output in AS2
B. Whether it is possible to create the sound visualizer in ActionScript 3.0 and somehow import/embed the AS3 file/swf in the AS2 file but allow the AS3 file to read from the AS2 sound
View 2 Replies
May 18, 2009
create the sound seeker in flash (actionscript 2.0)..
View 1 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
May 29, 2011
I'm trying to create a visual waveform for an MP3. The code I've included is called on successful load of the MP3. I intend to extract just a few important samples from the sound to create the waveform, rather than extract the entire sound into a bytearray. Even on a good machine, extracting an entire song can cause flash to freeze up for 3-5 seconds (or longer!). For my purposes, this isn't feasible.
Unfortunately, the code I've got below is failing to produce any numbers. If I extract the entire song it functions, but extraction of just the key points is giving me nothing. Does performing an extract make the remainder of the sound object invalid for future extracts? If so, is there some way around this that won't freeze flash for an extended period of time during the extract? Some important variables from the rest of the code:
[Code]...
View 2 Replies
Oct 26, 2010
I'm trying to create a background sound in flash website. I created play/pause buttons and it works fine, but when the sound is over it stops. What I want is the sound to loop, not to stop. I tried different things but I can;t get it working as I wish. Here's my code:
Code:
var mySound:Sound = new dogg();
var myChannel:SoundChannel = new SoundChannel();
myChannel.addEventListener(Event.SOUND_COMPLETE, whenComplete);
function whenComplete(evt:Event):void
[Code]...
View 0 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
Jan 27, 2003
I wonder how to create a timeline for my sound that i attached to a variabel. And then how to control where in the timeline the sound should play.
View 3 Replies
Oct 31, 2009
I need to create a sound select board. There are 6 buttons; 5 which contain music, and one which will silence the music. Each time you push each button, the previous music will stop. The first button's music will start automatically.
View 1 Replies
Nov 8, 2009
I am using actionscript 2.0 and I am trying to create multiple sound buttons that trigger multiple different .mp3 files via mouse click.I have gotten it to work with one sound file using this actionscript [code]but as soon as I add another button and try to link it to another file it does not work.I would like to make it so that even if I click another button to start another sound, the first sound keeps playing.
View 1 Replies
Mar 19, 2011
How to create sound object dynamically in one movieClip.
Example
for(i=1;i<5;i++){var sound + i = new Sound();}
View 2 Replies
Mar 30, 2011
My issue is that I have 10 small audio clips and I want to make them into variables that i can access later in the code. But I'd be happy if I didn't have to write the same code 10 times down over and over to create/access them.[code]...
A question on the side, is there any built in sound generator in actionssccript 3.0?
View 1 Replies
Aug 18, 2011
I need to create an audio file (sine wave) of a particular frequency. I need to do this in actionscript 2.0.
View 0 Replies
Mar 20, 2003
how to use actionscript loops to loop things, like sounds for example. Can someone show me how to create an infinit loop for a sound. If you can a step by step thing would be nice since i am a TOTAL newb at actionscript, i can do the other things in flash but the actionscript messes me up. And for the loops, what frame do i put it in in the actionscript if i want to to go throught the entire scene?
View 6 Replies
Aug 18, 2009
why does this not working?
for (i=0; i<=numVoices; i++) {
var this["voice"+i]:Sound= new Sound();
}
[code]......
View 2 Replies
Mar 14, 2011
I have a project that requires me to display the waveform for a uploaded sound. The sound is always an MP3, most of the time 22.05 kHz mono, with speech only. The project are written with Flex/ActionScript 3. It's meant to run in the browser, but might also consider converting to AIR if that can help.
All examples I've found and looked at for generating a wave, are either doing some visualization in real time as the sound is playing, or, the most promising, as3soundeditorlib, keeps the wave already generated, but does it very slowly, seemingly using as long time as playing through the audio would've taken.Is there any way to generate the wave faster than real time?
View 2 Replies
Oct 25, 2009
I have some sounds in my library. They are all exported and have been given class names like C, D, E etc. I have another class that represents a button. This class stores a reference to one of the Sound in my library. I set the type for this variable to Sound. When I try to set it I get the error: cannot convert C$ to flash.media.Sound I try as Sound, for example key.note = note_array[p] as Sound; The value ends up as null.
View 2 Replies
Dec 15, 2011
This is what I try to do: I am creating a game with spoken sentences. These sentences are loaded dynamically from an XML file, which contains the paths to mp3-files.This is what is currently happening: All sentences are spoken at the same time.I want them to be spoken one after another - how to I obtain this requirement?This is my (simplified) code example:
import com.hydrotik.queueloader.QueueLoader;
import com.hydrotik.queueloader.QueueLoaderEvent;
_oLoader.addEventListener(QueueLoaderEvent.ITEM_COMPLETE, onItemComplete,false, 0, true);
[code].....
View 3 Replies
Oct 13, 2011
Just wanted to ask, is it at all possible to create sound spectrum from the data that RTMP server streamed? I read this computeSpectrum and it says
"In addition, this method cannot be used to extract data from RTMP streams, even when it is called by content that reside in the same domain as the RTMP server."
I will not be using FMS so it stays inpossible. Are there any available hacks with php and the server or whatever?
View 1 Replies
Jan 20, 2012
I know global variables are supposed to be bad but is it possible to create global classes? I am creating an application and I want to have one class that handles sound. From any class I would like to be able to say soundhandler.playSound(); without having to pass references all over the place. It should just know it is there.
View 1 Replies