3 ms·
wow that's cool! I like Jean-Michel Jarre and I like seeing music created through code, awesome that it combines the two. Though to be a bit of a pendant I'm no
by redeyedtreefrog 4y ago
wow that's cool! I like Jean-Michel Jarre and I like seeing music created through code, awesome that it combines the two. Though to be a bit of a pendant I'm not sure it is truly generative music (https://en.wikipedia.org/wiki/Generative_music https://en.wikipedia.org/wiki/Generative_music), as I assume it is looping identically and so isn't "ever-different and changing".
I think of generative music as being stuff like this (copy pasted from the interwebs long ago):
echo "g(i,x,t,o){return((3&x&(i*((3&i>>16?\"BY}6YB6%\":\"Qj}6jQ6%\")[t%8]+51)>>o))<<4);};main(i,n,s){for(i=0;;i++)putchar(g(i,1,n=i>>14,12)+g(i,s=i>>17,n^i>>13,10)+g(i,s/3,n+((i>>11)%3),10)+g(i,s/5,8+n-((i>>10)%3),9));}"|gcc -xc -&&./a.out|aplay
- reindernijhoff 4y agoYou probably like this ditty: let t=0; synth.def(() => (255&(1|63(63&63+8Math.sin(t++/2e5)t/2e5)&100Math.tan(4Math.PIt/2e5)/4Math.sin(4Math.PI[165,220,175,262,196,147,220,165][7&(2t/2e5&12t/2e5^8t/2e5)]t/2e5)|2048(1+(1&t/4/2e5))t/2e5))/127-1).play(0,{env:one}); https://dittytoy.net/ditty/7c700fc1c3 https://dittytoy.net/ditty/7c700fc1c3
- redeyedtreefrog 4y agothanks, that's pretty cool!