Im making a bare bones music production software on roblox and am trying to find a better way to visualize sound clips other than just PlaybackLoudness, I have seen someone make something like the visualizers on youtube that can record multiple aspects of the volume of a certain sound clip but could never figure out how it was done, any support is appreciated
1 Like
Those YouTube videos are likely using some third party software, think audacity and the likes. Roblox’s sound engine is fairly limited in what it provides the developer. Regardless of this, the best way to track changes in the ‘PlaybackLoudness’ property of a sound instance is to query it once per frame.
local Game = game
local RunService = Game:GetService("RunService")
local Sound = nil --Reference sound instance here.
local function OnRenderStep()
print(Sound.PlaybackLoudness) --Prints sound's 'PlaybackLoudness' once per frame.
end
RunService.RenderStepped:Connect(OnRenderStep)
2 Likes
I already use this method but i had a previous friend who had made one just like something like if you look up dubstep videos and there will often be a big visualizer on the screen that captures multiple aspects of a songs audio, it had moved accordingly to not just sound, such as types of pitches and such. Was just wondering if there is anyone who knows how to do this