Ugly Baby Beats
// August 9th, 2012 // Uncategorized
What do these numbers have in common?
0.4748333320, 0.9506041660, 1.4263749990, 1.9021458320, 2.3779166660, 2.8536874990, 3.3178541660, 3.7820208320, 4.2577916660, 4.7335624990, 5.2093333320, 5.6851041660, 6.1492708320, 6.6250416660, 7.0892083320, 7.5649791660, 8.040749999000001, 8.516520831999999, 8.9806874990, 9.4564583320, 9.932229166000001, 10.4079999990, 10.8837708320, 11.3479374990, 11.8237083320, 12.2994791660, …
They’re our first attempt at beat detection using our new Unity-Ugly-Baby-compatible system. In particular, beats detected from the first 12.3s of Don’t Hold Back, Just Push Things Forward, which is, in and of itself, an amazing damned mashup. Seriously. Listen to it.
With the help of DC-ite Andy Eiche, we’re using a few tools to help us analyze the audio:
Vamp Plugins: Vamp is an audio processing plugin system for plugins that extract descriptive information from audio data — typically referred to as audio analysis plugins or audio feature extraction plugins.
Libsndfile: Libsndfile is a C library for reading and writing files containing sampled sound (such as MS Windows WAV and the Apple/SGI AIFF format) through one standard library interface.
For those not versed in the demonic arts of programming, these are just libraries that help us convert/digest the WAV data and spit out beats. Our next step is to connect this to the level structure. Stay tuned.



The more of these articles I read, the more I look forward to the game. I pre-ordered it back when it was first made available and really am interest in how the final product will materialize. Looks like a lot more is being put into this than any other music based game.