{"id":93,"date":"2022-02-26T13:21:43","date_gmt":"2022-02-26T13:21:43","guid":{"rendered":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s22-teama5\/?p=93"},"modified":"2022-02-26T13:21:43","modified_gmt":"2022-02-26T13:21:43","slug":"georges-status-report-for-2-26","status":"publish","type":"post","link":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s22-teama5\/2022\/02\/26\/georges-status-report-for-2-26\/","title":{"rendered":"George&#8217;s Status Report for 2\/26"},"content":{"rendered":"<p>This week I worked on adding audio and making improvements to the game UI. Adding audio to the game ended up being much more challenging than I had expected.<\/p>\n<p><iframe loading=\"lazy\" width=\"525\" height=\"394\" src=\"https:\/\/www.youtube.com\/embed\/WnlruBmZu_s?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture\" allowfullscreen><\/iframe><\/p>\n<p>Last week I tried to add the libraries\u00a0<em>irrKlang,<\/em> <em>SMTL<\/em>, and\u00a0<em>miniaudio<\/em>, but they weren&#8217;t working for me. I had trouble linking them them into the project from within my CMakeLists.txt. In my status update for last week, I mentioned that I wanted to try to add the audio library\u00a0<em>SoLoud<\/em> to the code base. I tried linking that as well, but it wasn&#8217;t working out. Eventually, I came across a sound library called\u00a0<em>PortAudio<\/em>, and I was able to successfully add it to the game. I got a small sound demo working. The sound demo sounded terrible, because it played a simple saw wave, but it worked nonetheless.<\/p>\n<p>In addition to adding\u00a0<em>PortAudio<\/em> for playing sounds, I also added\u00a0<em>libaudiodecoder<\/em> for reading wav and mp3 files.<\/p>\n<p>Also, I updated the game GUI to show notes raining down towards the bottom of the screen.<\/p>\n<p>For next week, I will be synchronizing the audio playback to the note scrolling, and I will also be working on decoding the beatmap JSON files. I would also like to work on detecting whether the player hit the beat at the correct time.\u00a0I was a little bit behind schedule last week, but I feel like I&#8217;ve caught up now. We have from now until March 20 to reach our MVP, which is more than enough time to create a playable demo of the game.<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This week I worked on adding audio and making improvements to the game UI. Adding audio to the game ended up being much more challenging than I had expected. Last week I tried to add the libraries\u00a0irrKlang, SMTL, and\u00a0miniaudio, but they weren&#8217;t working for me. I had trouble linking them them into the project from &hellip; <\/p>\n<p class=\"link-more\"><a href=\"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s22-teama5\/2022\/02\/26\/georges-status-report-for-2-26\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;George&#8217;s Status Report for 2\/26&#8221;<\/span><\/a><\/p>\n","protected":false},"author":526,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[7,3],"tags":[],"_links":{"self":[{"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s22-teama5\/wp-json\/wp\/v2\/posts\/93"}],"collection":[{"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s22-teama5\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s22-teama5\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s22-teama5\/wp-json\/wp\/v2\/users\/526"}],"replies":[{"embeddable":true,"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s22-teama5\/wp-json\/wp\/v2\/comments?post=93"}],"version-history":[{"count":1,"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s22-teama5\/wp-json\/wp\/v2\/posts\/93\/revisions"}],"predecessor-version":[{"id":94,"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s22-teama5\/wp-json\/wp\/v2\/posts\/93\/revisions\/94"}],"wp:attachment":[{"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s22-teama5\/wp-json\/wp\/v2\/media?parent=93"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s22-teama5\/wp-json\/wp\/v2\/categories?post=93"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s22-teama5\/wp-json\/wp\/v2\/tags?post=93"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}