Ask coding questions

← Back to all posts
How to properly format an audio request?
flyinbruh (0)

The example of a request:
{
"Paused": false,
"Name": "My tone",
"Type": "tone",
"Volume": 1,
"DoesLoop": false,
"LoopCount": 0,
"Args": {
"Pitch": 400,
"Seconds": 5,
"Type": 1,
"Path": ""
}
}

My Request:
{
"Paused": false,
"Name": "My tone",
"Type": "wav",
"Volume": 1,
"DoesLoop": false,
"LoopCount": 0,
"Args": {
"Path":fo\scout.wav"
}
}

It doesn't play the wav I selected for it to. Am I doing something wrong?