Showing posts with label music. Show all posts
Showing posts with label music. Show all posts

Sunday, March 14, 2010

Reducing DPC latency on your laptop

If you plan on producing or streaming high-quality live audio (or video) from your laptop computer, or you just happen to be a bit of a tuning nerd, then you definitely should care about DPC latency. (Otherwise, you might want to skip this post, as this is not about making your system run faster per se.)

The Deferred Procedure Call (DPC) latency is a Windows concept. Suffice it to say that audio/video to/from an external device is handled by a queue of such low-level priority function calls. The time delay between a DPC call and execution is the latency (typically measured in microseconds, μs) and varies over time, depending on such variables as system load and running system services (of course), but also hardware and, most importantly, device drivers. To see live measurements of your system’s average DPC latency over time, this free tool is invaluable: Thesycon’s DPC Latency Checker.

A low DPC latency is what we are aiming for, but it’s not just a low mean value, but a constantly low number without any spikes. It’s the spikes in latency that will cause audio or video to stutter, skip, crackle, or pop (only a good thing if you developing a new Rice Krispies commercial). A good system would have no latency spikes above 250 μs; a setup like this or better is a requirement if you plan on being a laptop-DJ performing live, non-pre-recorded sets (next, you’ll need some software like Ableton Live, Native Instruments Traktor, Atomix Virtual DJ, etc., not to mention a good external audio interface, but I digress…).

If you find that your system has a horrible DPC latency profile, you’ll have to do some digging. The sad news is that you’ll mostly be blind in this hunt for low DPC latencies. A general rule of thumb is to make sure that you have the latest drivers for your graphics card (as the display is a big performance hog, even when a system is idle). Next, try stopping any unessential services or background running programs -- one by one -- and seeing if the situation improves (by running the linked-above DPC Latency Checker utility). Generally, background applications like Dropbox, a weather widget, Mozy, etc., don’t affect the DPC queue, but you never know! On my computer, the ESET NOD32 Antivirus real-time protection was the cause of some “minor” periodic 500 μs peaks. Another serious culprit on my machine was CPUgenie, a CPU power management application I installed that reduces CPU voltages to decrease CPU temperatures and increase battery life. I can only infer that other undervolting tools such as RMClock should also be considered potential targets in this war on DPC latency.

If all else fails, try a web search for your notebook computer’s “MODEL NAME” and “DPC LATENCY”. (Come to think of it, you should probably do this first!) In my case, I found out that some hard-core gamers were complaining about the Nvidia graphics card on their Sony Vaio Z’s. This gave me the idea to switch to using the integrated Intel graphics system on my system’s motherboard (conveniently, Sony provides a useful external switch to do this on the machine: “STAMINA” switches to the built-in Intel graphics processing, whereas “SPEED” means the Nvidia graphics card will be used). Although I lose 3D graphics performance by using the integrated graphics unit, my average DPC latency was more than halved (now down to the 50-70 μs range) and, more crucially, eliminated the last of the remaining spikes.

Time for me to enjoy my laptop’s newly lowered DPC postponement statistics… but first, my human priority calls for a short period of dormancy.

Sunday, March 7, 2010

Remembering MultiCopy in Rotterdam

I was poking around some recordings I have collected in recent years and decided to make use of one that brought back some good memories of the Netherlands, Rotterdam in particular. I was visiting Rotterdam at the end of the summer of 2005 for a conference and was in a bind to print a poster at the last minute. My originals were lost and I had to recreate the whole thing after arriving on my overnight flight. To make matters worse, the local Kinko’s had their oversized printer broken and all the other shops were closed. MultiCopy saved the day in the end, after a little file format issue was resolved…

The vocals of this track are from a telephone message I received from Erwin at MultiCopy. In the stress of the moment, it somehow made me laugh. Thanks again MultiCopy Rotterdam!

<a href="http://lifeoneight.bandcamp.com/track/multicopy-rotterdam">MultiCopy Rotterdam by LifeOnEight</a>

Saturday, November 21, 2009

Streetcar, Come on Home

A music video I made in ode to the venerable Toronto streetcar. I shot the footage almost exactly one year ago at the corner of Queen and University, but just now got around to doing something with it. The music track is from an old 1970s vinyl by the wonderful Lijadu Sisters. "Please, please come on home baby..."

Monday, November 16, 2009

To London and Back

I’ve been playing around with the new version of Ableton Live this weekend while on a little visit to London 2.0 (Ontario). I’m not quite sure whether to call this a burgeoning hobby or yet another outlet for procrastination. In any case, here is the result of a little dabbling while sitting on the VIA Rail Train 72 back to Toronto:

LifeOnEight – “To London and Back”

Harsh feedback is strongly encouraged.

Tuesday, May 12, 2009

Bulroney Hill

