155748
i really like this, it's so cool and chill
I found out about bytebeat recently and spent a while tinkering with it; figured out a bunch of cool stuff independently from any of the examples online. I worked out a formula to generate all of the notes of a Pythagorean scale in terms of the number of steps away from the base pitch, and I have done some fun things with it here. It's all done a little weirdly but I love how it turned out.
To me the beauty of this is that all of the musical information is "implicit" in the formulas. (no arrays, no tests for equality, etc.)
https://greggman.com/downloads/examples/html5bytebeat/html5bytebeat.html#t=0&e=0&s=32000&bb=5d00000100480700000000000000178a8027783ef0ceec2081020684f6ed3bab26ae21ade44566935e8df6220e831a76539974e0095646a51b37c87ffbb9db273707264cc663af154aca168ab322083898778127b26e3830f4a51eeff6de8053d119441acd3de8d2c6416eb055d23fb9e1ace0a3c7066c36adb8fded78bd4da4c6e4e16393ee727ff8d136d1af2116a78ec7888236e85486f16e8cb78ca572753775d63b9ab0ec2c6e5135d35a6dc9f26ff557306fa902aa111deef94d907a6f2656738bc8acbb3880b4a79c4d1ec6b7ea762ea1e7b6b968c7041040a3434d4b1f2a41769372e2e2dfdd9197d3573f7cdda7135f8f945b9bb1ff9083972c24c6831e30808df97863f6e7cb204c90a1a82800ff7546025cdcc780dc0d3b2cc87cb209433dd3da1343a71d70f049a7cf32f818333561d241193d84e4b0c7fd14755374db3381c4dfc91ddae2c78aa33cac55bbdbbbdb219fe81743927a8f4efd01eca309ad09290932be9243954cff500529cf8b5400626ad64aaafe7bb5b104afc6a89e61d79fdb06b0df6a52f86ba060950679b23dae6e5585347c7bf134c3191f388f137ab2a06f8856d115222d2a855f79321c40b535ba7c8d25ae0f62e65037b19aa12f83d1148c0cd88c98eb535267beb4cc88bc64f776b4ef94d60a9997c307292e42c6775dc8d41c277d4beac2c6e75c44af151149bed7c69751e41b3086e892872150bbb21e82cdf09972104b2a85a3e10567212bdece63e3cc6b2b4742453098bad1bc0ebcd6bed14c8a2da979e7ccdab4053c1ea8cb9b954c44d1e5b82c92b9bf99060fb4ef0e4eebdbf0de765805a6fea83c262ea556ad9b9e239e0d792b8d56ef490e34cbd226c5035c03e8b82058dabcb2c4e866852431ba86bf2abe1e4aca3b8b96ffa75f29a02b96900bc8ce59d1ff91d92daf8d8d404dcaf26645ca303046424210904d16346ef5c0880367d0fca6c6a32077fc39558c1d2545fbdb341d93c7dd89aed13becd82dc48cdb7ad79a9ba069e971b924c78d8a8fd0a07dbd53f913d2acc0f53af3f9ea0b470acf73c7ffa2c49980