pouët.net

Go to bottom

Experimental music from very short C programs

category: code [glöplog]
The Flash tool has been improved, now with visualization!

http://entropedia.co.uk/generative_music/#(t%26t%25255)-(t%3E%3E6%26t%3E%3E13%26t)
Oops... The correct tittle should be "Our Friends from Orion's Belt".

:D
added on the 2011-10-04 22:40:20 by ham ham
Great tool, btw!
added on the 2011-10-04 22:42:18 by ham ham
Almost any formula with ANDs or ORs in it plots some sierpinski tirangles :)
I'm not clicking any more of ham's links with headphones on
para: You should put your headphones in a moderate volume when you try those experiments. (I have mines at 40% now)
added on the 2011-10-04 23:23:50 by ham ham
http://entropedia.co.uk/generative_music/#%28%28t%2542%29*%28t%3E%3E4%29|%280x15483113%29-%28t%3E%3E4%29%29%2F%28t%3E%3E16%29^%28t|%28t%3E%3E4%29%29
added on the 2011-10-05 00:31:47 by Tundrah Tundrah
Still b0rked. You've got a space between 154 and 831, and probably some other encoding errors too.
added on the 2011-10-05 00:39:32 by nitro2k01 nitro2k01
Ok I give up with the links, sorry for the noise ;)
((t%42)*(t>>4)|(0x15483113)-(t>>4))/(t>>16)^(t|(t>>4))
added on the 2011-10-05 00:47:09 by Tundrah Tundrah
the visualization is pointless. kills the experiment and the code sounds a lil off. and @tundrah WTF eww!!!! :D
added on the 2011-10-05 01:20:59 by yumeji yumeji
RRROLLA RULEZZZ ! Seriously. I stole his pattern and now I feel like the richest nerd in the world
"The fall of Derp Herp" t*(0x13371337>>(t>>13&27)&127)|t>>4|t<<5
what was i thinking!
sin(2e3/(y=t&4095))*25+(x=t*(15&0x9866>>(t>>12&12))/6&127)*y/1e4+((t>>6^t>>8|t>>12|x)&63)
ok i'll stop flogging this dead horse now :)
added on the 2011-10-05 06:08:39 by ryg ryg
variable assignment? well, that changes everything...
added on the 2011-10-05 06:11:02 by musk musk
and another thing for when you're targeting javascript only: array literals!
Code: [6,6,8,9][t>>14&3]

but don't tell anyone!!!1111
added on the 2011-10-05 06:22:05 by ryg ryg
that works in C too

Code:"\x6\x6\x8\x9"[t>>14&3]


btw ryg, that song you composed is pretty amazing!
added on the 2011-10-05 08:18:59 by iq iq
not mine, sadly :)
a bit better: (well, for oneliners anyway)
<code>"6689'[t>>14&3]-48</code>
and has obvious generalization to alphabetical chars if you need more range than just 0..9
added on the 2011-10-05 08:48:08 by ryg ryg
bbcode fail! well, you get the idea.
added on the 2011-10-05 08:48:24 by ryg ryg

login

Go to top