A few days ago, May 8th, it was Victory in Europe Day (V-E Day), a statutory holiday here in France (and in a few other European countries) commemorating the end of World War II. Of course, this made me think of Canada. As I have been marching to my own drummer here in Paris, this long weekend didn't really affect me as I had tons of work to do (yes, still old Toronto-work). However, it was a little difficult to stay completely focussed given the nice weather, so I succumbed to a little procrastination. I decided to whip up something quasi-musical with all of the audio recordings I had accumulated from the testimony of Brian Mulroney (former Prime Minister of Canada for all you non-Canadians reading this) at a public inquiry held by a Parliamentary committee in December of 2007. Even if you are not interested in politics, or the whole "Schreiber Affair", most Canadians would probably find these clips quite humourous. Despite Mr. Mulroney delivering these gems with a very serious demeanor, he seriously couldn't expect us to take him seriously? This was also quite a unique event as it's very rare for a former Prime Minister to be ordered to testify in any public inquiry (the other exception would be Jean Chrétien), but this was an event without equal since it was on Parliament Hill.

So, whithout further verbiage, I give you "Bulroney Hill":
<a href="http://lifeoneight.bandcamp.com/track/bulroney-hill">Bulroney Hill by LifeOnEight</a>

Saturday, March 21, 2009

Beautiful Life

Gui Boratto - "Beautiful Life".

Sunday, October 5, 2008

Electronic symphony composed for Blinkenlights in Toronto

If you were standing outside at Nathan Philips Square an hour ago and was wondering what the cool music was that was playing, here's a link to satisfy your curiosity (and ears!): http://kraftfuttermischwerk.de/stuff/blinkenlights-symphony.mp3 It's an electronic symphony commissioned specifically for this year's Nuit Blanche in Toronto, and the Project Blinkenlights "Stereoscope" installation in particular.

Sunday, March 30, 2008

Fear switching to Linux no more!

Yes, fear not, you can still sync up your iPod. In fact, if you choose to use this open source iTunes-replacement for Linux -- Banshee -- you'll get all the features of the original, and more (such as built-in scrobbling to Last.fm). Now, isn't it time you tried Linux? Even if just for "fun", it's worth trying out a Live CD of Ubuntu Linux. Boot with the CD, poke around, and when you're done, just pop it out and reboot back to Windows. (Assuming you're not a Mac user; in which case, you're technically already using a version of Unix! Yes, shocking, isn't it.)

Of course, if you really want to get geeky, and still need to keep Windows running on your hard disk for other reasons, you can always install Linux to a USB stick -- that's what I did. You can boot from it, but unlike the Live CD option, it's a real system where your customizations are persistent. Install software (like Banshee), create documents, whatever... It's a true working installation. And it can travel with you! Pendrivelinux.com has several step-by-step guides to help you achieve this. You can get by with a 1 GB USB key, but I went all out and went for 8 GB; I want room for programs, documents, and even some music! (You will, of course, be able to access files from your machine's hard disk, but obviously those won't be able to travel with you.)

Sunday, December 16, 2007

A good option to consider if you don't like iTunes

On this very snowy Sunday morning, after making a fluffy omelette and while sipping on my coffee, I find myself here at the computer listening to some music. I personally use iTunes, not for the iTunes Store, but for the software -- partly because I have an iPod, partly because it links up seamlessly with my Airport Express router to stream tunes live to my stereo, wirelessly. (True, I could use Airfoil, but it's just an added hassle to load up a separate little program to stream the audio.) However, if you have no iPod to sync to your computer, there is no big reason to use iTunes. I've found an excellent alternative called MediaMonkey. It's completely free, it looks nice (the default skin looks suspiciously iTunes-like in fact), has all sorts of playlist options and supports song ratings. However, the big deal is that it can very easily be customised with all sorts of scripts, most are user-submitted and can be found in the forums. One that I came across, for example, converts old MusicMatch song ratings; very useful since MusicMatch doesn't work anymore under Windows Vista (for you poor souls that decided to upgrade!).

Sunday, October 28, 2007

When life gets hectic, get a new toy!

As you can probably tell from the lack of posting lately, my life on the eighth floor in Toronto has been keeping me very busy lately. I've been workin' it at both eights; the office and the home. I'm generally not a workaholic, but I've been making a conscious push to finish a large, multi-year project that I affectionately call "the beast".

However, all work and no play is not what I'm about! Yesterday I got myself a new toy, an Oxygen8 USB MIDI controller. I've been hunting around for a long time for some sort of affordable MIDI/USB device to take my hobby electronic music composition to the next level (who am I kidding, I'm just one step above beginner). Sometimes it pays to keep a close watch of craigslist's for sale sections; I got a great deal on this second-hand toy.

For now, my plan is to use it in concert with my copy of FL Studio. It's early times, but there doesn't seem to be any setup necessary. It was recognised automatically as a MIDI input (as long as it is plugged into the USB port before the program loads) and piano key input works automatically whenever an instrument channel is highlighted. Assigning functions to the knobs on the controller is done by right-clicking on any setting or knob on the screen, whether it's instrument properties or a software plug-in.