Play sound in Retool!

Hey folks, we just launched a utils.playSound() API. You can demo it with this code:

utils.playSound('https://s3-us-west-2.amazonaws.com/s.cdpn.io/3/success.mp3')

Thanks!

Feel free to post feedback here.

9 Likes

Any sites where these sounds can be accessed royalty free?

I honestly did my fair share of digging attempting to find a royalty free library that provides links to an MP3, but unfortunately no luck :smiling_face_with_tear:. Probably the easiest thing to do here would probably to sign up for a free cloud-storage that supports uploading MP3 files and grab the public link. I've had success with Cloudinary for projects in the past: Audio Transformations | Cloudinary

2 Likes

@Kenny Can this be used for a file stored locally on an android device?