You are viewing mbarnes

Using GStreamer to sample arcade music

Recently I discovered the online Arcade History database has added music samples for some games.  For example, they now have music for the mid-80's racing game Out Run.

I thought it would be cool to integrate that into my MAME front-end, GNOME Video Arcade, and wound up blowing the whole weekend on it. I'm happy to say it's finished already, and works great!

My foray into basic GStreamer programming was suprisingly pleasant. The API is nicely designed and well-documented, and simple use cases like mine are made easy. The "playbin" plugin pretty much did all the work. I just fed it Arcade History URIs and wired up a simple user interface to follow state transitions from the audio stream.

GStreamer is an example of the kind of high-quality software engineering that I strive to emulate in my own work.


 

Comments

You should use playbin2

Instead of "playbin".

Re: You should use playbin2

I saw that but the docs said the API was still unstable. Or is it effectively stable now?

Good stuff

Last time I tried gnome-video-arcade, it was a really excellent app - assuming it hasn't changed significantly, well done :)

June 2012

S M T W T F S
     12
3456789
10111213141516
17181920212223
24252627282930
Powered by LiveJournal.com