Go to bottom

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&1 27)*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)
added on the 2011-10-05 19:32:55 by ryg ryg
In JavaScript, a div by zero returns +/-Infinity and gives you free Internet points.
added on the 2011-10-05 19:50:14 by p01 p01
yes, but i'm talking about making it suitable for a c program again :)
added on the 2011-10-05 20:06:44 by ryg ryg
added on the 2011-10-05 20:11:31 by xeron xeron
added on the 2011-10-05 20:51:37 by xeron xeron
added on the 2011-10-05 21:02:16 by xeron xeron
Disregard what i Said, i Love cock!
added on the 2011-10-05 21:17:57 by scythoior scythoior
added on the 2011-10-05 21:38:42 by xeron xeron
xeron: is that gary numan?
added on the 2011-10-05 21:49:32 by xernobyl xernobyl
Well, its supposed to be ;-)
added on the 2011-10-05 21:51:45 by xeron xeron
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))

Code: (t>>5)|(t>>4)|((t%42)*(t>>4)|(0x15483113)-(t>>4))/(t&g 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.
added on the 2011-10-05 22:24:41 by Tundrah Tundrah
added on the 2011-10-05 22:28:31 by gasman gasman
Thread successfully Rickrolled :)
added on the 2011-10-05 22:36:00 by すすれ すすれ
lol... if i were u i would give up ;P
added on the 2011-10-05 22:38:49 by frenzy frenzy
oh my.. close the thread, gasman won ;-)
added on the 2011-10-05 22:44:43 by xeron xeron
Good old fractal melody: t*(((t>>9)^((t>>9)-1)^1)%13)
added on the 2011-10-05 22:45:18 by Blueberry Blueberry
didn't spot that I had to change B to %42 in firefox until now... that one is actually very cool :)
added on the 2011-10-05 22:52:11 by xeron xeron
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)
added on the 2011-10-06 01:05:17 by T21 T21
So now we're going for music that looks good? :P
added on the 2011-10-06 01:13:47 by xpansive xpansive
I called it "badbeats & safe" t*((0xbadbea75>>((t>>12)&30)&3)*0.25*(0x5afe5>>((t> >16)&28)&3))

fuck that array shit. generic goes. ;)
added on the 2011-10-06 03:20:28 by yumeji yumeji
added on the 2011-10-06 04:19:15 by ryg ryg
Ryg, that's glorious!
added on the 2011-10-06 04:40:10 by MidKnight MidKnight

gasman has leading !!

added on the 2011-10-06 06:37:26 by lsl lsl
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?
added on the 2011-10-06 07:08:39 by iq iq


Go to top