Today, with permission from Beatnik, Inc, I am releasing a code base, loved and hated by millions. It has probably been in a device in your pocket. We call it miniBAE, short for mini Beatnik Audio Engine.
First, let me apologize. Set your wayback machine to the year 2000. Nokia, the king of mobile phones, and their default Ringtone.
The Ringtone heard around the world. My fault. Not that it's bad, but after a billion phones and countless trillion plays, maximum exposure has a new limit. The code being released today was responsible for enabling that audio meme to a wide audience.
As with any technology, there’s a story, and this one was an interesting one. The first version was created in 1991 by my business partner, Jim Nitchals, and myself. At that point it was called SoundMusicSys. Appearing in many successful video games for the Macintosh OS: Prince of Persia, Lemmings, Sim City to name a few. In 1997 we joined forces with Beatnik, Inc, founded by Thomas Dolby, and ended up in iconic consumer electronics from Apple, Sun’s Java, MagicCap, WebTV, BeOS, Nokia, Motorola, Danger, and others.
We were both obsessed with creating something that would allow music to be played and be small in size. We ended up creating the first software wavetable synthesizer that read and played standard Midi files all done in software. Prior to our technology, the only solution was hardware: a dedicated sound card.
But because of our background in video games, we understood low latency interactive audio and music, and the end result is this code. Before OpenAL, PortAudio, before many audio hardware abstraction layers, there was miniBAE.
The last commercial product that this code was used in was the Danger, Inc, T-Mobile Sidekick 3 in 2005.
The motives in releasing the code into the open source community are many:
- Jim and I believed in the Jeffersonian ideal that a inventor has a lock on an idea for a limited period of time. There were many ideas in this code that could have been patented. However, we chose not to pursue it. We chose the Trade Secret route. Because of that, this code did not end up in the hands of a Patent troll. Now it can be mixed back into the culture, to be recycled and reinvented.
- This engine is perfect for anything that requires small storage to create audio. Midi is a standard and is tiny. It does require great skill and effort to craft something beautiful, but it can be done. Along with this package are countless examples of Craftsmen and Musicians doing their best to create 5 minutes of music in 100k bytes.
- There were some outstanding people involved in this technology from 1991 to 2005, and I want to acknowledge them. Without their passion, belief, and considerable help, this code would have never gotten far.
- Because it is now available, some of the interesting DSP algorithms can be reused: File formats, fast reverbs, fast chorus, and fast sample rate converters (SRC).
- I want to use it!
- Both Jim and I are digital historians, and this code has some small value in preserving. And the best way to do that is release it as a BSD license.
On to the code, which is here: