Archive for December, 2004

Going to a football game

December 5th 2004

Leaving to see a football (American football) game in about an hour.To avoid dealing with parking hassles my wife and I are going to ride the bus to the stadium and back.

The team I am rooting for, the Pittsburgh Steelers, are currently the number one team in the league (although they have been struggling of late). Which means that, knowing my luck, they’ll lose to a rather weak Jacksonville Jaguars team just to spite me. Maybe I shouldn’t be so pessimistic, because the only other football game I’ve been to, the Steelers beat the New England Patriots in a to-the-wire finish.

In possibly related news, today is my one-year anniversary of being married. So I probably won’t be hacking much on KDE or the SPC player today. Although the SPC player is weird, it works more or less perfectly on clee’s system, but sucks CPU like an insane guzzler here, but only as a part of gstreamer, the command line player is fine. It also seems to eat stack frames for lunch, although it doesn’t crash, and it doesn’t leak memory. In fact, the asm code is amazingly valgrind-clean, and compiling the code with -fstack-protector doesn’t turn up anything weird. So now I’m all sorts of confused

Posted by mpyne under Uncategorized | No Comments »

SPC Gstreamer plugin

December 4th 2004

I’ve got it sort of working. No code release yet because it takes oh, say, 70% more of my CPU than a simple spcplay, (that and I’ve hardcoded in the filename), but I’m too tired to hack on it further.

Posted by mpyne under Uncategorized | No Comments »

kfile_spc, and website development

December 3rd 2004

First version of kfile_spc is up. It supports reading and writing the SPC tags that I blogged about earlier. I might see about getting it into kdemultimedia/kfile-plugins, although it would be very short notice at this point if I’m going to try for 3.4.

In other news, now that I’ve databased (those who don’t like the fact that I verbed a noun should vote on Slashdot’s current poll) my website, it’s high time I finish the administrative interface for it. This using phpmyadmin or mysql-console crap is getting out of hand. While I’m at it, I need to make my various program webpages templated or something so I don’t have to cut and paste PHP code.

Posted by mpyne under Uncategorized | No Comments »

Video games and the SPC file format

December 1st 2004

I was part of an interesting discussion on #kde-devel tonight regarding the joys of video game music. The discussion eventually turned around to music for one of the best gaming consoles in history, the Super Nintendo. Enterprising emulator authors have taken advantage of the wonderful sound hardware of the Super Nintendo to come up with a file format for Super Nintendo music tracks, called SPC.

It is one of the more complex formats in computer music, as decoders need to have an SPC700 processor emulator built-in. However, these SPCs pack a lot of music into only 64KB, and they sound as good (or better) than you remember, so I was pleasantly surprised to find a decent SPC player for Linux, OpenSPC Lite, a port of the OpenSPC for Linux program to output through aRts, by Neil Stevens. Unfortunately, neither the OpenSPC or OpenSPC Lite players supported the ID666 tagging format for SPC files, which meant that they would play forever if you left the player going.

I’ve had a bit of prior experience with ID666, so I took advantage of the available documentation to try to hack timeout support into OpenSPC lite.

My initial code is this C file. I was able to use this code to create this patch to OpenSPC Lite. I will also probably develop a KFileMetaInfo plugin for this format in the next few days now that I seem to have it pinned down, which will help with the work on KLink.

If you’re interested in reliving some of the classic video game music of our time, there is an archive of SNES (and many other platforms) music at http://www.zophar.net/music.html.

Also, there is a thriving musician community based around creating arrangements of classic (and modern) video game tunes. The best-known place is Overclocked Remix, but VGMix also includes a lot of great tracks. Some are of such high quality that they are excellent pieces of music in their own right, even if you don’t like videogames. I frequently catch my wife humming along to this track in particular. ;-)

Posted by mpyne under Uncategorized | 1 Comment »

« Prev