gw-sd-2016 / ChillOut

Adam Gray Senior Design Project
0 stars 0 forks source link

Week 11: Kalman Filter and initial calendar integration #1

Open agray123 opened 8 years ago

agray123 commented 8 years ago

@cctoombs @twood02

Added opencv and ejml (efficient java matrix library) to my project. Both have implementations of the Kalman Filter, which I'm using to get more accurate readings on relative ambient noise levels. The sound level readings produced by the microphone vary dramatically between devices, so implementing an accurate SPL (sound pressure level i.e. decibel) monitor is not so realistic without calibrating the device - and even then it's not too accurate. Since I don't actually need to monitor the exact SPL, my implementation appears to be sufficient in practice. This can be found in the files SoundOutlierDetector.java and SoundMeter.java. It's worth noting that my solution is proportional to the SPL, it's just not the actual value. I also started adding initial support for reading calendar events, which can be found in CalendarEventsListFragment.java.