Beep And Other Sounds Part 2
If you’ve read part 1, you already know how to generate sound – just pass some values into a ByteArray when a SampleDataEvent event fires – so now let’s see what kind of noises we can make.
Read more…
If you’ve read part 1, you already know how to generate sound – just pass some values into a ByteArray when a SampleDataEvent event fires – so now let’s see what kind of noises we can make.
Read more…
If you are an old codger like me, you will (fondly?) remember the sounds of early computer games. They were mostly monotone beeps and bips, but there were some real gems that took the audio experience seriously (think Defender) and used the simple audio abilities in more interesting ways.
Now, just 30 years later, Flash can also generate it’s own sound…
Read more…
Today i am going to show you how to create a simple audio visualiser. Using the SoundMixer class we can sample whatever audio is currently playing and it’s a doddle to use:
var bytes:ByteArray = new ByteArray(); var fft:Boolean = false; var stretch:int = 0; SoundMixer.computeSpectrum(bytes, fft, stretch);