So I setup an audio player with 2 “speakers” (audio emitter).
The output shows the audio is playing, but when I test it in-game, I hear absolutely nothing.
I tried testing with an AudioDeviceOutput, it worked…
Is AudioEmitter broken, or did I just not do something right…?
The script itself works, it prints “Playing” every 7 seconds, and when checking print(game.Workspace.Folder.AudioPlayer.TimePosition)
, it does print the accurate position.
Script:
task.wait(10)
local audioPlayer = script.Parent.AudioPlayer
while task.wait(7) do
audioPlayer:Play()
if audioPlayer.IsPlaying == true then
print("Playing")
else
print("Nope")
end
end