dwyl / learn-iot

:seedling: Learn how to build Internet of Things (IoT) Apps using Arduino and/or Raspberry Pi in plain old JavaScript!
13 stars 1 forks source link

Pre-Alpha-MVP: HTML5/laptop-microphone solution #8

Open mk4111 opened 7 years ago

mk4111 commented 7 years ago

Having had a few discussions around what range of frequencies we want to be able to capture and why (see #7), it's become clear that we really need to start with a simple solution, get the results from that and only then figure out what the best 'next steps' might be; i.e. the agile approach!!

So as @nelsonic mentioned in #7:

As a "Pre-Alpha-MVP" it might be an idea to do this using HTML5 and the Microphone on a Cheap 2nd Hand Chromebook instead of a RaspberryPi/Arduino ... @jasonpecor appears to have attempted this: https://github.com/jasonpecor/DecibelMeter so we might be able to get some pointers from his work... however jasonpecor/DecibelMeter#6 so... might need some work...

The repo is great as a starting point, and I think could perhaps be improved by having a quick google of the HTML5 Audio API and summarise what it can/can't do, and see how we can use that with the default microphone in our laptop.

nelsonic commented 7 years ago

@mk4111 HTML5 Audio API is a great place to start! 💡

mk4111 commented 7 years ago

Hi @nelsonic - I've had some play around with the HTML5 Web Audio API and feel that I'm now more able to time estimate this part of the project.

Time estimate (1 person)

We need:

Consumer facing interface (~ 0.5 days)
Data Capturing + Processing (~ 3 days)
Data Storage (~ 2 days)

Thoughts:

Having had a really quick run through of how to get stuff working with Web Audio API, there are a few things that have come to mind, that probably need some tinkin' and tinkerin'.

nelsonic commented 7 years ago

@mk4111 thoughts estimates sound good. go for it! ❤️ ✅ 🙉

mk4111 commented 7 years ago

@nelsonic yippeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee!!! :heart: :heart: :heart: Thank you