Inspiration

My inspiration to create this application came from my pet dog. Every time we made the TV too loud, she whines and tries to cover her ears. This inspired me to create an application to check what level of noise dogs can handle.

What it does

My application is a decibel checker that can check the volume of noise in a house.

How we built it

I built this project by creating a webpage using HTML that takes user input(the animal that the volume needs to be checked for) and using Javascript to access the computer's microphone and find the decibel of the noise.

Challenges we ran into

One major challenge I ran into was preventing the Javascript from running repeatedly. For some reason, the code to check the volume ran repeatedly, so the number displayed on the website kept changing. I was able to overcome this by creating an if statement that checks when the decibel checker is looping and when it is being called by the HTML form.

Accomplishments that we're proud of

My most proud accomplishment is that I was able to create a functioning application for this hackathon. As this is my first hackathon where I am doing everything by myself, I wasn't sure whether I would be able to create a program that works.

What we learned

In this hackathon, I was able to expand my knowledge of Javascript. Previously, I had only learned the basics of this language as I had been able to use python to create web applications. This project forced me to delve deeper into Javascript and write much more complex code than what I am used to.

What's next for Pet Protect

Next, I plan to add a feature in my application that lets people check the frequency of the sound as well. This would be helpful as human ears can't detect all the frequencies that dog ears can.

Built With

Share this project:

Updates