{"id":379,"date":"2023-11-15T16:02:00","date_gmt":"2023-11-15T16:02:00","guid":{"rendered":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/f23-teamb6\/?p=379"},"modified":"2023-11-18T01:05:53","modified_gmt":"2023-11-18T01:05:53","slug":"sanjanas-status-report-for-11-18","status":"publish","type":"post","link":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/f23-teamb6\/2023\/11\/15\/sanjanas-status-report-for-11-18\/","title":{"rendered":"Sanjana&#8217;s Status Report for 11\/18"},"content":{"rendered":"<p>This week, I fixed a nasty bug on the music display page. After this, progress resumed and I was able to display the pages of the PDF file as images and send which page to display from the backend. There are manual buttons to flip the page and a Django function that can take in user clicks to update the display with a small page turning animation.\u00a0<a href=\"https:\/\/drive.google.com\/file\/d\/1mR2MNr8D_uXpNmP9bM9sywMEst2CsVE2\/view?usp=drive_link\">Page Flipping Video Demo<\/a>.<\/p>\n<p>Furthermore, I conducted research about Django channels and web sockets. Web sockets seem like a viable option, however, after attempting to install it, I ran into several errors. I&#8217;m retrying installation with my existing Django backend, but an alternative could be to setup the environment with web sockets and channels already enabled and ASGI instead of WSGI. Getting a live stream of data to the Django frontend<\/p>\n<p>Rohan and I have the Frontend system running on our laptops, but for integration with the audio &#8211; which is currently on Caleb&#8217;s laptop &#8211; we helped get him setup with the environment needed to run the Frontend scripts. Over the course of 3 days, this took 2 + 2.5 + 2 = 6.5 hours, and I documented the process\/steps in the README. Integration was a lot more difficult than expected, so we will be working overtime in order to integrate things earlier than expected.<\/p>\n<p>This week, I also wanted to accomplish my goal of displaying a moving cursor and be able to update the frontend based on that. I calculated coordinates for each measure and line in order to have the cursor as accurate as possible. These values were hardcoded because our sheet music is standardized. Here&#8217;s a quick demo of the website:\u00a0<a href=\"https:\/\/drive.google.com\/file\/d\/13lF095QY-Ok0pHW1ZyAbpidU1an5vSgC\/view?usp=drive_link\">Moving Cursor Video Demo<\/a>. I got the cursor to move at a constant pace on one line for now. This is a feature we wanted to develop for debugging, so it&#8217;s really great that I was able to display it when we had doubts about its feasibility earlier.<\/p>\n<p>So far, my work is on track<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This week, I fixed a nasty bug on the music display page. After this, progress resumed and I was able to display the pages of the PDF file as images and send which page to display from the backend. There are manual buttons to flip the page and a Django function that can take in &hellip; <\/p>\n<p class=\"link-more\"><a href=\"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/f23-teamb6\/2023\/11\/15\/sanjanas-status-report-for-11-18\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Sanjana&#8217;s Status Report for 11\/18&#8221;<\/span><\/a><\/p>\n","protected":false},"author":769,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"video","meta":[],"categories":[1],"tags":[],"_links":{"self":[{"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/f23-teamb6\/wp-json\/wp\/v2\/posts\/379"}],"collection":[{"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/f23-teamb6\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/f23-teamb6\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/f23-teamb6\/wp-json\/wp\/v2\/users\/769"}],"replies":[{"embeddable":true,"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/f23-teamb6\/wp-json\/wp\/v2\/comments?post=379"}],"version-history":[{"count":14,"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/f23-teamb6\/wp-json\/wp\/v2\/posts\/379\/revisions"}],"predecessor-version":[{"id":398,"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/f23-teamb6\/wp-json\/wp\/v2\/posts\/379\/revisions\/398"}],"wp:attachment":[{"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/f23-teamb6\/wp-json\/wp\/v2\/media?parent=379"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/f23-teamb6\/wp-json\/wp\/v2\/categories?post=379"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/f23-teamb6\/wp-json\/wp\/v2\/tags?post=379"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}