Computer generated electro music


Do you want your computer to generate some music for you? Then you are in luck - the following code snippet does just that (Linux only; adjust the playback method for other systems). The resulting “music” will play for about 4m22s and then loop back. The attached audio is just a short sample. $ echo "main(i){for(i=0;;i++)putchar(((i*(i>>8|i>>9)&46&i>>8))^(i&i>>13|i>>6));}" | gcc -x c - && ./a.out | aplay (If aplay gives you error, try putting the C code into a *.

Read more...

Terminator 2 Main Theme Acapella


I’ve neither voice nor musical hearing. But when has it stopped me? Just something stupid I came up with while playing Minecraft with a friend last week and recorded last night. Sorry for the hushed voice, it was 3AM. I and a friend of mine were playing Minecraft on a map where at some point I needed to walk on lava. That friend noted that I looked like Terminator, so I started humming that famous theme music.

Read more...

Slitherkitty - Pop It, Don't Drop It


All credit goes to Slitherkitty (NSFW)! Original post: t-rg.ws/Bj6p7 For some reason I just loved that little loop that accompanied the track, so I finally made a clip with it. Tried to use OpenShot, but ended up using only CLI (except for opening GIF in GIMP to determine frame rate)… I’m such a geek. FFmpeg rules. Tools used: GIMP to determine the animation’s frame rate FFmpeg for everything else Time wasted: about 30 mins just to figure out that I don’t need OpenShot.

Read more...

I bought a cello


Yup. I don’t have any musical experience whatsoever, but I still bought one. AND IT’S GORGEOUS! What a beautiful instrument… It all started with, you guessed it if you’re a brony, Octavia. She made me take a notice of a cello. Then I’ve listened to some brony music that involved cello. Then I heard on the radio about electric cello. Yes, I thought there was only electric guitar too. Apparently, there isn’t.

Read more...

Code

#!/usr/bin/env python #-*- coding: UTF-8 -*- import sqlite3 import mutagen.id3 from mutagen.easyid3 import EasyID3 from mutagen.mp3 import MP3 from subprocess import call def getStuff(database): conn = sqlite3.connect(database) c = conn.cursor() result = c.execute("SELECT LocalCopyPath, Title, Album, Artist, Composer, Genre, Year FROM MUSIC WHERE Id IN (SELECT MusicId FROM SHOULDKEEPON)") stuff = [] for track in result: stuff.append(track) # Let's be good programmers and close the connection to database, even though there were only read operations conn.

Read more...

fsLeg

It turned out, that I need a full featured website much less than a simple blog. I don’t want to have a blog on Tumblr, but I do like their implementation of it, so I went with Chyrp, which is pretty close. But then Chyrp died, so I moved to Hugo. The blog is NSFW, as I might occasionally post some pr0n and other disturbing stuff.

Tags
Archives