{"id":107,"date":"2021-03-19T18:13:11","date_gmt":"2021-03-19T18:13:11","guid":{"rendered":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s21-teamd6\/?p=107"},"modified":"2021-03-19T18:13:11","modified_gmt":"2021-03-19T18:13:11","slug":"cambreas-status-report-for-march-20","status":"publish","type":"post","link":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s21-teamd6\/2021\/03\/19\/cambreas-status-report-for-march-20\/","title":{"rendered":"Cambrea&#8217;s Status Report for March 20"},"content":{"rendered":"<p>This week I wrote the code the handle all components on the raspberry pi.<\/p>\n<p>These components are the microphone IO, audio processing, and the client code.\u00a0 The RaspberrySystem file acts as the &#8220;top&#8221; module on the raspberry pi, and is used to run the entire system.\u00a0 In this file I start the threads for the mic IO, audio processing, and client threads.<\/p>\n<p><a href=\"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s21-teamd6\/wp-content\/uploads\/sites\/147\/2021\/03\/RaspberrySystem.pdf\">RaspberrySystem<\/a><\/p>\n<p>I also added the MicrophoneIO file.\u00a0 In this file, the startIO function is called by the RaspberrySystem file.\u00a0 This function starts the audio stream to listen on the microphone.\u00a0 When audio is detected on the microphone, it is then put into the queue for the audio processing component.\u00a0 The direction of arrival for that particular audio is also added to the queue. This happens in the callback function.<\/p>\n<p>When audio is ready to be played on the speaker(this is the output audio coming from the second set of users in a different room) the stream to listen to audio is stopped to prevent a feedback loop while the output audio is played.<\/p>\n<p><a href=\"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s21-teamd6\/wp-content\/uploads\/sites\/147\/2021\/03\/MicrophoneIO.pdf\">MicrophoneIO<\/a><\/p>\n<p>Lastly I added to the client code.\u00a0 Here I made a text file that holds the audio device&#8217;s ID number.\u00a0 This number is sent to the server so that the server can differentiate the audio devices.<\/p>\n<p>I also ordered a respeaker, micro SD card, raspberry pi case and raspberry pi power supply cable to create the second audio device.<\/p>\n<p>I am currently on track with my progress.<\/p>\n<p>Next week I will configure the new audio device when the parts arrive.\u00a0 Ellen and I will also start integrating the audio streaming work that I have done with the transcript generator that Ellen has completed.<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This week I wrote the code the handle all components on the raspberry pi. These components are the microphone IO, audio processing, and the client code.\u00a0 The RaspberrySystem file acts as the &#8220;top&#8221; module on the raspberry pi, and is used to run the entire system.\u00a0 In this file I start the threads for the &hellip; <a href=\"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s21-teamd6\/2021\/03\/19\/cambreas-status-report-for-march-20\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Cambrea&#8217;s Status Report for March 20&#8221;<\/span><\/a><\/p>\n","protected":false},"author":452,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[5],"tags":[7],"_links":{"self":[{"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s21-teamd6\/wp-json\/wp\/v2\/posts\/107"}],"collection":[{"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s21-teamd6\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s21-teamd6\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s21-teamd6\/wp-json\/wp\/v2\/users\/452"}],"replies":[{"embeddable":true,"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s21-teamd6\/wp-json\/wp\/v2\/comments?post=107"}],"version-history":[{"count":1,"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s21-teamd6\/wp-json\/wp\/v2\/posts\/107\/revisions"}],"predecessor-version":[{"id":110,"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s21-teamd6\/wp-json\/wp\/v2\/posts\/107\/revisions\/110"}],"wp:attachment":[{"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s21-teamd6\/wp-json\/wp\/v2\/media?parent=107"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s21-teamd6\/wp-json\/wp\/v2\/categories?post=107"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s21-teamd6\/wp-json\/wp\/v2\/tags?post=107"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}