{"id":11421,"date":"2026-07-21T03:49:57","date_gmt":"2026-07-21T03:49:57","guid":{"rendered":"https:\/\/www.mrericsir.com\/blog\/?p=11421"},"modified":"2026-07-21T03:49:59","modified_gmt":"2026-07-21T03:49:59","slug":"resonate_glitch","status":"publish","type":"post","link":"https:\/\/www.mrericsir.com\/blog\/technology\/resonate_glitch\/","title":{"rendered":"resonate_glitch"},"content":{"rendered":"\n<figure class=\"wp-block-image aligncenter size-medium\"><a href=\"https:\/\/www.flickr.com\/photos\/mrericsir\/55408591870\/in\/dateposted\/\"><img loading=\"lazy\" decoding=\"async\" width=\"225\" height=\"300\" src=\"https:\/\/www.mrericsir.com\/blog\/wp-content\/uploads\/resonate_glitch-225x300.jpeg\" alt=\"\" class=\"wp-image-11422\" srcset=\"https:\/\/www.mrericsir.com\/blog\/wp-content\/uploads\/resonate_glitch-225x300.jpeg 225w, https:\/\/www.mrericsir.com\/blog\/wp-content\/uploads\/resonate_glitch-768x1024.jpeg 768w, https:\/\/www.mrericsir.com\/blog\/wp-content\/uploads\/resonate_glitch-1152x1536.jpeg 1152w, https:\/\/www.mrericsir.com\/blog\/wp-content\/uploads\/resonate_glitch.jpeg 1290w\" sizes=\"auto, (max-width: 225px) 100vw, 225px\" \/><\/a><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Recently I was wandering around with my phone in my hand, as one does, and got to wondering: what if I could use the camera feed and other sensors on the phone to create a procedurally-generated soundtrack?<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">And just to make things more interesting: I wanted to do it entirely in HTML5 + JavaScript with no backend server at all. In other words, something you could use without an internet connection, provided you&#8217;d already downloaded the page.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">A few late night tinkering sessions later, and I had a working, somewhat well tuned prototype of my new web app: <a href=\"https:\/\/mrericsir.github.io\/resonate_glitch\/\" title=\"\">resonate_glitch<\/a>. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">As I&#8217;ve explained in the <strong>README<\/strong>:<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p class=\"wp-block-paragraph\">Generative audio in HTML5. Designed to be run on phones.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">resonate_glitch takes in various inputs: the camera feed, mic input, and accelerometer motion data on your phone. Running these parameters through an algorithm, it produces synthesized electronic &#8220;music&#8221; with a glitchy camera view.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The aim of the project is to create a synthetic synchronicity. Does the music have any meaning? Are you able to affect it in any way? It&#8217;s up to the user to experiment and find out.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Note: There is no backend server, everything runs in your web browser. So while the webapp can&#8217;t be used for spying, it may cause your phone to overheat.<\/p>\n<\/blockquote>\n\n\n\n<p class=\"wp-block-paragraph\">Have a moment to make some messy, glitchy music? Great! It&#8217;s free and open source, try it yourself:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/mrericsir.github.io\/resonate_glitch\/\" title=\"Launch resonate_glitch\">Launch resonate_glitch<\/a><\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">Source code is available in this <a href=\"https:\/\/github.com\/MrEricSir\/resonate_glitch\/\" title=\"\">GitHub repo<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Recently I was wandering around with my phone in my hand, as one does, and got to wondering: what if I could use the camera [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_eb_attr":"","slim_seo":{"title":"resonate_glitch - MrEricSir.com","description":"Recently I was wandering around with my phone in my hand, as one does, and got to wondering: what if I could use the camera feed and other sensors on the phone"},"autoblue_enabled":true,"autoblue_custom_message":"","autoblue_shares":[{"did":"did:plc:kbgypanrf2cbl2egeqak52nx","date":"2026-07-21T03:50:00+00:00","uri":"at:\/\/did:plc:kbgypanrf2cbl2egeqak52nx\/app.bsky.feed.post\/3mr4vph452b2l","response":"{\"uri\":\"at:\/\/did:plc:kbgypanrf2cbl2egeqak52nx\/app.bsky.feed.post\/3mr4vph452b2l\",\"cid\":\"bafyreif2ueanui2ofjkmwd4hxzyurqp3t2ybzlrwid2ytuzpxli3d3t5t4\",\"commit\":{\"cid\":\"bafyreigul3imdwexpacnwbaodzqlj35lmsf6sfci7kmxitfplmyfoprj6y\",\"rev\":\"3mr4vph4cvr2l\"},\"validationStatus\":\"valid\"}"},{"did":"did:plc:kbgypanrf2cbl2egeqak52nx","date":"2026-07-21T03:50:06+00:00","uri":"at:\/\/did:plc:kbgypanrf2cbl2egeqak52nx\/app.bsky.feed.post\/3mr4vpm4kqn2i","response":"{\"uri\":\"at:\/\/did:plc:kbgypanrf2cbl2egeqak52nx\/app.bsky.feed.post\/3mr4vpm4kqn2i\",\"cid\":\"bafyreif2ueanui2ofjkmwd4hxzyurqp3t2ybzlrwid2ytuzpxli3d3t5t4\",\"commit\":{\"cid\":\"bafyreibhrb3baz5odxr2mlca7nob3vakucipf5clhmz763z5tcwnelrycu\",\"rev\":\"3mr4vpm4qm52i\"},\"validationStatus\":\"valid\"}"}],"autoblue_post_url":"","autoblue_publish_document":false,"footnotes":""},"categories":[3],"tags":[1369,1053,1554,1423,1190,1491,272],"class_list":["post-11421","post","type-post","status-publish","format-standard","hentry","category-technology","tag-audio","tag-github","tag-glitch-art","tag-music","tag-project","tag-video","tag-web"],"_links":{"self":[{"href":"https:\/\/www.mrericsir.com\/blog\/wp-json\/wp\/v2\/posts\/11421","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.mrericsir.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.mrericsir.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.mrericsir.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.mrericsir.com\/blog\/wp-json\/wp\/v2\/comments?post=11421"}],"version-history":[{"count":2,"href":"https:\/\/www.mrericsir.com\/blog\/wp-json\/wp\/v2\/posts\/11421\/revisions"}],"predecessor-version":[{"id":11424,"href":"https:\/\/www.mrericsir.com\/blog\/wp-json\/wp\/v2\/posts\/11421\/revisions\/11424"}],"wp:attachment":[{"href":"https:\/\/www.mrericsir.com\/blog\/wp-json\/wp\/v2\/media?parent=11421"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.mrericsir.com\/blog\/wp-json\/wp\/v2\/categories?post=11421"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.mrericsir.com\/blog\/wp-json\/wp\/v2\/tags?post=11421"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}