arduino generating bass line

here's a video showing what it does after a bit of basic coding. The next stage will be to include audio input with fourier analysis to set the seed variable, key and beat.

here's the source