Wallpaper Engine

Wallpaper Engine

31 ratings
Beat detection algorithm - Script
   
Award
Favorite
Favorited
Unfavorite
Age Rating: Everyone
Category: Asset
Asset Type: Script
Asset Genre: Audio Visualizer
Script Type: Number
File Size
Posted
Updated
44.383 KB
23 Aug, 2021 @ 5:53pm
26 Oct, 2021 @ 3:46pm
9 Change Notes ( view )

Subscribe to download
Beat detection algorithm - Script

In 1 collection by Gariam
Gariam's assets
30 items
Description
If you like this please leave a like and don't esitate to say what you think in the comment section. Thank you.

This is not perfect, it's the best i could do with little math involved and as far as i know no real time beat detection algorithm is perfect, not even professional ones.
But you can tweek it to make it better according to your needs.

This algorithm can follow the flow of the song and change it's behavior accordingly by remembering old beats and using them as models, this way you can have a detection taylored to the song you are listening. But for this exact same reason it takes a little to adapt to the song.

This is V7, i improved the accuracy of the detection and it doesn't respond to treble anymore by default (you can still add them by editing the code in the line 213) because this way it's more precise in the bass region that's where most of the beats are.

P.S. I deleted the "simple" in the title because this is not so simple anymore lol.

I've made user properties to be able to customise this to your needs, but if you are not satisfied i've left comments in the script to guide you through an even deeper customization.

If you find bugs or ways to improve it i'd appreciate if you could let me know.
7 Comments
dr sex 9 Jul @ 4:59am 
i too do not know how to make this work
Viking 1-1 Floki Folskvi 16 Mar @ 4:52pm 
Hey, I'm relatively new to wallpaper engine and I'm just looking at the scripting thing and found your script, but somehow I don't know how to use your script oO how and where I have to bind it in order for your script to work
Patricia 10 Jan, 2022 @ 2:50pm 
Great script! Anyone care to share settings that work best for you?
Gariam  [author] 20 Nov, 2021 @ 8:47am 
I'm looking forward to it.:steamthumbsup:
butcho 20 Nov, 2021 @ 7:17am 
Thank you for the nice comment.

Yeah, too much of always the same content in the Wallpaper Engine workshop so I try to do something different in every new wallpaper I create. I come from the gfx department and I combine my skills there with what I can do in Wallpaper Engine. I have a million ideas more but sadly I suck at coding so a bit more advanced stuff is not so easy to do for me. :lunar2019laughingpig:

For my next project I'm building a visualizer that I have never seen in any other wallpaper in the workshop. It's a 16 channel visualizer and every one of the 16 channels has it's own 64 channel visualizer. lol...we'll see how that turns out.

Your script is really helpful in making the beat detection more fun in this project. Thanks for that. :cozybethesda:
Gariam  [author] 20 Nov, 2021 @ 6:19am 
Thank you very much!
I just checked out some of your latest wallpapers and while not exactly my style they are unbelievably good, i didn't even know some of the things i've seen were possible.
butcho 18 Nov, 2021 @ 6:46am 
As a person highly obsessed with everything audio responsive this is really to my liking. Awesome script. :manthumbsup::lunar2020hearteyesrabbit: