{"id":25916,"date":"2023-10-27T19:58:10","date_gmt":"2023-10-28T00:58:10","guid":{"rendered":"http:\/\/blog.kenperlin.com\/?p=25916"},"modified":"2023-10-27T19:58:10","modified_gmt":"2023-10-28T00:58:10","slug":"if-harry-potter-were-a-musician","status":"publish","type":"post","link":"http:\/\/blog.kenperlin.com\/?p=25916","title":{"rendered":"If Harry Potter were a musician"},"content":{"rendered":"<p>This afternoon I plugged a midi keyboard into my MacBook. I connected it to a Web-based audio interface, used some samples of piano notes that I had lying around, and was soon able to play music in my Web browser.<\/p>\n<p>Then I added that code to my WebXR system, so I could use my music keyboard to create graphics in XR. At some point I realized that I could just plug the midi keyboard directly into my Meta Quest 3, using <i>its<\/i> Web browser based midi interface.<\/p>\n<p>All of a sudden I can play the piano while making 3D graphics animate in the air above the keyboard &#8212; not in VR, but in video-passthrough XR. So I can still see my room, and I can see my real hands playing music on the keyboard.<\/p>\n<p>But now I can also create magical 3D graphics in mid-air just by playing the piano. Like Harry Potter, if he were a musician.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This afternoon I plugged a midi keyboard into my MacBook. I connected it to a Web-based audio interface, used some samples of piano notes that I had lying around, and was soon able to play music in my Web browser. Then I added that code to my WebXR system, so I could use my music &hellip; <a href=\"http:\/\/blog.kenperlin.com\/?p=25916\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;If Harry Potter were a musician&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[],"_links":{"self":[{"href":"http:\/\/blog.kenperlin.com\/index.php?rest_route=\/wp\/v2\/posts\/25916"}],"collection":[{"href":"http:\/\/blog.kenperlin.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/blog.kenperlin.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/blog.kenperlin.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/blog.kenperlin.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=25916"}],"version-history":[{"count":1,"href":"http:\/\/blog.kenperlin.com\/index.php?rest_route=\/wp\/v2\/posts\/25916\/revisions"}],"predecessor-version":[{"id":25917,"href":"http:\/\/blog.kenperlin.com\/index.php?rest_route=\/wp\/v2\/posts\/25916\/revisions\/25917"}],"wp:attachment":[{"href":"http:\/\/blog.kenperlin.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=25916"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/blog.kenperlin.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=25916"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/blog.kenperlin.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=25916"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}