{"id":3769,"date":"2021-11-12T19:36:42","date_gmt":"2021-11-12T18:36:42","guid":{"rendered":"https:\/\/www.pschatzmann.ch\/home\/?p=3769"},"modified":"2021-12-12T01:42:53","modified_gmt":"2021-12-12T00:42:53","slug":"the-big-ads1015-audio-failiure","status":"publish","type":"post","link":"https:\/\/www.pschatzmann.ch\/home\/2021\/11\/12\/the-big-ads1015-audio-failiure\/","title":{"rendered":"ADS1015: The Big Audio Failure"},"content":{"rendered":"<p>I am trying to build an <a href=\"https:\/\/www.pschatzmann.ch\/home\/2021\/11\/04\/arduino-sound-recording-from-an-electric-guitar-with-an-adc\/\">Arduino based Guitar Pedal<\/a> with the help of a Microcontroller and some <strong>cheap standard modules<\/strong>. So far, I had the <a href=\"https:\/\/www.pschatzmann.ch\/home\/2021\/11\/09\/arduino-audio-tools-adding-input-from-the-ads1015\/\">data input<\/a>, the <a href=\"https:\/\/www.pschatzmann.ch\/home\/2021\/11\/05\/arduino-audio-tools-audio-effects\/\">Audio Effects<\/a> ready and just needed to put everything together.<\/p>\n<p>When I tried to demonstrate how to output the sound from an <a href=\"https:\/\/www.aliexpress.com\/item\/1005003275887769.html?src=google&amp;src=google&amp;albch=shopping&amp;acnt=631-313-3945&amp;slnk=&amp;plac=&amp;mtctp=&amp;albbt=Google_7_shopping&amp;albagn=888888&amp;isSmbActive=false&amp;isSmbAutoCall=false&amp;needSmbHouyi=false&amp;albcp=12516043809&amp;albag=127658674308&amp;trgt=313429380675&amp;crea=de1005003275887769&amp;netw=u&amp;device=c&amp;albpg=313429380675&amp;albpd=de1005003275887769&amp;gclid=CjwKCAiAvriMBhAuEiwA8Cs5lfIAuytj0BNHKXyHe-lapw63DJs26T30NgkGxlj3Cr1OguLTP4CsnxoCs8cQAvD_BwE&amp;gclsrc=aw.ds&amp;aff_fcid=7d38440b18b24ad7b199662b3e1a8eed-1636742262110-09609-UneMJZVf&amp;aff_fsk=UneMJZVf&amp;aff_platform=aaf&amp;sk=UneMJZVf&amp;aff_trace_key=7d38440b18b24ad7b199662b3e1a8eed-1636742262110-09609-UneMJZVf&amp;terminal_id=e8b7ee59ab33462ebb741d66c5af0063\">ADS1015 ADC<\/a> I realized that nothing was actually working: The output to the webserver was not producing any sound and the output via I2S was just giving <strong>error messages<\/strong>.<\/p>\n<p>That&#8217;s when I started to <strong>measure the effective samples per seconds<\/strong> and I was nowhere near the range of the advertised 3300 sample per second: I was getting less then 1000, which is just not enough!<\/p>\n<p>Here are the links to the failed sketches:<br \/>\n&#8211; <a href=\"https:\/\/github.com\/pschatzmann\/arduino-audio-tools\/blob\/main\/examples\/sandbox\/experiment-ads1015-analog\/experiment-ads1015-analog.ino\">Analog Output<\/a><br \/>\n&#8211; <a href=\"https:\/\/github.com\/pschatzmann\/arduino-audio-tools\/blob\/main\/examples\/sandbox\/experiment-ads1015-webserver_wav\/experiment-ads1015-webserver_wav.ino\">Server Output<\/a><\/p>\n<p>So I am <strong>giving up the idea to use the ADS1015 for audio<\/strong> and instead I will try to use <strong>some proper audio components<\/strong>:<br \/>\nI am now considering the following approaches to read the input from an electric guitar:<\/p>\n<ul>\n<li>Use an <a href=\"https:\/\/www.aliexpress.com\/item\/1005003402161788.html?spm=a2g0s.9042311.0.0.527a4c4dIpDYvM\">microphone amplifier<\/a> to feed the built in ESP32 ADC. I will be able to use the AnalogAudioStream class!<\/li>\n<li>Use a <a href=\"https:\/\/www.aliexpress.com\/item\/4000373195805.html?spm=a2g0s.9042311.0.0.527a4c4dIpDYvM\">PCM1802 ADC<\/a> which provides the audio data via I2S. I will be able to use the I2SStream class!<\/li>\n<\/ul>\n<p>It will take some time for these components to arrive&#8230;.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I am trying to build an Arduino based Guitar Pedal with the help of a Microcontroller and some cheap standard modules. So far, I had the data input, the Audio Effects ready and just needed to put everything together. When I tried to demonstrate how to output the sound from [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":3770,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_import_markdown_pro_load_document_selector":0,"_import_markdown_pro_submit_text_textarea":"","_exactmetrics_skip_tracking":false,"_exactmetrics_sitenote_active":false,"_exactmetrics_sitenote_note":"","_exactmetrics_sitenote_category":0,"footnotes":""},"categories":[20,22],"tags":[29],"class_list":["post-3769","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-arduino","category-machine-sound","tag-guitarpedals"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.6 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>ADS1015: The Big Audio Failure - Phil Schatzmann<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.pschatzmann.ch\/home\/2021\/11\/12\/the-big-ads1015-audio-failiure\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"ADS1015: The Big Audio Failure - Phil Schatzmann\" \/>\n<meta property=\"og:description\" content=\"I am trying to build an Arduino based Guitar Pedal with the help of a Microcontroller and some cheap standard modules. So far, I had the data input, the Audio Effects ready and just needed to put everything together. When I tried to demonstrate how to output the sound from [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.pschatzmann.ch\/home\/2021\/11\/12\/the-big-ads1015-audio-failiure\/\" \/>\n<meta property=\"og:site_name\" content=\"Phil Schatzmann\" \/>\n<meta property=\"article:published_time\" content=\"2021-11-12T18:36:42+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-12-12T00:42:53+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.pschatzmann.ch\/wp-content\/uploads\/2021\/11\/failiure.jpeg\" \/>\n\t<meta property=\"og:image:width\" content=\"259\" \/>\n\t<meta property=\"og:image:height\" content=\"194\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"pschatzmann\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"pschatzmann\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.pschatzmann.ch\\\/home\\\/2021\\\/11\\\/12\\\/the-big-ads1015-audio-failiure\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.pschatzmann.ch\\\/home\\\/2021\\\/11\\\/12\\\/the-big-ads1015-audio-failiure\\\/\"},\"author\":{\"name\":\"pschatzmann\",\"@id\":\"https:\\\/\\\/www.pschatzmann.ch\\\/home\\\/#\\\/schema\\\/person\\\/73a53638a4e34e8373405fd737dac9b1\"},\"headline\":\"ADS1015: The Big Audio Failure\",\"datePublished\":\"2021-11-12T18:36:42+00:00\",\"dateModified\":\"2021-12-12T00:42:53+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.pschatzmann.ch\\\/home\\\/2021\\\/11\\\/12\\\/the-big-ads1015-audio-failiure\\\/\"},\"wordCount\":226,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/www.pschatzmann.ch\\\/home\\\/#\\\/schema\\\/person\\\/73a53638a4e34e8373405fd737dac9b1\"},\"image\":{\"@id\":\"https:\\\/\\\/www.pschatzmann.ch\\\/home\\\/2021\\\/11\\\/12\\\/the-big-ads1015-audio-failiure\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.pschatzmann.ch\\\/wp-content\\\/uploads\\\/2021\\\/11\\\/failiure.jpeg\",\"keywords\":[\"GuitarPedals\"],\"articleSection\":[\"Arduino\",\"Machine Sound\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.pschatzmann.ch\\\/home\\\/2021\\\/11\\\/12\\\/the-big-ads1015-audio-failiure\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.pschatzmann.ch\\\/home\\\/2021\\\/11\\\/12\\\/the-big-ads1015-audio-failiure\\\/\",\"url\":\"https:\\\/\\\/www.pschatzmann.ch\\\/home\\\/2021\\\/11\\\/12\\\/the-big-ads1015-audio-failiure\\\/\",\"name\":\"ADS1015: The Big Audio Failure - Phil Schatzmann\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.pschatzmann.ch\\\/home\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.pschatzmann.ch\\\/home\\\/2021\\\/11\\\/12\\\/the-big-ads1015-audio-failiure\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.pschatzmann.ch\\\/home\\\/2021\\\/11\\\/12\\\/the-big-ads1015-audio-failiure\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.pschatzmann.ch\\\/wp-content\\\/uploads\\\/2021\\\/11\\\/failiure.jpeg\",\"datePublished\":\"2021-11-12T18:36:42+00:00\",\"dateModified\":\"2021-12-12T00:42:53+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.pschatzmann.ch\\\/home\\\/2021\\\/11\\\/12\\\/the-big-ads1015-audio-failiure\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.pschatzmann.ch\\\/home\\\/2021\\\/11\\\/12\\\/the-big-ads1015-audio-failiure\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.pschatzmann.ch\\\/home\\\/2021\\\/11\\\/12\\\/the-big-ads1015-audio-failiure\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.pschatzmann.ch\\\/wp-content\\\/uploads\\\/2021\\\/11\\\/failiure.jpeg\",\"contentUrl\":\"https:\\\/\\\/www.pschatzmann.ch\\\/wp-content\\\/uploads\\\/2021\\\/11\\\/failiure.jpeg\",\"width\":259,\"height\":194},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.pschatzmann.ch\\\/home\\\/2021\\\/11\\\/12\\\/the-big-ads1015-audio-failiure\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.pschatzmann.ch\\\/home\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"ADS1015: The Big Audio Failure\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.pschatzmann.ch\\\/home\\\/#website\",\"url\":\"https:\\\/\\\/www.pschatzmann.ch\\\/home\\\/\",\"name\":\"Phil Schatzmann Consulting\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.pschatzmann.ch\\\/home\\\/#\\\/schema\\\/person\\\/73a53638a4e34e8373405fd737dac9b1\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.pschatzmann.ch\\\/home\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\\\/\\\/www.pschatzmann.ch\\\/home\\\/#\\\/schema\\\/person\\\/73a53638a4e34e8373405fd737dac9b1\",\"name\":\"pschatzmann\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.pschatzmann.ch\\\/wp-content\\\/uploads\\\/2022\\\/08\\\/pschatzmann.png\",\"url\":\"https:\\\/\\\/www.pschatzmann.ch\\\/wp-content\\\/uploads\\\/2022\\\/08\\\/pschatzmann.png\",\"contentUrl\":\"https:\\\/\\\/www.pschatzmann.ch\\\/wp-content\\\/uploads\\\/2022\\\/08\\\/pschatzmann.png\",\"width\":305,\"height\":305,\"caption\":\"pschatzmann\"},\"logo\":{\"@id\":\"https:\\\/\\\/www.pschatzmann.ch\\\/wp-content\\\/uploads\\\/2022\\\/08\\\/pschatzmann.png\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"ADS1015: The Big Audio Failure - Phil Schatzmann","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.pschatzmann.ch\/home\/2021\/11\/12\/the-big-ads1015-audio-failiure\/","og_locale":"en_US","og_type":"article","og_title":"ADS1015: The Big Audio Failure - Phil Schatzmann","og_description":"I am trying to build an Arduino based Guitar Pedal with the help of a Microcontroller and some cheap standard modules. So far, I had the data input, the Audio Effects ready and just needed to put everything together. When I tried to demonstrate how to output the sound from [&hellip;]","og_url":"https:\/\/www.pschatzmann.ch\/home\/2021\/11\/12\/the-big-ads1015-audio-failiure\/","og_site_name":"Phil Schatzmann","article_published_time":"2021-11-12T18:36:42+00:00","article_modified_time":"2021-12-12T00:42:53+00:00","og_image":[{"width":259,"height":194,"url":"https:\/\/www.pschatzmann.ch\/wp-content\/uploads\/2021\/11\/failiure.jpeg","type":"image\/jpeg"}],"author":"pschatzmann","twitter_card":"summary_large_image","twitter_misc":{"Written by":"pschatzmann","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.pschatzmann.ch\/home\/2021\/11\/12\/the-big-ads1015-audio-failiure\/#article","isPartOf":{"@id":"https:\/\/www.pschatzmann.ch\/home\/2021\/11\/12\/the-big-ads1015-audio-failiure\/"},"author":{"name":"pschatzmann","@id":"https:\/\/www.pschatzmann.ch\/home\/#\/schema\/person\/73a53638a4e34e8373405fd737dac9b1"},"headline":"ADS1015: The Big Audio Failure","datePublished":"2021-11-12T18:36:42+00:00","dateModified":"2021-12-12T00:42:53+00:00","mainEntityOfPage":{"@id":"https:\/\/www.pschatzmann.ch\/home\/2021\/11\/12\/the-big-ads1015-audio-failiure\/"},"wordCount":226,"commentCount":0,"publisher":{"@id":"https:\/\/www.pschatzmann.ch\/home\/#\/schema\/person\/73a53638a4e34e8373405fd737dac9b1"},"image":{"@id":"https:\/\/www.pschatzmann.ch\/home\/2021\/11\/12\/the-big-ads1015-audio-failiure\/#primaryimage"},"thumbnailUrl":"https:\/\/www.pschatzmann.ch\/wp-content\/uploads\/2021\/11\/failiure.jpeg","keywords":["GuitarPedals"],"articleSection":["Arduino","Machine Sound"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.pschatzmann.ch\/home\/2021\/11\/12\/the-big-ads1015-audio-failiure\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.pschatzmann.ch\/home\/2021\/11\/12\/the-big-ads1015-audio-failiure\/","url":"https:\/\/www.pschatzmann.ch\/home\/2021\/11\/12\/the-big-ads1015-audio-failiure\/","name":"ADS1015: The Big Audio Failure - Phil Schatzmann","isPartOf":{"@id":"https:\/\/www.pschatzmann.ch\/home\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.pschatzmann.ch\/home\/2021\/11\/12\/the-big-ads1015-audio-failiure\/#primaryimage"},"image":{"@id":"https:\/\/www.pschatzmann.ch\/home\/2021\/11\/12\/the-big-ads1015-audio-failiure\/#primaryimage"},"thumbnailUrl":"https:\/\/www.pschatzmann.ch\/wp-content\/uploads\/2021\/11\/failiure.jpeg","datePublished":"2021-11-12T18:36:42+00:00","dateModified":"2021-12-12T00:42:53+00:00","breadcrumb":{"@id":"https:\/\/www.pschatzmann.ch\/home\/2021\/11\/12\/the-big-ads1015-audio-failiure\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.pschatzmann.ch\/home\/2021\/11\/12\/the-big-ads1015-audio-failiure\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.pschatzmann.ch\/home\/2021\/11\/12\/the-big-ads1015-audio-failiure\/#primaryimage","url":"https:\/\/www.pschatzmann.ch\/wp-content\/uploads\/2021\/11\/failiure.jpeg","contentUrl":"https:\/\/www.pschatzmann.ch\/wp-content\/uploads\/2021\/11\/failiure.jpeg","width":259,"height":194},{"@type":"BreadcrumbList","@id":"https:\/\/www.pschatzmann.ch\/home\/2021\/11\/12\/the-big-ads1015-audio-failiure\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.pschatzmann.ch\/home\/"},{"@type":"ListItem","position":2,"name":"ADS1015: The Big Audio Failure"}]},{"@type":"WebSite","@id":"https:\/\/www.pschatzmann.ch\/home\/#website","url":"https:\/\/www.pschatzmann.ch\/home\/","name":"Phil Schatzmann Consulting","description":"","publisher":{"@id":"https:\/\/www.pschatzmann.ch\/home\/#\/schema\/person\/73a53638a4e34e8373405fd737dac9b1"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.pschatzmann.ch\/home\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":["Person","Organization"],"@id":"https:\/\/www.pschatzmann.ch\/home\/#\/schema\/person\/73a53638a4e34e8373405fd737dac9b1","name":"pschatzmann","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.pschatzmann.ch\/wp-content\/uploads\/2022\/08\/pschatzmann.png","url":"https:\/\/www.pschatzmann.ch\/wp-content\/uploads\/2022\/08\/pschatzmann.png","contentUrl":"https:\/\/www.pschatzmann.ch\/wp-content\/uploads\/2022\/08\/pschatzmann.png","width":305,"height":305,"caption":"pschatzmann"},"logo":{"@id":"https:\/\/www.pschatzmann.ch\/wp-content\/uploads\/2022\/08\/pschatzmann.png"}}]}},"post_mailing_queue_ids":[],"_links":{"self":[{"href":"https:\/\/www.pschatzmann.ch\/home\/wp-json\/wp\/v2\/posts\/3769","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.pschatzmann.ch\/home\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.pschatzmann.ch\/home\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.pschatzmann.ch\/home\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.pschatzmann.ch\/home\/wp-json\/wp\/v2\/comments?post=3769"}],"version-history":[{"count":25,"href":"https:\/\/www.pschatzmann.ch\/home\/wp-json\/wp\/v2\/posts\/3769\/revisions"}],"predecessor-version":[{"id":3795,"href":"https:\/\/www.pschatzmann.ch\/home\/wp-json\/wp\/v2\/posts\/3769\/revisions\/3795"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.pschatzmann.ch\/home\/wp-json\/wp\/v2\/media\/3770"}],"wp:attachment":[{"href":"https:\/\/www.pschatzmann.ch\/home\/wp-json\/wp\/v2\/media?parent=3769"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.pschatzmann.ch\/home\/wp-json\/wp\/v2\/categories?post=3769"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.pschatzmann.ch\/home\/wp-json\/wp\/v2\/tags?post=3769"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}