{"id":5842,"date":"2020-06-08T00:50:45","date_gmt":"2020-06-08T00:50:45","guid":{"rendered":"https:\/\/clydelettsome.com\/blog\/?post_type=product&#038;p=5842"},"modified":"2020-06-08T00:50:45","modified_gmt":"2020-06-08T00:50:45","slug":"musical-note-detector-using-an-arduino","status":"publish","type":"product","link":"https:\/\/clydelettsome.com\/blog\/product\/musical-note-detector-using-an-arduino\/","title":{"rendered":"Musical Note Detector Using An Arduino"},"content":{"rendered":"<p>This code\/sketch displays the approximate frequency as well as the musical note played on an electronic keyboard or piano app. For this project, the analog output from the<br \/>\nsound module detector is sent to the A0 analog input of the Arduino Uno. The analog signal is sampled and quantized (digitized). Auto-correlation, weighting and tuning code is used to<br \/>\nfind fundamental frequency using the first 3 periods. The approximate fundamental frequency is then compared to frequencies in octaves 3, 4, and 5 range to determine the closest musical<br \/>\nnote frequency. Finally the guessed note for the closest frequency is printed to the screen.<\/p>\n<p>Project: <a href=\"https:\/\/clydelettsome.com\/blog\/2020\/06\/07\/my-weekend-project-musical-note-detector-using-an-arduino\/\">My Weekend Project: Musical Note Detector Using An Arduino<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>This code\/sketch displays the approximate frequency as well as the musical note played on an electronic keyboard or piano app.<\/p>\n","protected":false},"featured_media":5588,"comment_status":"closed","ping_status":"closed","template":"","meta":[],"product_brand":[],"product_cat":[548],"product_tag":[],"class_list":{"0":"post-5842","1":"product","2":"type-product","3":"status-publish","4":"has-post-thumbnail","6":"product_cat-software-scripts","7":"h-entry","10":"first","11":"instock","12":"downloadable","13":"virtual","14":"purchasable","15":"product-type-simple"},"_links":{"self":[{"href":"https:\/\/clydelettsome.com\/blog\/wp-json\/wp\/v2\/product\/5842","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/clydelettsome.com\/blog\/wp-json\/wp\/v2\/product"}],"about":[{"href":"https:\/\/clydelettsome.com\/blog\/wp-json\/wp\/v2\/types\/product"}],"replies":[{"embeddable":true,"href":"https:\/\/clydelettsome.com\/blog\/wp-json\/wp\/v2\/comments?post=5842"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/clydelettsome.com\/blog\/wp-json\/wp\/v2\/media\/5588"}],"wp:attachment":[{"href":"https:\/\/clydelettsome.com\/blog\/wp-json\/wp\/v2\/media?parent=5842"}],"wp:term":[{"taxonomy":"product_brand","embeddable":true,"href":"https:\/\/clydelettsome.com\/blog\/wp-json\/wp\/v2\/product_brand?post=5842"},{"taxonomy":"product_cat","embeddable":true,"href":"https:\/\/clydelettsome.com\/blog\/wp-json\/wp\/v2\/product_cat?post=5842"},{"taxonomy":"product_tag","embeddable":true,"href":"https:\/\/clydelettsome.com\/blog\/wp-json\/wp\/v2\/product_tag?post=5842"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}