What I want to achieve: Making a public address system which can replicate my voice to a network of AudioEmitters.
The issue: My voice does not come out of any AudioEmitter, although the microphone dot (iPadOS) or the microphone symbol (on Windows) shows up perfectly fine.
Solutions I have tried:
Making sure IsReady
is true
Putting my user ID (on the AudioDeviceInput’s list via SetUserIdAccessList()
Making sure Muted
is false
Setting AccessType to “Allow”, not “Deny”
Properties
AccessType: Allow
Muted: False
Player: Rileyg1974
Volume: 1 or 3
IsReady: True
UserIDs on the AudioDeviceInput list: 3078832085
Microphone script: `-- Definitions
local clickD = script.Parent.ClickDetector
local isLive = false
– Code
local function whenClicked(plrwhoClicked)
print(plrwhoClicked)
if isLive == false then
isLive = true
local MicInputADIinst = plrwhoClicked:FindFirstChild(“MicInputADI”)
MicInputADIinst.AccessType = Enum.AccessModifierType.Allow
script.Parent.BrickColor = BrickColor.new(“Lime green”)
script.Parent.Parent.MicWire.SourceInstance = MicInputADIinst
else
isLive = false
local MicInputADIinst = plrwhoClicked:FindFirstChild(“MicInputADI”)
MicInputADIinst.AccessType = Enum.AccessModifierType.Deny
script.Parent.BrickColor = BrickColor.new(“Really red”)
script.Parent.Parent.MicWire.SourceInstance = nil
end
end
clickD.MouseClick:Connect(whenClicked) `