Author Topic: Music from Very Short Programs  (Read 837 times)

If you're interested in the background behind all of this stuff, you should read viznut's blog post.

Basically, there's these little c programs that if you run them, and output the results to audio, you get various patterns that resemble music. It's become pretty popular recently, and you can find hundreds of these things all over the Internet now if you look.

For example, if you pipe the output of the c program main(t){for(t=0;jt++)putchar(t*((t>>12|t>>7)&63&t>>4));} to an audio device you get something that sounds like this.

So after this got posted, it was followed up with 2 more videos showing programs contributed by other people.
http://youtu.be/qlrs2Vorw2Y
http://youtu.be/tCRPUv8V22o

There's a bunch of them here: http://www.pouet.net/topic.php?which=8357&page=1

My favorite is Long Line Theory, developed by mu6k.

Anyway, if you want to try creating your own, go to this site:
http://wurstcaptures.untergrund.net/music/

I guess I'll start off with one I made up:
t*(t>>6|t>>12)*((t>>12)%2)

The website helpfully provides the bbcode for your sound so you don't have to make it on your own. It's at the bottom of the page. Here's a link to the example I posted:
t*(t>>6|t>>12)*((t>>12)%2)



You do not need any programming or musical knowledge to contribute to this thread, so have fun. Feel free to post ones from any of the videos or anywhere else on the Internet if you want to share them as well, but don't forget to mention where you got it from and who made it if you can find it.
« Last Edit: October 13, 2011, 12:48:38 AM by Wedge »


My computer doesn't seem to want to load this site. It seems really interesting.. but I'm practically on a toaster here. I'll just pretend like I know what these sound like..

My computer doesn't seem to want to load this site. It seems really interesting.. but I'm practically on a toaster here. I'll just pretend like I know what these sound like..
its basically a "make your own dial up tone" thing
t * ((t>>391|t>>310)&713&t>>520)

Weird:
t*(t*(t>>5-t>>52))+t*(t>>22*t>>12)

t*(t*(t>>5-t>>52))+t*(t>>100*t>>5)

Pacman anyone?
t*(t*(t>>5-t>>52))+t*(t>>400*t>>5)
« Last Edit: October 13, 2011, 01:34:56 AM by Ethan »