{"id":67,"date":"2019-02-24T04:02:20","date_gmt":"2019-02-24T04:02:20","guid":{"rendered":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s19-teamd8\/?p=67"},"modified":"2019-02-24T04:02:20","modified_gmt":"2019-02-24T04:02:20","slug":"status-update-joseph-02-23-2019","status":"publish","type":"post","link":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s19-teamd8\/2019\/02\/24\/status-update-joseph-02-23-2019\/","title":{"rendered":"Status Update &#8211; Joseph (02\/23\/2019)"},"content":{"rendered":"<p><span style=\"font-weight: 400\">This week, I worked on the design review, as well as continually doing research on the audio processing module. As we worked on the design review and the intrinsics of the circuit simulator, we came to realize that the circuit simulator wasn\u2019t going to work as we had initially thought. In our original plan, the circuit simulator would find a transfer function for the circuit, and the audio processing module would use the derived transfer function to apply the effects.<\/span><\/p>\n<p><span style=\"font-weight: 400\">I looked into JUCE\u2019s WaveShaper module, which would have allowed me to apply various functions to incoming signals. However, after some research, we realized that most pedal circuits have non linear components that are a function of time, and that it\u2019s difficult to produce a mathematical model of an arbitrary circuit. Thus, our approach shifted to one where the heavy loading is all done within the circuit simulator. We saw hope in this approach as some other implementations produced fairly promising results, where the processing was faster than the actual audio file (though this may vary with different files and circuits).<\/span><\/p>\n<p><span style=\"font-weight: 400\">We then decided as a team that the audio processing module\u2019s job would now be to load input audio and write output signals, choosing between either the 3.5mm jack or the filesystem as the input, and choosing between the speakers and the filesystem for the output. The structure of the module is shown in the following diagram, which I made using diagrammaker.com:<\/span><\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-71 size-large\" src=\"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s19-teamd8\/wp-content\/uploads\/sites\/58\/2019\/02\/Screen-Shot-2019-02-23-at-11.00.15-PM-1024x496.png\" alt=\"\" width=\"525\" height=\"254\" srcset=\"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s19-teamd8\/wp-content\/uploads\/sites\/58\/2019\/02\/Screen-Shot-2019-02-23-at-11.00.15-PM-1024x496.png 1024w, http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s19-teamd8\/wp-content\/uploads\/sites\/58\/2019\/02\/Screen-Shot-2019-02-23-at-11.00.15-PM-300x145.png 300w, http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s19-teamd8\/wp-content\/uploads\/sites\/58\/2019\/02\/Screen-Shot-2019-02-23-at-11.00.15-PM-768x372.png 768w, http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s19-teamd8\/wp-content\/uploads\/sites\/58\/2019\/02\/Screen-Shot-2019-02-23-at-11.00.15-PM.png 1552w\" sizes=\"(max-width: 525px) 100vw, 525px\" \/><\/p>\n<p><span style=\"font-weight: 400\">The JUCE library also supports communication with the computer\u2019s audio hardware via the AudioSampleBuffer module. The interaction with the filesystem can be done with traditional UNIX syscalls.<\/span><\/p>\n<p><span style=\"font-weight: 400\">This model of the audio processing engine is a lot simpler than we had initially conceptualized. Since much of the bulk is now in the hands of the circuit simulation engine, I\u2019ll be shifting gears and help Matt on the circuit simulation portion once the basic structure of the audio processing engine is complete.<\/span><\/p>\n<p><span style=\"font-weight: 400\">I think that earlier in the week, the change in plans for the audio processor caused me to go down certain rabbit holes that are no longer relevant. This caused some lagging in terms of progress, but I think we now have a much more solid foundation as to what our project is going to be. Moving forward, I hope to have the audio processing module done by next week and get ramped up on the circuit simulation.<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>This week, I worked on the design review, as well as continually doing research on the audio processing module. As we worked on the design review and the intrinsics of the circuit simulator, we came to realize that the circuit simulator wasn\u2019t going to work as we had initially thought. In our original plan, the &hellip; <\/p>\n<p class=\"link-more\"><a href=\"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s19-teamd8\/2019\/02\/24\/status-update-joseph-02-23-2019\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Status Update &#8211; Joseph (02\/23\/2019)&#8221;<\/span><\/a><\/p>\n","protected":false},"author":174,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"image","meta":[],"categories":[1],"tags":[],"_links":{"self":[{"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s19-teamd8\/wp-json\/wp\/v2\/posts\/67"}],"collection":[{"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s19-teamd8\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s19-teamd8\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s19-teamd8\/wp-json\/wp\/v2\/users\/174"}],"replies":[{"embeddable":true,"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s19-teamd8\/wp-json\/wp\/v2\/comments?post=67"}],"version-history":[{"count":1,"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s19-teamd8\/wp-json\/wp\/v2\/posts\/67\/revisions"}],"predecessor-version":[{"id":75,"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s19-teamd8\/wp-json\/wp\/v2\/posts\/67\/revisions\/75"}],"wp:attachment":[{"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s19-teamd8\/wp-json\/wp\/v2\/media?parent=67"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s19-teamd8\/wp-json\/wp\/v2\/categories?post=67"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s19-teamd8\/wp-json\/wp\/v2\/tags?post=67"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}