Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How would you make an FE audio visualizer?

Asked by 5 years ago

I have searched the internet for a while but none were helpful to me, so I would like to know if you guys knew how they are made so I could construct my own.

1 answer

Log in to vote
0
Answered by 5 years ago

You would have to Invoke the client to get the loudness. You can use RemoteFunctions to do this. Server Script: lua local LoudnessRemote = Instance.new("RemoteFunction") LoudnessRemote.Name = "LoudnessRemote" LoudnessRemote.Parent = game:GetService("ReplicatedStorage")` function GetLoudness(Player,Audio) return LoudnessRemote:InvokeClient(Player,Audio) end print(GetLoudness(game.Players.Player1,workspace.Sound)) lua Local Script: local LoudnessRemote = game:GetService("ReplicatedStorage"):WaitForChild("LoudnessRemote") LoudnessRemote.OnClientEvent = function(Audio) return Audio.PlaybackLoudness end

Ad

Answer this question