Upload audio files to gateway in Vision?

Is it possible to upload sound files to the gateway and store them there instead of on the local machine? This is in Vision. I don't know if the WebDev module works that way.

1 Like

Sure, and WebDev isn't required. You'd simply use system.util.sendRequest() to a gateway message handler to retrieve the sound you want, and return it as bytes. You can hand those bytes directly to system.util.playSoundClip().

If you store your sounds in a database instead of the gateway file system, it is event easier--just use a named query to obtain the bytes from a "blob" column.

Thank you! We are working on implementing your suggestions.