This morning I decided it'd be a good idea to demonstrate a sequencer in Unity. After all our talk in our meeting yesterday about different interfaces and sequencers, I thought it'd be a good idea to at least prototype a sequencer and prove it could work in the web player. I had been aiming for something along the lines of demonstrating different instruments having different setups inside it (a drum on one line, a guitar with 6, etc).
Currently, after about an hour to an hour and a half of work, I have a working demo of a single tracked, single noted step sequencer that runs in the web player. Basically, there are 16 buttons, each representing a tick of some sort (whether they're beats, half beats, etc isn't really defined). An X is put on the one that represents the current tick. The X moves across the row of buttons and plays a click when it hits a button which is 'enabled' or 'toggled on'. Once it gets to the end, it repeats. This X moves at a constant speed across the buttons.
This example is available for anyone to try here.
Nice! I like how fast you hacked that together.
ReplyDeleteNow you just need to add a character animating to the beat and we'll basically be done! ;-P