Experimental music from very short C programs
category: code [glöplog]
vectory, display of links on pouet.net is broken - look at the link not the text :)
anyway, someone complained to me about the sin on twitter, so time for yet another mu6k thing, this time without sin!
(3e3/(y=t&16383)&1)*35+(x=t*"6689"[t>>16&3]/24&127)*y/4e4+((t>>8^t>>10|t>>14|x)&63)
now what's left can be done with 100% int arithmetic (ok, there's still the array access/lexical cast involved and you need to take care of div by zero, but it's close enough)
anyway, someone complained to me about the sin on twitter, so time for yet another mu6k thing, this time without sin!
(3e3/(y=t&16383)&1)*35+(x=t*"6689"[t>>16&3]/24&127)*y/4e4+((t>>8^t>>10|t>>14|x)&63)
now what's left can be done with 100% int arithmetic (ok, there's still the array access/lexical cast involved and you need to take care of div by zero, but it's close enough)
In JavaScript, a div by zero returns +/-Infinity and gives you free Internet points.
yes, but i'm talking about making it suitable for a c program again :)
Disregard what i Said, i Love cock!
xeron: is that gary numan?
Well, its supposed to be ;-)
A bit less noisy version of my previous attempt, but now with ass kicking vocals (starting properly after 50s or so)! :)
http://entropedia.co.uk/generative_music/#(t%3E%3E5)%7C(t%3E%3E4)%7C((t%2542)*(t%3E%3E4)%7C(0x15483113)-(t%3E%3E4))%2F(t%3E%3E16)%5E(t%7C(t%3E%3E4))
The link seems to work fine on safari but not on firefox (on which you need to change tB to t%42)..
Also I don't know wtf I'm doing wrong (using a mac?), but you need to remove the space in t>>16 if copy/pasteing since pouet absolutely wants it there.
http://entropedia.co.uk/generative_music/#(t%3E%3E5)%7C(t%3E%3E4)%7C((t%2542)*(t%3E%3E4)%7C(0x15483113)-(t%3E%3E4))%2F(t%3E%3E16)%5E(t%7C(t%3E%3E4))
Code:
(t>>5)|(t>>4)|((t%42)*(t>>4)|(0x15483113)-(t>>4))/(t>>16)^(t|(t>>4))
The link seems to work fine on safari but not on firefox (on which you need to change tB to t%42)..
Also I don't know wtf I'm doing wrong (using a mac?), but you need to remove the space in t>>16 if copy/pasteing since pouet absolutely wants it there.
first attempt - some kind of 80s synth type thing:
(t<<3)*[8/9,1,9/8,6/5,4/3,3/2,0][[0xd2d2c8,0xce4088,0xca32c8,0x8e4009][t>>14&3]>>(0x3dbe4688>>((t>>10&15)>9?18:t>>10&15)*3&7)*3&7 ]
(t<<3)*[8/9,1,9/8,6/5,4/3,3/2,0][[0xd2d2c8,0xce4088,0xca32c8,0x8e4009][t>>14&3]>>(0x3dbe4688>>((t>>10&15)>9?18:t>>10&15)*3&7)*3&7 ]
Thread successfully Rickrolled :)
lol... if i were u i would give up ;P
oh my.. close the thread, gasman won ;-)
Good old fractal melody: t*(((t>>9)^((t>>9)-1)^1)%13)
@Tundrah
didn't spot that I had to change B to %42 in firefox until now... that one is actually very cool :)
didn't spot that I had to change B to %42 in firefox until now... that one is actually very cool :)
A simple fractal symphony (t*5&t>>7)|(t*3&t>>10) that visualizes as a breaking-up Sierpinski triangle http://entropedia.co.uk/generative_music/#(t*5%26t%3E%3E7)%7C(t*3%26t%3E%3E10)
I suck at music... just for the look
http://entropedia.co.uk/generative_music/#((t*t)%3E%3E20)%2F%20(16-(t%2631))
http://entropedia.co.uk/generative_music/#((t*t)%3E%3E20)%2F%20(16-(t%2631))
So now we're going for music that looks good? :P
I called it "badbeats & safe" t*((0xbadbea75>>((t>>12)&30)&3)*0.25*(0x5afe5>>((t>>16)&28)&3))
fuck that array shit. generic goes. ;)
fuck that array shit. generic goes. ;)
Ryg, that's glorious!
gasman has leading !!
WOW!!!
so, array of arrays allows for rows and patterns. can now somebody just write an exporter from milkytracker/buzz/renoise to js? then make some js samples (like with this) and we are done, js music ftw. xm2js tack exporter, anybody?