08Feb

[AS 3] SoundMixer.computeSpectrum For Sound Spectrum Analyzer

4 comments so far

I wanted to continue on with creating visuals for audio files and discovered the SoundMixer.computSpectrum class that will help in generating a full Spectrum Analyzer. I will post my .swf on another page as there aren’t any music playback controls in the movie.
View the demo here.
Here is the code for the bar:

package
{
import flash.display.Sprite;
public class SpectrumBar [...]

Categories: Actionscript 3, Audio
07Feb

[AS 3] Loading External .mp3 File and Retrieving ID3 Information

No comments

I just discovered that Actionscript 3 has the ability to read the data that some .mp3 files have in them. To demonstrate I created a little movie below that will output all this data and dump it in a TextArea Component. In addition, I created a little analyzer demo for the right and left channels.
(I [...]

Categories: Actionscript 3, Audio
06Feb

[AS 3] Loading External Audio with Play and Stop Controls

2 comments so far

Here is a basic class that will load in an external .mp3 file and output some text when the file has been loaded. You can toggle the audio (play and stop) by simply clicking on the movie. Please note that stopping the audio is different than pausing the music.


Here [...]

Categories: Actionscript 3, Audio
02Jan

[AS 2.0] Flash .mp3 Player With Consistent Playback Across Multiple .html Files

No comments

There are many flash based .mp3 players, but for one particular project I needed one that would play consistently as the user browses a website so the playback would not be interrupted. The concept of the build was essentially to load music data and imagery from an .xml file and play accordingly. In addition when [...]

Categories: Actionscript 3, Audio