{"id":62,"date":"2024-02-18T02:36:29","date_gmt":"2024-02-18T02:36:29","guid":{"rendered":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s24-teamd5\/?p=62"},"modified":"2024-02-18T02:36:29","modified_gmt":"2024-02-18T02:36:29","slug":"lins-status-report-for-2-17","status":"publish","type":"post","link":"https:\/\/course.ece.cmu.edu\/~ece500\/projects\/s24-teamd5\/2024\/02\/18\/lins-status-report-for-2-17\/","title":{"rendered":"Lin&#8217;s Status Report for 2\/17"},"content":{"rendered":"<p>This week my main focus is to work on the pitch detection of the audio processing. I have transferred all my work from Matlab to Python, since it will be the primary language of our Web App&#8217;s backend. Currently, I am applying\u00a0Short-time Fourier transform(STFT) to an input audio to get its frequency. Then I convert the pitch into MIDI notes and pair them with music notes. I tried several python libraries including Librosa and Scipy, which all deal with music and audio analysis. For now I&#8217;ve decided to use Librosa mainly since it&#8217;s been widely recommended by the StackOverflow users, but if things doesn&#8217;t work out later I&#8217;ll switch to Scipy.\u00a0 I&#8217;m able to extract pitch and note from a 12tet diatonic music scale as shown in the graph below.\u00a0<img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-63\" src=\"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s24-teamd5\/wp-content\/uploads\/sites\/298\/2024\/02\/Scale-sheet-output_2.png\" alt=\"\" width=\"1200\" height=\"800\" srcset=\"https:\/\/course.ece.cmu.edu\/~ece500\/projects\/s24-teamd5\/wp-content\/uploads\/sites\/298\/2024\/02\/Scale-sheet-output_2.png 1200w, https:\/\/course.ece.cmu.edu\/~ece500\/projects\/s24-teamd5\/wp-content\/uploads\/sites\/298\/2024\/02\/Scale-sheet-output_2-300x200.png 300w, https:\/\/course.ece.cmu.edu\/~ece500\/projects\/s24-teamd5\/wp-content\/uploads\/sites\/298\/2024\/02\/Scale-sheet-output_2-768x512.png 768w, https:\/\/course.ece.cmu.edu\/~ece500\/projects\/s24-teamd5\/wp-content\/uploads\/sites\/298\/2024\/02\/Scale-sheet-output_2-1024x683.png 1024w\" sizes=\"(max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><\/p>\n<p>My progress is on track this week. I wrote my code for music files within 10s and I plan to work on musics that are longer next week. Our design goal is to perform pitch detection to a roughly 60s music file so I will start to work on that next week. I will also try with some low SNR input files to test the pre-processing part of my code.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This week my main focus is to work on the pitch detection of the audio processing. I have transferred all my work from Matlab to Python, since it will be the primary language of our Web App&#8217;s backend. Currently, I am applying\u00a0Short-time Fourier transform(STFT) to an input audio to get its frequency. Then I convert &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/course.ece.cmu.edu\/~ece500\/projects\/s24-teamd5\/2024\/02\/18\/lins-status-report-for-2-17\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Lin&#8217;s Status Report for 2\/17&#8221;<\/span><\/a><\/p>\n","protected":false},"author":869,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[6],"tags":[7],"_links":{"self":[{"href":"https:\/\/course.ece.cmu.edu\/~ece500\/projects\/s24-teamd5\/wp-json\/wp\/v2\/posts\/62"}],"collection":[{"href":"https:\/\/course.ece.cmu.edu\/~ece500\/projects\/s24-teamd5\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/course.ece.cmu.edu\/~ece500\/projects\/s24-teamd5\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/course.ece.cmu.edu\/~ece500\/projects\/s24-teamd5\/wp-json\/wp\/v2\/users\/869"}],"replies":[{"embeddable":true,"href":"https:\/\/course.ece.cmu.edu\/~ece500\/projects\/s24-teamd5\/wp-json\/wp\/v2\/comments?post=62"}],"version-history":[{"count":1,"href":"https:\/\/course.ece.cmu.edu\/~ece500\/projects\/s24-teamd5\/wp-json\/wp\/v2\/posts\/62\/revisions"}],"predecessor-version":[{"id":64,"href":"https:\/\/course.ece.cmu.edu\/~ece500\/projects\/s24-teamd5\/wp-json\/wp\/v2\/posts\/62\/revisions\/64"}],"wp:attachment":[{"href":"https:\/\/course.ece.cmu.edu\/~ece500\/projects\/s24-teamd5\/wp-json\/wp\/v2\/media?parent=62"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/course.ece.cmu.edu\/~ece500\/projects\/s24-teamd5\/wp-json\/wp\/v2\/categories?post=62"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/course.ece.cmu.edu\/~ece500\/projects\/s24-teamd5\/wp-json\/wp\/v2\/tags?post=62"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}