{"id":218,"date":"2022-12-04T05:13:28","date_gmt":"2022-12-04T05:13:28","guid":{"rendered":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/f22-teamb2\/?p=218"},"modified":"2022-12-04T05:14:48","modified_gmt":"2022-12-04T05:14:48","slug":"johns-status-report-12-3","status":"publish","type":"post","link":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/f22-teamb2\/2022\/12\/04\/johns-status-report-12-3\/","title":{"rendered":"John&#8217;s Status Report (12\/3)"},"content":{"rendered":"<p>This week, I focused on attempting to recreate the input audio using piano key audio files. To do this, I needed several things: audio files for all keys on the piano (in order to reconstruct the sounds), a piano design for visualization on the web app, and JavaScript functions to interpret the note scheduler list and play the correct notes at each sample.<\/p>\n<p>In terms of the audio files, I finally found\u00a0 all the necessary notes from a public GitHub (https:\/\/github.com\/daviddeborin\/88-Key-Virtual-Piano). This has allowed me to extract each note and utilize them for playback. With these files, I can play many in parallel, choose what volume to play them at (using information encoded from the notes scheduler), and whether I need to repress them or not on any given sample.<\/p>\n<p>In terms of a piano visualization design, I was able to get a 69-key piano formatted for our webapp after drawing inspiration from and\u00a0 wrestling with the HTML, CSS, and JavaScript code from the Pianolizer Project (https:\/\/github.com\/creaktive\/pianolizer). Now, we are able to see a piano on our web app as the sounds are being played.<\/p>\n<p>Up next, I am planning to tie everything together with the proper functions that allow for playing the notes in parallel for each time sample to recreate the audio. I will be using the piano design to change the color of the keys currently being played so users can visualize what notes are being played as they hear them. Lastly, I will be working with Angela to incorporate a speech-to-text analyzer for both the input and output audio to see if the program can capture the word being &#8216;spoken&#8217; by the piano.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This week, I focused on attempting to recreate the input audio using piano key audio files. To do this, I needed several things: audio files for all keys on the piano (in order to reconstruct the sounds), a piano design for visualization on the web app, and JavaScript functions to interpret the note scheduler list &hellip; <\/p>\n<p class=\"link-more\"><a href=\"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/f22-teamb2\/2022\/12\/04\/johns-status-report-12-3\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;John&#8217;s Status Report (12\/3)&#8221;<\/span><\/a><\/p>\n","protected":false},"author":632,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[3,1],"tags":[],"_links":{"self":[{"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/f22-teamb2\/wp-json\/wp\/v2\/posts\/218"}],"collection":[{"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/f22-teamb2\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/f22-teamb2\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/f22-teamb2\/wp-json\/wp\/v2\/users\/632"}],"replies":[{"embeddable":true,"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/f22-teamb2\/wp-json\/wp\/v2\/comments?post=218"}],"version-history":[{"count":1,"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/f22-teamb2\/wp-json\/wp\/v2\/posts\/218\/revisions"}],"predecessor-version":[{"id":219,"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/f22-teamb2\/wp-json\/wp\/v2\/posts\/218\/revisions\/219"}],"wp:attachment":[{"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/f22-teamb2\/wp-json\/wp\/v2\/media?parent=218"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/f22-teamb2\/wp-json\/wp\/v2\/categories?post=218"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/f22-teamb2\/wp-json\/wp\/v2\/tags?post=218"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}