{"id":22,"date":"2020-02-15T19:56:40","date_gmt":"2020-02-15T19:56:40","guid":{"rendered":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s20-teame4\/?p=22"},"modified":"2020-02-15T19:56:40","modified_gmt":"2020-02-15T19:56:40","slug":"aarushis-status-update-for-2-15","status":"publish","type":"post","link":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s20-teame4\/2020\/02\/15\/aarushis-status-update-for-2-15\/","title":{"rendered":"Aarushi&#8217;s Status Update for 2\/15"},"content":{"rendered":"<p>&nbsp;<\/p>\n<p><strong>Step Detection<\/strong><\/p>\n<p>This week was important to test our step detection methods as it is the base of our desires &#8211; to match a runner&#8217;s pace. Pace being steps\/minute rather than speed of distance\/time.<\/p>\n<p class=\"p1\">I ran on a treadmill to (1) verify accelerometer data, and (2) to measure my tolerance for gap between starting run and the music adjusting tempo to pace. For jogs of 20-40 minutes (3-5 miles) at more or less the same pace, my tolerance for not adjusted music was 3 minutes. For runs of 10 minutes (1-1.5 miles) at more or less the same pace, my tolerance for not adjusted music was 1.5 minutes.<\/p>\n<p>When verifying accelerometer data, we compare between two android phones of different generations and a smartwatch. This design was controlled by manually counting steps while running, and using all devices on the same run. These measurements were done for 30 second, and 1 minute intervals at speeds of 5.5mph to 10mph at intervals of 0.5. Additionally, I completed three &#8216;long&#8217; distance runs of 3 minutes and 5 minutes for step verification, and longer for tolerance of gap between starting run and the music adjusting tempo to pace. (A tragic event because I prefer intervals to distance). An iphone was attempted for comparable metrics, but the iphone 7 plus was what we had access to, and only updates every 10 minutes. Thus, it was impossible to use to measure the number of steps in a defined time interval.<\/p>\n<p>&nbsp;<\/p>\n<p><strong>Wavelet Transform<\/strong><\/p>\n<p>Working on the wavelet transform model\u00a0 based off the paper for musical analysis and audio compression methods: https:\/\/www.hindawi.com\/journals\/jece\/2008\/346767\/#experimental-procedures-and-results. This was decided after evaluating numerous methods that were also discussed in this paper. This paper provides research and insights on testing how a transformation can be deemed successful. They proved that it is effective in decreasing error, as seen as quantization artifacts or Signal-to-mask ratio (SMR). This music transformation was performed by Discrete Wavelet Packet Transform (DWPT) for its increased accuracy and less computational complexity. I will follow suite for these two beneficial distinctions.<\/p>\n<p>I will be implementing this in Python for easy integration into Java via Jython. Therefore, I have been playing around with Python&#8217;s wavelet transform open-source library &#8211; pywaveletes. I have setup my environment deleting\/installing all necessary libraries and their correct versions for this testing. I have started testing the wavelet transform functions of this library on basic signals like [1,2,3,4] ,\u00a0<span style=\"font-size: 1rem\">originalSignal = sin(2 * np.pi * 7 * originalTime) where originalTime is a linespace of time from -1 to 1 broken up into &#8216;discrete&#8217; components of 0.01 increments in time, and <\/span>images, since I have worked with wavelet transforms with images before. This experimentation will continue into Saturday night, however this update will be submitted before results with audio signals are tested.<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>&nbsp; Step Detection This week was important to test our step detection methods as it is the base of our desires &#8211; to match a runner&#8217;s pace. Pace being steps\/minute rather than speed of distance\/time. I ran on a treadmill to (1) verify accelerometer data, and (2) to measure my tolerance for gap between starting &hellip; <\/p>\n<p class=\"link-more\"><a href=\"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s20-teame4\/2020\/02\/15\/aarushis-status-update-for-2-15\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Aarushi&#8217;s Status Update for 2\/15&#8221;<\/span><\/a><\/p>\n","protected":false},"author":291,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[2],"_links":{"self":[{"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s20-teame4\/wp-json\/wp\/v2\/posts\/22"}],"collection":[{"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s20-teame4\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s20-teame4\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s20-teame4\/wp-json\/wp\/v2\/users\/291"}],"replies":[{"embeddable":true,"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s20-teame4\/wp-json\/wp\/v2\/comments?post=22"}],"version-history":[{"count":1,"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s20-teame4\/wp-json\/wp\/v2\/posts\/22\/revisions"}],"predecessor-version":[{"id":23,"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s20-teame4\/wp-json\/wp\/v2\/posts\/22\/revisions\/23"}],"wp:attachment":[{"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s20-teame4\/wp-json\/wp\/v2\/media?parent=22"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s20-teame4\/wp-json\/wp\/v2\/categories?post=22"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s20-teame4\/wp-json\/wp\/v2\/tags?post=22"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}