Ask coding questions

← Back to all posts
why does only tone work in audio?
flyinbruh (0)

When I enter this, it queues the "i hear audio" diologue box :
{
"Paused": false,
"Name": "",
"Type": "tone",
"Volume": 1,
"DoesLoop": false,
"LoopCount": 0,
"Args": {
"Pitch": 5000,
"Seconds": 5,
"Type": 1,
"Path": "rick.mp3"
}
}

but when i change the type to mp3, nothing happens, and it does not initiate the pop up.
ex [{
"Paused": false,
"Name": "",
"Type": "mp3",
"Volume": 1,
"DoesLoop": false,
"LoopCount": 0,
"Args": {
"Pitch": 5000,
"Seconds": 5,
"Type": 1,
"Path": "rick.mp3"
}
}
]

am i formatting this wrong?