Is there a way to play arrays as sound?

For a simulation feature I would want to play sound from a generated array as PCM…
But I can’t find any way to do this…
I tryed to test with this script

{1,0,-1,0,1,0,-1,0,1,0,-1,0}:Play()

But obviously, it doesn’t work… :frowning:

1 Like

What do you mean, can you explain in more then 1 sentence? Do you just want a script that plays a sound?

I want to play array as sound but uh…
I understand it can be complicated…

So basically you want a sound script, that plays a sound?

I want a script that can run an array of number as PCM sample

So not a array of sounds links

Please follow:

Your first post in a thread should be a descriptive overview of what you are trying to make, how you are trying to make it, and what you have tried so far (i.e. share code that doesn’t work) and what didn’t work out.