Getting bored this Christmas, I decided to see if it is possible for me to create a system to make my old Merc (W203) party much like the Tesla model X does to the Wizards in Winter as its Christmas party easter egg.
Over the course of the holidays, I pondered how I would do such a complicated thing, until it hit me that Beat Saber maps are essentially just large JSON files containing notes that the player hits to the beat of the music, and lighting events that correlate to music patterns, which have all been hand crafted by the huge beat saber modding community.
This video linked below shows the entire process of creating a custom OpenGL environment to visualize Beat Saber levels, as well as the process of building a system to interpret the levels and convert lighting and note data into CAN Frames that are sent to the car in order to flash the lights in sync to the music.
Once HUGE advantage of this system compared to Telsa's own party mode, is that this works for any Beat Saber map, and since there are now AI's that can auto-generate a beat saber level such as Beat Sage, it is theoretically possible for one to make a car dance to whatever music they want!All the source code is linked above, this system works perfectly with any Mercedes-Benz built from 2001-2007 (Since all their CANBUS Networks are the same), however if you wish to port it to another car, Simply modify the PartyMode class file (PartyMode.kt) to change which CAN Frames get sent to your own car's bus!
Comments
Please log in or sign up to comment.