Making something change with the beat of a song dynamically

I wanna make some lighting effects that go to the beat of a song. Like upping the brightness of a light or something. Is there any way to do something like this?

I do NOT want someone to make this script for me, please just point me to where I’d start. Thanks!

as a side note, i am decently versed in scripting.

You can’t get the beat of the song but you can use Sound.PlaybackLoudness

local function GetGameSound()
	local Volume = 0
	for i, Object in pairs(game:GetDescendants()) do
		if Object:IsA("Sound") then
			Volume += Object.PlaybackLoudness
	return Volume

while task.wait() do
1 Like

If you’re using a specific song, you can probably set up a timed loop that sends signals in sync with the beat of the song, then pulse the light every time the signal is fired.