# App to stop my dog from barking

**URL:** https://community.thunkable.com/t/app-to-stop-my-dog-from-barking/1721011
**Category:** Questions about Thunkable X
**Created:** [February 7, 2022, 7:23pm UTC](https://community.thunkable.com/t/app-to-stop-my-dog-from-barking/1721011 "2022-02-07T19:23:02Z")
**Posts on this page:** 9
**Page:** 1

<div class="post-metadata">

### Author: ![benruku11b8um](https://avatars.discourse-cdn.com/v4/letter/b/eada6e/32.png) [@benruku11b8um](https://community.thunkable.com/u/benruku11b8um)
#### Post date: [February 7, 2022, 7:23pm UTC](https://community.thunkable.com/t/app-to-stop-my-dog-from-barking/1721011/1 "2022-02-07T19:23:02Z")

</div>

I am making a app to correct my dog when shes barking at night by having my phone on her bench at night. I want it to go off when a certain decibel level is reached, i set it to infinitly record 5 second snippets & review them to see if she barked but i cant find a way to get the peak decibel from the snippet so i can make it go off with a vibration & tone when she barks. Thanks! 😃

---

<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: [February 7, 2022, 8:28pm UTC](https://community.thunkable.com/t/app-to-stop-my-dog-from-barking/1721011/2 "2022-02-07T20:28:20Z")

</div>

I was thinking there might be a way to do this with IFTTT but I don’t see anything for mobile phones. And the Cloudinary API has a way to increase or decrease the decibel level of a sound recording but not a way to measure it. So I’m stumped!

---

<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: [February 7, 2022, 8:40pm UTC](https://community.thunkable.com/t/app-to-stop-my-dog-from-barking/1721011/3 "2022-02-07T20:40:48Z")

</div>

These look promising:

> **[An API to Measure Loudness, from Standards to Streaming](https://dolby.io/blog/an-api-to-measure-loudness-from-standards-to-streaming/)**
>
> Use the Analyze API to measure loudness and add a validation feature to your applications for testing if media is within range of a broadcasting recommendation or streaming platform.

> <https://stackoverflow.com/questions/28123525/how-do-you-get-the-decibel-level-of-an-audio-in-javascript>

---

<div class="post-metadata">

### Author: ![muneer](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/muneer/32/75210_2.png) [@muneer](https://community.thunkable.com/u/muneer)
#### Post date: [February 7, 2022, 8:46pm UTC](https://community.thunkable.com/t/app-to-stop-my-dog-from-barking/1721011/4 "2022-02-07T20:46:28Z")

</div>

MDN now has a way to measure sound level.  
[AnalyserNode.maxDecibels - Web APIs | MDN](https://developer.mozilla.org/en-US/docs/Web/API/AnalyserNode/maxDecibels) this is the function.

Check this demo  
[https://mdn.github.io/voice-change-o-matic/](https://mdn.github.io/voice-change-o-matic/)

---

<div class="post-metadata">

### Author: ![benruku11b8um](https://avatars.discourse-cdn.com/v4/letter/b/eada6e/32.png) [@benruku11b8um](https://community.thunkable.com/u/benruku11b8um)
#### Post date: [February 8, 2022, 5:49pm UTC](https://community.thunkable.com/t/app-to-stop-my-dog-from-barking/1721011/5 "2022-02-08T17:49:07Z")

</div>

Measure Loudness yes, i am pretty handy with Thunkables components & variables but i dont know how to do anything outside of the Thunkable "Blocks’’. Could you explain how id set this up and use it in Thunkable? 😃

---

<div class="post-metadata">

### Author: ![benruku11b8um](https://avatars.discourse-cdn.com/v4/letter/b/eada6e/32.png) [@benruku11b8um](https://community.thunkable.com/u/benruku11b8um)
#### Post date: [February 8, 2022, 5:49pm UTC](https://community.thunkable.com/t/app-to-stop-my-dog-from-barking/1721011/6 "2022-02-08T17:49:38Z")

</div>

Measure Loudness yes, i am pretty handy with Thunkables components & variables but i dont know how to do anything outside of the Thunkable "Blocks’’. Could you explain how id set this up and use it in Thunkable? 😃

---

<div class="post-metadata">

### Author: ![muneer](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/muneer/32/75210_2.png) [@muneer](https://community.thunkable.com/u/muneer)
#### Post date: [February 8, 2022, 8:16pm UTC](https://community.thunkable.com/t/app-to-stop-my-dog-from-barking/1721011/7 "2022-02-08T20:16:08Z")

</div>

You will need to use `Web Viewer Extensions` for this.

See the example here

> **[GitHub - thunkable/webviewer-extension: Communicate between the Thunkable Web...](https://github.com/thunkable/webviewer-extension/)**
>
> Communicate between the Thunkable Web Viewer and a website - GitHub - thunkable/webviewer-extension: Communicate between the Thunkable Web Viewer and a website

---

<div class="post-metadata">

### Author: ![benruku11b8um](https://avatars.discourse-cdn.com/v4/letter/b/eada6e/32.png) [@benruku11b8um](https://community.thunkable.com/u/benruku11b8um)
#### Post date: [February 9, 2022, 4:49pm UTC](https://community.thunkable.com/t/app-to-stop-my-dog-from-barking/1721011/8 "2022-02-09T16:49:43Z")

</div>

Ill still need some help. I see this needs to be setup first but i dont know what website they are talking about and how i would set this up

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/0/f/0f59f292712368bce16ff80133ae10de8a6f27e8.png) [@system](https://community.thunkable.com/u/system)
#### Post date: [May 10, 2022, 4:50pm UTC](https://community.thunkable.com/t/app-to-stop-my-dog-from-barking/1721011/9 "2022-05-10T16:50:42Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
