How to write custom code

how should we add custom code?.. I want to amplify audio and I didn’t find any block which amplifies the audio, so I thought to add custom code but don’t know how to

1 Like

you have to create a function
using the function block

Unlike the old classic, there’s no ‘extensions’ option. One workaround that people use is to host some javascript code on a server and then run it using the webviewer. That lets you get lots of custom behavior into Thunkable. You could also find an API that does what you want.

For your specific case, have you looked at Cloudinary? That’s built into Thunkable, and it looks like it might do what you want.

2 Likes

That’s a great idea. Looks like their url codes allow for audio volume modification:

https://cloudinary.com/documentation/audio_transformations

1 Like