Constructing sound from array

how to play a byte/int array?

I think I have to contruct an IBuffer and pass it to a Sound.

Maybe via queueBuffer(IBuffer buffer) ?

Can you give me an example, please? I tried a lot and it won’t work.