Archive for the ‘Geekstuff’ Category

Filed Under (Geekstuff, My Music) by Sean on February-19-2008

Wow . . . I certainly didn’t anticipate the difficulty I was going to face trying to get all the software set up and configured on my shiny new Digital Audio Workstation.

You see, it’s all about real time computing. Since normal, every day Linux is based on a voluntary preemptive kernel (as are all other regular OS-es), it is not suited to the demands of a professional DAW. The various software components of the DAW have to sync perfectly and in real time. The sequencers, synthesizers, mastering software, loops, keyboards connected though MIDI and audio, all have to exactly sync up with near zero latency if you’re going to have anything that sounds worth a crap come out the other end.

UbuntuStudio was created with this in mind. It has the real time kernel included, all the DAW software and components that tie it all together (the zero latency plumbing is called Jack). I had already installed Ubuntu Desktop (Gutsy Gibbon to be precise) so I followed the instructions to upgrade. Well something definitely went awry with that process. For some reason, the install of the rt kernel totally futzed up my initrd image to the point where it didn’t detect my hard drive. Suffice it to say that makes it difficult to start mastering any recordings!

I first attempted the usual fixes, including yaird, initrd, initramfs tools, to no avail. I went back to my default kernel and went ahead and launched all my DAW software anyway, setting up Jack with options so it would ignore the latency problems. I just wanted to see how the applications worked in general. Everything ran, albeit not synced in real time.

So, I decided to roll my own kernel from scratch, pulling it from kernel.org, patching it with the realtime kernel patch, choosing the appropriate kernel options, and compiling. After a few false starts (didn’t quite get all the correct options in the menuconfig the first couple of times) and a few hours, I had a kernel that finally booted! Finally my optimized, preemptive realtime kernel:

$uname -ar
Linux sean-desktop-home 2.6.24-rt1-rtsbs #1 SMP PREEMPT RT Mon Feb 18 22:25:02 CST 2008 i686 GNU/Linux

Of course now that I was no longer using the restricted mode NVidia drivers to get hardware acceleration (i.e., the restricted module doesn’t match the kernel version; I’ll have to download and compile module from NVidia), I didn’t have a working X server. A simple dpkg-reconfigure xserver-xorg later and I was off and running. Click on the image below to see it in action.

My DAW on Ubuntu

I still was getting xruns on Jack, but my SBLive card has issues anyway. Sometimes the synthesis or even regular sound files sound like ass; it is a 4 year old card that cost $20 so I can’t complain. I guess I’m going to have to shell out for the E-mu 1212M I’ve been eying and get down to business. I suspect that will solve a lot of my problems. Who knows, I may even finally get some of my music uploaded as promised. Stay tuned for more updates (and more late nights) soon!



Filed Under (Geekstuff, My Music) by Sean on February-17-2008

So now that I’ve decided I’m going to get serious about releasing the music I’ve composed for the better part of the last 25 years (and still write), I’ve been going through the process of learning as much as I can about Digital Audio Workstations (DAW). I’ve certainly played around with ProTools and other DAW software over the years but I really wanted to move everything to 100% open source running under Linux (see my previous article about moving exclusively to Ubuntu on all my systems). It appears the time has come for that to become a reality. I’ll be writing here about my experience in getting my DAW set up so others will gain from it. Here is the very rough list of the components of my DAW:

I still need to purchase either a good full-size electric piano or steal my mother’s Steinway Grand I had the privilege playing growing up. :) Another idea is to get a good, 88-key, weighted midi controller and use sampled sounds. I have written and arranged lots of multi-timbred works but much of my continuing composition these days is solo piano.

I will keep you posted on my continuing efforts. Also stay tuned for some initial recordings coming very soon!

(UPDATE) See http://www.seanstoner.com/blog/2008/02/19/linux-studio-chapter-ii/ for the follow up to this post.



Filed Under (Geekstuff) by Sean on February-15-2008

So, my Dad asks me, “What the hell is a blog anyway?” I found this great video, courtesy of Common Craft, explaining blogs in plain English. If you don’t see the video below, you can view it directly at http://www.commoncraft.com/blogs.



Filed Under (Geekstuff, Life) by Sean on February-13-2008

After some painstaking effort at hacking style sheets and fixing a lot of broken template code, my blog has a new look! Let me know what you think. Thanks!



Filed Under (Geekstuff, Technology) by Sean on February-4-2008

Now here is an example of something so simple it’s stupid (a weird twist on KISS I suppose): hot-swap batteries for your laptop.