For this project I tried making reactive visuals for rave music. There are two main components, the video of a 3D model dancing and an actual 3D model jumping around in space. The video is separated into R, G and B planes which are then moved around in sync with the music. The 3D model is distorted by a jit.catch on the signal and is bounced around on beat to the incoming audio.
The beat/bpm detection was done by an external object that was rather inaccurate but still created some cool visual effects.
One thing I really wanted to add to this project that would have made it a lot more interesting is having it fade in and out of these separate visual components based on the activity of the low-end. Since rave music is largely driven by kick drums, moments in a song where the kick drum or bass is absent are generally tense and dramatic. Being able to have the visuals correspond to this moment would have been really key. I tried to start this in measuring the difference in peakamps on beat with a low pass filtered signal but couldn’t find a meaningful delta. I then tried to simply map the amplitude of the filtered signal to the alpha channels of the layers but the 3D model would respond to a change in alpha values.
Overall, I think I could greatly improve on this project by more accurately measuring beats/bpm and getting the triggering/fading working. Below is a low-res recording of the visuals as well as the pasted patch.
<pre><code>
———-begin_max5_patcher———-
6063.3oc6cs0iiiak94N.4+ffQ+PR1pbyKhRT4gEU1cFjEXyrAHSxtOzUPAY
aUtT2xRZjjqK8fs+sGdQ2sjLsDksmKSRWkKcwj7iGdtwy4ve729ad2hUQu5k
tv3OZ7Qi28tejck2ItF+Juq3BuawN2WWG3lJdvE67RSc25s3l7al48Zl3Ffk
kWKb+N+v.uLwafJtZZ1aAdhGs7A82H96nUe5VGX8WOZeVw6CKtbra15m7C29
Ph25LYmFYiVBtwvjZw+EAv+IhcIi+YwKI+hxdK1S9FKVX7OE25++29a3+l8q
aTdrG58Bqqd3PO84G+JqcIcC.X0..JsG.vb..vTLjwPALPrTX7m5uMzMXwMC
9oIfQ8SeLIxCp8HHOfTIt.oWTxi+cCvRmoM5IiYwADKWbH9Elpvn2OLaN..u
WiSLbWk96d+iPiaMd+ine+jfC6o.Gll7eAANyL0PuKDfKcrLwXqx6D3G5sNZ
eXVCHXT.i4X.FGIST.nZUB15hfK1TapyLfKjoPvblvk9V7D649Y2cwecRqXL
sFOgAlHXcXYqvBlGChbytdQAywSFbUfBqeacfmApaP.pHHf5ADPJ.BPhTj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