# Audio Recording using Sound blocks - help

**URL:** <https://community.thunkable.com/t/audio-recording-using-sound-blocks-help/2223520>\
**Category:** Questions about Thunkable X\
**Created:** [January 15, 2023, 6:37pm UTC](https://community.thunkable.com/t/audio-recording-using-sound-blocks-help/2223520 "2023-01-15T18:37:04Z")\
**Posts on this page:** 20\
**Page:** 2

<div class="post-metadata">

**Author:** ![nathanburley21656](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/nathanburley21656/32/150307_2.png) [@nathanburley21656](https://community.thunkable.com/u/nathanburley21656)\
**Post date:** [January 25, 2023, 1:06pm UTC](https://community.thunkable.com/t/audio-recording-using-sound-blocks-help/2223520/21 "2023-01-25T13:06:43Z")

</div>

I’d be loving this post but apparently I’m too free with my heart symbols! lol.

---

<div class="post-metadata">

**Author:** ![nathanburley21656](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/nathanburley21656/32/150307_2.png) [@nathanburley21656](https://community.thunkable.com/u/nathanburley21656)\
**Post date:** [January 25, 2023, 1:28pm UTC](https://community.thunkable.com/t/audio-recording-using-sound-blocks-help/2223520/22 "2023-01-25T13:28:45Z")

</div>

Do you by any chance know where to find the MediaDB Upload Block? I can find a bunch of similar ones in the Files section of the D&D interface but not the MediaDB upload one mentioned in the documentation below for use with Cloudinary ☹

[Media DB by Cloudinary - Thunkable Docs](https://docs.thunkable.com/v/snap-to-place/media-db#upload-media)

---

<div class="post-metadata">

**Author:** ![anandavardhana57zwwl](https://avatars.discourse-cdn.com/v4/letter/a/8baadc/32.png) [@anandavardhana57zwwl](https://community.thunkable.com/u/anandavardhana57zwwl)\
**Post date:** [January 25, 2023, 1:34pm UTC](https://community.thunkable.com/t/audio-recording-using-sound-blocks-help/2223520/23 "2023-01-25T13:34:57Z")

</div>

I have the Cloudinary component almost working. I am into multiple projects so am not able to concentrate, hopefully today I will complete … sorry for the delay. When this is done I should be able to store all my voice recordings in the cloud as .mp3 and anybody out in the world using my app will have access to it.

---

<div class="post-metadata">

**Author:** ![nathanburley21656](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/nathanburley21656/32/150307_2.png) [@nathanburley21656](https://community.thunkable.com/u/nathanburley21656)\
**Post date:** [January 25, 2023, 2:12pm UTC](https://community.thunkable.com/t/audio-recording-using-sound-blocks-help/2223520/24 "2023-01-25T14:12:59Z")

</div>

Ooo I did it!

Here’s what I did for anyone who follows:

1. Sign up to Cloudinary
2. Get Cloudinary API keys etc. (setting in the top right of Cloudinary \> Security \> API Key and secret (scroll down to the bottom for these)
3. Get Coudinary Account name (Cloudinary settings \> Account \> “Product environment cloud name:” (down the bottom)
4. In Thunkable \> Design \> Settings (scroll to the bottom) add in Cloudinary data.
5. In Thunkable \> Blocks \> Files \> ‘upload any type of file from device’ block
6. Drop block and make advanced
7. Add your audio file into the file being uploaded (if your audio file is an app variable, say)
8. Run that sucker

no error handling in there yet

![Thunk3](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/d/1/d14ec04902b6fbf7a3bca82ed8583f2740908e4d.jpeg)

---

<div class="post-metadata">

**Author:** ![nathanburley21656](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/nathanburley21656/32/150307_2.png) [@nathanburley21656](https://community.thunkable.com/u/nathanburley21656)\
**Post date:** [January 25, 2023, 2:58pm UTC](https://community.thunkable.com/t/audio-recording-using-sound-blocks-help/2223520/25 "2023-01-25T14:58:52Z")

</div>

My next issue is that I want to get OpenAI’s whisper to run transcription on this file but they seem to save to Cloudinary as webm format. Is this what thunkable saves as natively and is there a way to change that? Or is it a Cloudinary issue?

---

<div class="post-metadata">

**Author:** ![tatiang](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/tatiang/32/55482_2.png) [@tatiang](https://community.thunkable.com/u/tatiang)\
**Post date:** [January 25, 2023, 3:34pm UTC](https://community.thunkable.com/t/audio-recording-using-sound-blocks-help/2223520/26 "2023-01-25T15:34:49Z")

</div>

> [@nathanburley21656](#):
>
> I’m thinking Thunkable just needs to train a GPT on this forum as documentation is the thing which is holding the product back. Thanks for your help on this!

Look what popped up in my feed:

> **[Add best chat bot based on open ai for your website | AISTA](https://aista.ai/)**
>
> Increase customer satisfaction with AISTA ai website chatbot - Create best practice chatbots for websites for lowest price

---

<div class="post-metadata">

**Author:** ![matt\_conroy](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/matt_conroy/32/150843_2.png) [@matt\_conroy](https://community.thunkable.com/u/matt_conroy)\
**Post date:** [January 25, 2023, 3:43pm UTC](https://community.thunkable.com/t/audio-recording-using-sound-blocks-help/2223520/27 "2023-01-25T15:43:20Z")

</div>

@tatiang I am admittedly having a hard time getting playback to occur at all for any device. I even added a separate block to specifically stop recording.

There is an error in the console for playback when I test this in a web preview. I’ve had no luck getting it to play on Thunkable Live iOS or Android. The only nice thing in Android was that I could see the app accessing my microphone but still no playback at all.

We’ll get to checking things out internally to see what is happening. Thanks for flagging!

---

<div class="post-metadata">

**Author:** ![nathanburley21656](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/nathanburley21656/32/150307_2.png) [@nathanburley21656](https://community.thunkable.com/u/nathanburley21656)\
**Post date:** [January 25, 2023, 3:47pm UTC](https://community.thunkable.com/t/audio-recording-using-sound-blocks-help/2223520/28 "2023-01-25T15:47:35Z")

</div>

Yep, we’re going to see SO MUCH of this stuff coming over the next few months. It’s pretty cool that now Meta and Google are going to be playing catch-up and fighting hard for eyeballs. Hopefully, customers win for once.

---

<div class="post-metadata">

**Author:** ![tatiang](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/tatiang/32/55482_2.png) [@tatiang](https://community.thunkable.com/u/tatiang)\
**Post date:** [January 25, 2023, 3:49pm UTC](https://community.thunkable.com/t/audio-recording-using-sound-blocks-help/2223520/30 "2023-01-25T15:49:25Z")

</div>

Thanks for confirming!

---

<div class="post-metadata">

**Author:** ![anandavardhana57zwwl](https://avatars.discourse-cdn.com/v4/letter/a/8baadc/32.png) [@anandavardhana57zwwl](https://community.thunkable.com/u/anandavardhana57zwwl)\
**Post date:** [January 25, 2023, 3:53pm UTC](https://community.thunkable.com/t/audio-recording-using-sound-blocks-help/2223520/31 "2023-01-25T15:53:11Z")

</div>

👏 👏 👏 Wow thanks Nathan you solved my problem!! I will test it out later and get back. Thanks again

---

<div class="post-metadata">

**Author:** ![nathanburley21656](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/nathanburley21656/32/150307_2.png) [@nathanburley21656](https://community.thunkable.com/u/nathanburley21656)\
**Post date:** [January 25, 2023, 4:25pm UTC](https://community.thunkable.com/t/audio-recording-using-sound-blocks-help/2223520/32 "2023-01-25T16:25:13Z")

</div>

Woop! You’re welcome. Happy to be able to help in return 🙂

Here’s what I have now. I’m using WhisperAPI which runs the OpenAI Whisper model for transcription. Anyone else know why this returns a failed to transcribe error? I suspect it needs to be a POST request but neither POST nor GET work. I’m guessing that it’s because this is a webm format file but I’m struggling to find a way to convert it to wav / MP4. SO close.

 ![Thunk5](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/3/a/3a86bc5ea8c52dec63b0b1eeb4c6898ea1f1b241.jpeg)

---

<div class="post-metadata">

**Author:** ![tatiang](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/tatiang/32/55482_2.png) [@tatiang](https://community.thunkable.com/u/tatiang)\
**Post date:** [January 25, 2023, 5:53pm UTC](https://community.thunkable.com/t/audio-recording-using-sound-blocks-help/2223520/33 "2023-01-25T17:53:18Z")

</div>

When I upload a timed recording to Cloudinary with these blocks, I get back a url that ends in **.m4a** :

![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/0/3/039fa932648f3f8d1758db11fee9bfd20f9f9718.png)

Could the problem be when you assign the `audio file` block to a variable? I wouldn’t think that would do any conversion but maybe it does? Try it without that for now… just use the green `audio file` block itself for uploading.

Also make sure that you’re not initializing the variables to any values, even blank strings (“”). You don’t want a type initialized… you want the variables to auto-type. So just leave the “puzzle piece” empty for the initialize blocks. I can’t see if you’ve done that in your screenshot because it’s cut off.

---

<div class="post-metadata">

**Author:** ![anandavardhana57zwwl](https://avatars.discourse-cdn.com/v4/letter/a/8baadc/32.png) [@anandavardhana57zwwl](https://community.thunkable.com/u/anandavardhana57zwwl)\
**Post date:** [January 25, 2023, 7:37pm UTC](https://community.thunkable.com/t/audio-recording-using-sound-blocks-help/2223520/34 "2023-01-25T19:37:43Z")

</div>

I have seen the mp3-m4a conversion and it really does not matter as m4a is only a kind of zip internally it is still mp3 and will play just fine. I really want to give a try to Nathan and your methodology of saving. 24 hours/day is too short … 🙂

---

<div class="post-metadata">

**Author:** ![tatiang](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/tatiang/32/55482_2.png) [@tatiang](https://community.thunkable.com/u/tatiang)\
**Post date:** [January 25, 2023, 8:19pm UTC](https://community.thunkable.com/t/audio-recording-using-sound-blocks-help/2223520/35 "2023-01-25T20:19:21Z")

</div>

So… does that mean my suggestion worked? Or that you still need to find a way to convert from m4a/mp3 to wav/MP4? Are you able to generate m4a files using my method?

---

<div class="post-metadata">

**Author:** ![nathanburley21656](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/nathanburley21656/32/150307_2.png) [@nathanburley21656](https://community.thunkable.com/u/nathanburley21656)\
**Post date:** [January 25, 2023, 9:14pm UTC](https://community.thunkable.com/t/audio-recording-using-sound-blocks-help/2223520/36 "2023-01-25T21:14:03Z")

</div>

How strange!

![Thunk6](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/d/1/d128a55d5bac94885d3de614224c18d738d066de.jpeg)

Here’s what I’m getting in Cloudinary. What browser are you using? I’m on MS Edge maybe is related? I’ll try Chrome and report back.

I’m not just using initialise without even a blank pink piece attached but i’m also using the direct green audio file as you have there so I’m not even using an app variable to hold it now. Weird…

---

<div class="post-metadata">

**Author:** ![tatiang](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/tatiang/32/55482_2.png) [@tatiang](https://community.thunkable.com/u/tatiang)\
**Post date:** [January 25, 2023, 9:15pm UTC](https://community.thunkable.com/t/audio-recording-using-sound-blocks-help/2223520/37 "2023-01-25T21:15:18Z")

</div>

I’m using Chrome.

---

<div class="post-metadata">

**Author:** ![nathanburley21656](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/nathanburley21656/32/150307_2.png) [@nathanburley21656](https://community.thunkable.com/u/nathanburley21656)\
**Post date:** [January 25, 2023, 9:18pm UTC](https://community.thunkable.com/t/audio-recording-using-sound-blocks-help/2223520/38 "2023-01-25T21:18:53Z")

</div>

Yeh - tried in Chrome too. Same result.  
Also tried removing anything which might be construed as operating on the green ‘audio file’ '“variable” e.g. making an app variable = to it. Still the same. Webm only.  
Something to do with the way I have Cloudinary set up, maybe?

---

<div class="post-metadata">

**Author:** ![nathanburley21656](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/nathanburley21656/32/150307_2.png) [@nathanburley21656](https://community.thunkable.com/u/nathanburley21656)\
**Post date:** [January 25, 2023, 9:31pm UTC](https://community.thunkable.com/t/audio-recording-using-sound-blocks-help/2223520/39 "2023-01-25T21:31:47Z")

</div>

OK - I just rebuilt exactly what you did in a new app and I’m getting the same thing. Oddly, I’m getting a url which is a video - which might explain why the format is webm: **[http://res.cloudinary.com/thunkablecloudinary123/video/upload/v1674682215/qwrjaki1elpzatau7wrn.webm](http://res.cloudinary.com/thunkablecloudinary123/video/upload/v1674682215/qwrjaki1elpzatau7wrn.webm)**

Here’s exactly what I’m running now:

 ![thunk7](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/4/b/4bb39ab539815afc3ddbda77125e1f96eacbb872.jpeg)

---

<div class="post-metadata">

**Author:** ![tatiang](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/tatiang/32/55482_2.png) [@tatiang](https://community.thunkable.com/u/tatiang)\
**Post date:** [January 25, 2023, 10:21pm UTC](https://community.thunkable.com/t/audio-recording-using-sound-blocks-help/2223520/40 "2023-01-25T22:21:00Z")

</div>

Can you share the project with me (here or in a private message if you prefer)? Maybe it’s the device… I’m using an iPhone 13 Pro. Are you testing on an Android phone?

---

<div class="post-metadata">

**Author:** ![nathanburley21656](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/nathanburley21656/32/150307_2.png) [@nathanburley21656](https://community.thunkable.com/u/nathanburley21656)\
**Post date:** [January 25, 2023, 10:22pm UTC](https://community.thunkable.com/t/audio-recording-using-sound-blocks-help/2223520/41 "2023-01-25T22:22:36Z")

</div>

Right now - I’m actually just testing on my laptop. Maybe that’s the issue? I haven’t graduated to testing on device yet. Using a free plan to get started and I think you can only deploy like twice a month on that, right?

[Previous page](https://community.thunkable.com/t/audio-recording-using-sound-blocks-help/2223520.md?page=1)

[Next page](https://community.thunkable.com/t/audio-recording-using-sound-blocks-help/2223520.md?page=3)
