Audio Experiments

Audio Experiments

Audio Experiments

The previous couple of weeks have been seriously busy times, I’ve been working manically on Boom Bugs and also preparing for a talk I’m giving at the London Unity User Group tomorrow. So to relax myself after intense developing and practise talk sessions, I’ve been doing a couple of audio based experiments in Unity…

Back in my flash development days I used to enjoy making little visualizers and the like, so I was pleased to find out Unity had access to spectrum data much as flash does! So I wrote a quick visualizer in a couple of hours for kicks…

The red is the left channel and blue is the right channel. Song is “Michael Jackson – They Don’t Care (ShifteQ glitchstep Remix)”

It was great fun getting back into audio based work and made me remember I always wanted to make a Tenori-On style step sequencer so figured now would be a good time as Unity I’m sure would be more than capable. However it turned out Unity can’t playback sounds with sample accuracy so maintaining timing over long periods of time was difficult. However it can do loop files seamlessly so I ran a blank audio file which was exactly one bar in length on a looped audio source, then used that as the master clock for triggering samples! Problem solved, sample accuracy forever! SO! I built this Tenori-On style step sequencer in just under 12 hours! Click on the image to give it a test drive!

It’s been a blast playing with the audio abilities of Unity and now I’m going back to preparing my talk and working on Boom Bugs!