{"id":56,"date":"2023-02-11T21:56:59","date_gmt":"2023-02-11T21:56:59","guid":{"rendered":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s23-teamd1\/?p=56"},"modified":"2023-02-12T05:05:35","modified_gmt":"2023-02-12T05:05:35","slug":"oscars-status-report-for-2-11","status":"publish","type":"post","link":"https:\/\/course.ece.cmu.edu\/~ece500\/projects\/s23-teamd1\/2023\/02\/11\/oscars-status-report-for-2-11\/","title":{"rendered":"Oscar&#8217;s Status Report for Feb 11"},"content":{"rendered":"<p>Besides preparing for the presentation on Wednesday, I was researching potential software\/code for our synthesizer. Specifically, I was looking for the following functionalities:<\/p>\n<ul>\n<li>Supports playing sounds of different frequencies and volumes.<\/li>\n<li>Can apply at least one adjustable musical effect.<\/li>\n<li>Supports at least two different tone colors\/instrument sounds.<\/li>\n<\/ul>\n<p>I have tried building a DIY synthesizer using Python libraries like <a href=\"http:\/\/ajaxsoundstudio.com\/software\/pyo\/\">pyo<\/a>, <a href=\"https:\/\/pypi.org\/project\/synthesizer\/\">synthesizer<\/a>, and C++ libraries like\u00a0<a href=\"https:\/\/ccrma.stanford.edu\/software\/stk\/\">STK<\/a>. After wrestling with import errors and dependency issues, I decided to build a synthesizer based on <a href=\"https:\/\/python.plainenglish.io\/making-a-synth-with-python-oscillators-2cb8e68e9c3b\">this post<\/a>. It has a step-by-step tutorial that teaches you how to build an oscillator, a modulator, and a controller in Python. I modified the code provided in the post and wrote a simple <a href=\"https:\/\/codefile.io\/f\/Ye9qZxrDGCo5FeTYSAPJ\">Python program<\/a> that can generate numpy arrays representing arbitrary frequencies sounds. Currently, the program plays a &#8220;C4-E4-G4&#8221; sequence on repeat.<\/p>\n<p>My progress is on schedule, and I am planning to upgrade the synthesizer program so that it responds to real-time inputs (for example, mouse movement). Also, I need to fix the audio &#8220;snaps&#8221; problem. When looping a frequency array, the difference between the first and last element will cause the synthesizer to play a snap sound. I need to find a way to smooth out the snaps and make looping unnoticeable.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Besides preparing for the presentation on Wednesday, I was researching potential software\/code for our synthesizer. Specifically, I was looking for the following functionalities: Supports playing sounds of different frequencies and volumes. Can apply at least one adjustable musical effect. Supports at least two different tone colors\/instrument sounds. I have tried building a DIY synthesizer using &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/course.ece.cmu.edu\/~ece500\/projects\/s23-teamd1\/2023\/02\/11\/oscars-status-report-for-2-11\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Oscar&#8217;s Status Report for Feb 11&#8221;<\/span><\/a><\/p>\n","protected":false},"author":669,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[7],"_links":{"self":[{"href":"https:\/\/course.ece.cmu.edu\/~ece500\/projects\/s23-teamd1\/wp-json\/wp\/v2\/posts\/56"}],"collection":[{"href":"https:\/\/course.ece.cmu.edu\/~ece500\/projects\/s23-teamd1\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/course.ece.cmu.edu\/~ece500\/projects\/s23-teamd1\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/course.ece.cmu.edu\/~ece500\/projects\/s23-teamd1\/wp-json\/wp\/v2\/users\/669"}],"replies":[{"embeddable":true,"href":"https:\/\/course.ece.cmu.edu\/~ece500\/projects\/s23-teamd1\/wp-json\/wp\/v2\/comments?post=56"}],"version-history":[{"count":6,"href":"https:\/\/course.ece.cmu.edu\/~ece500\/projects\/s23-teamd1\/wp-json\/wp\/v2\/posts\/56\/revisions"}],"predecessor-version":[{"id":89,"href":"https:\/\/course.ece.cmu.edu\/~ece500\/projects\/s23-teamd1\/wp-json\/wp\/v2\/posts\/56\/revisions\/89"}],"wp:attachment":[{"href":"https:\/\/course.ece.cmu.edu\/~ece500\/projects\/s23-teamd1\/wp-json\/wp\/v2\/media?parent=56"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/course.ece.cmu.edu\/~ece500\/projects\/s23-teamd1\/wp-json\/wp\/v2\/categories?post=56"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/course.ece.cmu.edu\/~ece500\/projects\/s23-teamd1\/wp-json\/wp\/v2\/tags?post=56"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}