{"id":26342,"date":"2019-03-06T14:25:07","date_gmt":"2019-03-06T22:25:07","guid":{"rendered":"https:\/\/blog.digilentinc.com\/?p=26342"},"modified":"2021-06-09T13:24:46","modified_gmt":"2021-06-09T20:24:46","slug":"pmod-mic-audio-visualizer","status":"publish","type":"post","link":"https:\/\/digilent.com\/blog\/pmod-mic-audio-visualizer\/","title":{"rendered":"Pmod MIC Audio Visualizer"},"content":{"rendered":"\n<p>Lately, I&#8217;ve found myself becoming more and more interested in projects involving music and audio processing. And so, guided by sheer scientific curiosity about the theories and nuance in the field of sound, I decided to build an audio visualizer! <\/p>\n\n\n\n<p> Just kidding. I built this because I wanted to look cool at parties, especially when all I have at my disposal is a TV screen and an aux cord. So, I figured I would make a nifty sound visualizer that could hear and visually interpret music in live time. <\/p>\n\n\n\n<p>To do this, I used a<a href=\"https:\/\/digilent.com\/shop\/pmod-mic3-mems-microphone-with-adjustable-gain\/\"> Pmod MIC<\/a> as the sound sensor, and connected it to the <a href=\"https:\/\/www.arduino.cc\/\">Arduino UNO.<\/a><\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"532\" height=\"461\" src=\"https:\/\/digilent.com\/blog\/wp-content\/uploads\/2019\/01\/fin.png\" alt=\"\" class=\"wp-image-26346\"\/><\/figure>\n\n\n\n<p>Once I had the circuit complete, I uploaded the Arduino code and kept the board plugged into my computer. Next I ran the data collected through the serial port to a program in <a href=\"https:\/\/processing.org\/\">Processing<\/a>, which displayed the gain levels as &#8220;bars&#8221; in real time. <\/p>\n\n\n\n<p><em>Side Note: This Processing program also serves as a good testing\/graphing tool for any kind of data passed to it through the serial port.<\/em><\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"950\" height=\"444\" src=\"https:\/\/digilent.com\/blog\/wp-content\/uploads\/2019\/01\/stilpic.png\" alt=\"\" class=\"wp-image-26344\" srcset=\"https:\/\/digilent.com\/blog\/wp-content\/uploads\/2019\/01\/stilpic.png 950w, https:\/\/digilent.com\/blog\/wp-content\/uploads\/2019\/01\/stilpic-600x280.png 600w, https:\/\/digilent.com\/blog\/wp-content\/uploads\/2019\/01\/stilpic-768x359.png 768w, https:\/\/digilent.com\/blog\/wp-content\/uploads\/2019\/01\/stilpic-800x374.png 800w\" sizes=\"auto, (max-width: 950px) 100vw, 950px\" \/><\/figure>\n\n\n\n<p>With the help of my friend Josh, I successfully created a program that visualized sound in the same way that I had envisioned it. And as for my primary goal of looking cool at parties, the results have yet to be determined regarding whether or not people think that I do, in fact, know how to raise the roof.<\/p>\n\n\n\n<figure class=\"wp-block-video\"><video controls src=\"https:\/\/digilent.com\/blog\/wp-content\/uploads\/2019\/01\/ScreenCaptureProject4.mp4\"><\/video><figcaption>Audio Visualizer in action!<\/figcaption><\/figure>\n\n\n\n<p>If you are interested in building or expanding on this project, see the full<a href=\"https:\/\/www.hackster.io\/MirandaMay7\/pmod-mic-audio-visualizer-131fdf\"> instructions and code at Hackster.io!<\/a><\/p>\n<div class='watch-action'><div class='watch-position align-left'><div class='action-like'><a class='lbg-style6 like-26342 jlk' data-task='like' data-post_id='26342' data-nonce='e5335d04d0' rel='nofollow'><img src='https:\/\/digilent.com\/blog\/wp-content\/plugins\/wti-like-post-pro\/images\/pixel.gif' title='Like' \/><span class='lc-26342 lc'>+3<\/span><\/a><\/div><div class='action-unlike'><a class='unlbg-style6 unlike-26342 jlk' data-task='unlike' data-post_id='26342' data-nonce='e5335d04d0' rel='nofollow'><img src='https:\/\/digilent.com\/blog\/wp-content\/plugins\/wti-like-post-pro\/images\/pixel.gif' title='Unlike' \/><span class='unlc-26342 unlc'>0<\/span><\/a><\/div><\/div> <div class='status-26342 status align-left'><\/div><\/div><div class='wti-clear'><\/div>","protected":false},"excerpt":{"rendered":"<p>Build a dynamic audio visualizer that responds to music, voices and other auditory input using Pmod MIC, Arduino Uno and Processing.<\/p>\n","protected":false},"author":36,"featured_media":26345,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[38,4327],"tags":[],"ppma_author":[4485],"class_list":["post-26342","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-expansion-modules","category-projects"],"jetpack_featured_media_url":"https:\/\/digilent.com\/blog\/wp-content\/uploads\/2019\/01\/IMG_20190116_131450651.jpg","authors":[{"term_id":4485,"user_id":36,"is_guest":0,"slug":"mirandamay7","display_name":"Miranda Hansen","avatar_url":"https:\/\/secure.gravatar.com\/avatar\/9bae943b615ddb1dedee72ccb219b464?s=96&d=mm&r=g","author_category":"","user_url":"","last_name":"Hansen","last_name_2":"","first_name":"Miranda","first_name_2":"","job_title":"","description":"I enjoy creative writing, engineering, thinking, building, exploring and sharing with people.\r\nHuge aficionado of spending time thinking about things that \u201cdon\u2019t matter.\u201d \r\n I am very interested in unconstrained creativity. I love cross-discipline ideas and all of their integration into complete original systems.\r\n\r\nAnd I like things that do things."}],"post_mailing_queue_ids":[],"_links":{"self":[{"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/posts\/26342","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/users\/36"}],"replies":[{"embeddable":true,"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/comments?post=26342"}],"version-history":[{"count":0,"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/posts\/26342\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/media\/26345"}],"wp:attachment":[{"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/media?parent=26342"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/categories?post=26342"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/tags?post=26342"},{"taxonomy":"author","embeddable":true,"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/ppma_author?post=26342"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}