Week of 12/1 – Jiahao Zhou

After converting everything from MATLAB to Python I knew that Python would possibly be slower than MATLAB. However, testing revealed that on larger samples (> 5 seconds), the Python code begins to lag noticeably. The longer the sample, the slower the Python code. After timing I have determined that the for loops inside the Python functions are much slower than the MATLAB counterparts. This seems to be due to MATLAB using a just-in-time compiler. I changed some of the NumPy functions like arange() back into range() which actually helped increase speed a little.

However, at the point we are in the project the extra speed is not critical to our success. Since the demo is coming up next week I turned my attention to finishing the Final Project report. We ran into integration problems due to problems with the backend. We had to wrap up the integration before finishing the paper. The rest of the week was spent on the paper. We are now doing the finishing touches before the demo and making our video.

Week of 12/1 – Saransh Agarwal

Focused on getting the final presentation ready and on integrating the DSP part. It has been done so by sending a complete wav file to the backend.

Next week, the focus is to complete the final report. and get the system ready for demo, by improving the performance of the front and backend communication, and add a final score page.

Week of 12/1

  • Connected the high pass filter with the low pass filter, then feed the output of the combined filters into an op-amp to amplify the output signal. With the microphone connected to the filters with a breakout, and with the output of the op-amp connected to a 2-sided 3.5mm cable using a breakout, I then use a 3.5mm to USB adapter to integrate the circuit with the laptop and the webapp
  • The schedule is on progress
  • The plan for the upcoming week is to demo