You can generate sounds on the fly but it requires a bit of work. If you look up the help for the command "
CreateMemblockFromSound" it explains what each byte in the 12 byte header is for. By using this you can create a normal memblock, push the relevant values into the first 12 bytes, followed by all of the data for your sound. Single bytes can be written as bytes (SetMemblockByte), 2 byte values can be written as "shorts" (SetMemblockShort) and the 4 byte values can be written using integers (SetMemblockInt). Then use the "
CreateSoundFromMemblock" command to turn it into an actual sound object to play like a WAV file. It works well.