Welcome to No Limit Sound Productions

Company Founded
2005
Overview

Our services include Sound Engineering, Audio Post-Production, System Upgrades and Equipment Consulting.
Mission
Our mission is to provide excellent quality and service to our customers. We do customized service.

Wednesday, April 9, 2014

Why & How To Partition Your Music PC Hard Drive

PC Musician

Technique : PC Musician



Did you know that sensibly partitioning your hard drive or, if it's already partitioned, simply swapping the positions of your audio and sample partitions could result in a significant improvement in PC audio performance? We explain the whys and wherefores.


Martin Walker

pc musician header.s

Each time I return to the subject of hard-drive partitioning, the goal-posts have moved significantly. Back in August 2000, when I wrote the 'Divide And Conquer' feature, many of us were still using drives with a capacity of 8GB or less and running Windows 98. By the time I wrote 'The Great Divide', in SOS March 2003, this had jumped to 80GB, and many of us were more interested in splitting our drives to run Windows 98, 2000 and XP alongside each other in a multi-boot configuration. Two years on, in 2005, I still find myself answering lots of questions about partitioning in the SOS Forums, but while most of us are now using Windows XP, there are several new issues to face and splitting drives has almost become mandatory, as some of us install models with a capacity of 200GB or more.

Top of page

Back To Basics



As most PC musicians already know, you don't have to leave each of your hard drives as one huge and rather unmanageable storage area. It's generally far more productive to split each one into several partitions, to keep your data better organised, and therefore safer. This also helps to minimise any reduction in performance due to file fragmentation, by keeping the fragments within a smaller area of the drive so that the drive's read/write heads don't have to dart about so much when accessing files.



Most people also agree that having two drives in a music computer is generally better than one, since you can devote one to Windows and its applications and the other to audio storage, safe in the knowledge that they won't interfere with each other in any way that reduces overall performance. This approach also offers a security benefit: you can back up the data from one drive onto a spare partition on the other, so that if one drive fails your data can still be retrieved from the surviving one (although this isn't a substitute for a proper backup regime onto other media).



There's now a huge number of musicians who run PC laptops on stage, for location recording, or simply for greater convenience. They generally rely on a single drive, yet still want to achieve the maximum audio performance from it. Many musicians are also now using streaming soft-samplers, which brings up issues surrounding hard drives once again. If you're running one of these samplers alongside a multitrack audio sequencer, for example, do you need three drives (one for Windows and its applications, the second for audio tracks, and the third for sample libraries) to achieve maximum soft-sampler polyphony without compromising the maximum number of audio tracks? If not, what's the best way to split your data requirements across one or two drives?

Top of page

Location, Location, Location



Let's start by considering the implications of partitioning. While it can make our lives a lot easier, it results in a set of storage areas, each performing slightly differently, and with the possibility of interactions between them in real time. Let me explain.

PCmusician 0505 1

This HDTach graph of one of my Seagate Barracuda 7200 SATA hard drives (see next page) shows how sustained transfer rate varies across the surface of a hard drive from outside to inside. As you can see, although the average sequential read speed has been measured as 46.8MB/second, the graph shows that it actually varies from 58MB/second on the outside to 30MB/second on the inside.



The maximum number of simultaneous audio tracks your hard drive can manage is directly linked to its 'sustained transfer rate', rather than the burst speeds often quoted by manufacturers, because streaming audio is generally a continuous task. This sustained transfer rate is, in turn, directly related to spin speed: the faster a drive spins, the more of its data sectors can be read per second.



So the 4200rpm drives found in some laptops generally achieve the lowest number of audio tracks, the 5400rpm ones found in old desktops and many current laptops are better, and the 7200rpm drives commonly found in more up-market laptops and the vast majority of desktop PCs tend to be the most popular for audio work. There are faster drives available (including 10,000rpm and even 12,000rpm models), but these are significantly more expensive and often more noisy. In any case, 7200rpm models can already run more simultaneous audio tracks than most musicians need.



The sustained transfer rate will also vary from the outside to the inside of any drive, simply because the read/write tracks are arranged in concentric circles. Since the outer tracks are longer, they contain more sectors, and thus at a fixed spin-speed more sectors of the outer tracks can be read in a single revolution. So the fastest area of any hard drive is always on the outside. With most (but not all) drives, the sustained transfer rate falls steadily from the outside to the inside, and may typically drop by half in the process (I have seen exceptions where the rate suddenly jumps up again slightly in the middle, or falls in multiple steps like a sawtooth waveform, but these seem comparatively rare).



Sustained transfer rates can be obtained from manufacturers' drive specifications and are generally quoted as a range, such as "32-58Mb/second", or as an 'average' value, but it obviously is sensible to make best use of the fastest areas. Fortunately, you can easily measure the sustained transfer rate of any partition of your drives using the now-famous DskBench utility (a free download from www.sesa.es/us/dl/dskbench.zip). Simply copy this tiny 36KB file onto the partition or drive you want to measure and then run it from there. Among various other results, DskBench will provide you with figures for Write and Read — the two sustained transfer rates that ultimately determine audio recording and playback performance — as well as approximate CPU overhead. If the latter comes in at under five percent or so, you'll be reassured that DMA data transfers are correctly set up for your drives.



If you want to see how the sustained transfer rate varies across the entire surface of your drive, try downloading the 1Mb HDTach utility (www.simplisoftware.com/Public/index.php?request=HdTach). Now up to version 3, this free hard-drive benchmarking tool provides a useful graphic readout of Sequential Read Speed from outside (left-hand side) to inside (right-hand side), as well as Random Access Time (a measure of how fast the drive can retrieve randomly located sectors) and CPU Utilisation (once again, to check the effectiveness of your DMA transfers). It's also a Windows-based utility, which makes it easier on the eye than DskBench.

Top of page

Suitable Partitioning Tools

PCmusician 0505 5

Windows' own Disk Management utility is very handy for basic partitioning, and for viewing the current arrangement of partitions from the outermost (left-hand) to innermost (right-hand) positions across the surface of your hard drives.



PCmusician 0505 6

If you want to create, alter and maintain a complex set of partitions, a dedicated utility like Partition Magic will make your life a lot easier.

Microsoft include a handy partitioning utility, Disk Management, with Windows. Accessed from Control Panel by clicking on Administrative Tools and then on Computer Management, the Disk Management tool can then be launched by clicking on Disk Management in the Storage area of the left-hand pane.

You can choose what you want the top and bottom views to be in the right-hand window, but by default these views display a list of Volumes (partitions) at the top, and a Graphical representation of the same beneath, showing primary, extended and logical partitions, plus any free space. What many musicians haven't cottoned onto is that the lower Graphical view also shows the layout of partitions from outside (left) to inside (right) of each drive.

The Disk Management tool is very useful if you know exactly how you want to split and format a new drive, delete existing partitions or change drive letters. However, you can't use it to re-size existing partitions, so unless you get it right first time and never subsequently change your mind as your drives fill up, you'll need a more flexible tool, such as the famous Partition Magic, developed by Powerquest, but now owned by Symantec (www.powerquest.com/partitionmagic).

As you can see from the screenshot, Partition Magic shows exactly the same arrangement of partitions for my two drives as the Disk Management tool, with the bonus that they are appropriately scaled to show what proportion of the total drive they occupy. Partition Magic really comes into its own when you want to reorganise your data: you can re-size, move, copy, or delete existing partitions at will, split them or merge them together, convert them from one format or partition type to another, change their cluster size, or create new partitions, ready to install additional operating systems.

A few alternatives to Partition Magic are now available, including Paragon Software's Partition Manager (www.partition-manager.com) and Acronis Disk Director Suite (www.acronis.com/ homecomputing). Both can be ordered on-line for $49.95 (compared with the $69.95 of Partition Magic), and both offer a comprehensive range of functions. Although the Acronis product doesn't currently offer a couple of options that the other two do, it does support Windows Server Editions (you need to buy the more expensive 'Pro' versions of the competing software to do this). On the other hand, Partition Manager does offer an advanced Defragmentation tool, which looks very useful.

Top of page

Laptop And Single-Drive System Tweaks



If you have a single drive in your PC and it's formatted as one massive partition (the default in most mainstream systems), it will seem quite nippy when delivered. However, it may gradually become more sluggish as you install more applications and store more data as, inevitably, later storage will be physically further towards the inside of the drive. Not only will files stored in these areas suffer from slower transfer rates, but access times may also become longer, as the hard drive read/write heads have to keep jumping longer distances during normal use to reach all parts of the drive.

PCmusician 0505 2

This HDTach graph shows the performance of my 40GB 5400rpm Seagate Momentus laptop drive. The read speeds are considerably lower than those of the 7200rpm Barracuda drive shown earlier, but they reveal a similar percentage drop from outside to inside.



Windows does its best to help, by periodically re-organising files so that those accessed most often are moved to the outer portion of the drive, using its 'pre-fetch' optimisations (I discussed this in 'Speeding Up Windows' in SOS April 2003). You can force this re-organisation to occur by running Microsoft's Disk Defragmenter utility, but you can also help a great deal by splitting your drive into several partitions, and placing data that's only needed occasionally (such as large image backup files, or your collection of application update files) on the innermost partition.



In general it's best to make the partition most often accessed the fastest one, and for most general-purpose software this would be the one containing Windows and its applications. Your PC would then boot up in the shortest possible time and launch applications as quickly as possible. However, for musicians streaming audio files from their hard drives, it makes more sense to ensure that the partition containing audio files has the best performance, despite the fact that this will result in Windows and applications launching slightly more slowly.



Here's a practical example, based on the 5400rpm 40GB Seagate Momentus hard drive in my Centrino laptop. As you'll see from the HDTach screenshot above, the performance of my laptop drive falls off from about 36MB/second to about 29MB/second across the first 20GB — a 17 percent reduction. So if, like many people, you have a huge 20GB partition devoted to Windows and its applications, with the rest of the drive devoted to audio duties (Single Drive Scheme two in the diagrams below, simply swapping the positions of the partitions could potentially increase your maximum audio track count by 17 percent.

PCmusician 0505 3A

PCmusician 0505 3B

PCmusician 0505 3C

PCmusician 0505 3D

With a single drive it's worth spending some time thinking about the best way to organise its storage, especially if it's a slower laptop model. Dividing the typical single huge partition of a mainstream PC (Scheme one) into Windows and audio partitions (Scheme two) may help you organise and back up your data, but it may actually degrade audio performance. A much better option is to create a small outer partition to house your Current Project (Scheme three), moving the completed project into the Audio Backup partition when completed, and perhaps adding a further outer partition for Streaming Samples (Scheme four), if required.



Rather than re-allocating a large proportion of the outer part of the drive to a single audio partition, it makes more sense to create one partition just big enough to house your current audio project (say, 5GB), and another further in for all your older, finished projects. In this way you can achieve the maximum track count without compromising Windows performance too much (in my graph, drive performance has only fallen by about three percent at the 5GB point).



In this example (Single Drive Scheme three), we've gained a 17 percent improvement for audio tracks and only lost about three percent for Windows, simply by creating an outer 5GB project partition (see 'Windows Activity' box for more details on whether the slight loss of Windows performance will be noticeable). You can extend this idea, if you've got a streaming sample library, by creating another larger partition for the library, between the current project and Windows partitions. In the case of this particular (rather small) 40GB laptop drive, you could perhaps devote 15GB to the sample partition, still leaving plenty of space for Windows and an inner data and backup partition (Single Drive Scheme 4). Although Scheme 4 further compromises Windows loading times, placing the audio and sampling partitions next to each other minimises access times. This arrangement will probably provide the best audio and sample streaming performance on a single-drive laptop.



By the way, don't confuse the requirements of streaming sample libraries with samples that are always loaded into RAM in their entirety. The latter are no different from patch-based libraries. These two categories (RAM-loaded samples and patch libraries) should ideally be separated from your streamable sample libraries and placed into yet another data partition further in on the drive. After all, the only improvement you'll see if you place these libraries in an outer partition is a slight reduction in their initial loading times.



Some of you may have noticed from the HDTach screenshots that since most drive read speeds fall to approximately 50 percent as you move from outside to inside, buying a larger-capacity drive will help you make the most of the fastest outer area. On a 200GB drive, for example, there may be little fall-off in read speed across the outermost 50GB, making this area ideal for large current projects or sample libraries. So even if you only have one drive in your PC, the larger its capacity, the less you'll compromise audio performance with the sampling split of Single Drive Scheme four.

Top of page

Windows Activity

Swapping the positions of your Windows/applications and audio data partitions initially sounds like a great idea, until you start worrying that perhaps Windows and application performance may, in turn, suffer if they're moved to a slower inside partition. After all, running from a partition with a lower sustained transfer rate is bound to make Windows boot up more slowly, since its system files will take slightly longer to load into RAM. Applications will also launch more slowly, albeit by a tiny amount.

PCmusician 0505 7

When you're recording or playing back a song, the Windows C: volume (dark blue trace) is rarely accessed, with only two tiny blips during the several minutes for which I was recording this disk activity. The vast majority of disk accesses occur in the P: projects volume (yellow trace) during streaming of audio tracks, and the S: samples volume (pale-green trace) during streaming of Gigastudio sounds.

But will this swap also result in worse real-time performance of your MIDI + Audio application? After all, the whole point of the classic-twin drive Windows + Applications and Audio setup used by most specialist music retailers and DIY musicians is to remove any possibility of interaction. Splitting a single laptop drive, or indeed splitting the Windows + Application drive of a dual-drive setup to provide streaming sample storage, would seem to go directly against this philosophy. On the other hand, some PC system builders suggest that once your MIDI + Audio sequencer has finished loading, and you've loaded whatever additional files are required for running your choice of soft synths and plug-ins, neither the application nor Windows will need to access the drive more than very occasionally, and often not at all.

I decided to perform some tests to throw some further light on the matter. I started by running the Filemon utility from Sysinternals (www.sysinternals.com). This monitors and displays all file system activity so that you can see how Windows and your applications access and use files. You can decide which volumes to monitor, and you can stop and start the capture process at any time. Although it's very easy to get swamped with data, with care you can learn a vast amount about which files are being accessed on which drives.

After a run-through playing a Cubase SX song with a clutch of audio tracks, I discovered (as I half expected) that for most of the time the only volume being accessed was the one containing the audio files used by the song. Further monitoring showed that only when opening or closing a file dialogue window (load, save, import, and so on) or exiting Device Setup (when Cubase saved its new Defaults.xml file) was there any obvious activity on the C: volume. Even when Gigastudio was running alongside and accessing my dedicated Samples partition there was still no additional activity on the C: volume. I made similar checks running Cubase on my XP General partition and found similar results.

Sonar was slightly different: I found that it accessed the C: volume once every 2.5 seconds for a tiny amount of time even when songs weren't playing, and during playback it accessed its huge TTSRES13.DLL file about five times per second. However, each access lasted less than a millisecond, leaving the C: volume inactive for at least 99 percent of the time. I think we can safely assume that placing an audio or streaming sample partition on the same drive as the Windows partition won't compromise performance very much.

Other audio applications may differ in their approach, but I suspect that you're reasonably safe in creating an audio/sample partition on the same drive as Windows if there's some reason why you can't devote another drive to this task — just be aware of possible interactions and try to keep them to a minimum. While you may not achieve 100 percent of the performance that you might get using a separate audio/sample drive, it might stay near 99 percent most of the time — but it could possibly plummet very occasionally if the drive is suddenly called on to perform another task. One possible task might be Window's Paging File, created by default on the C: volume for use as virtual RAM, particularly when you're running low on the real thing. I've written about the page file on several occasions in the past, and on my machine it doesn't seem to get accessed very much. However, those running video applications often find that they need a huge page file, which is accessed quite often. If you find yourself in this situation, another option is to create a small extra partition (of several GB in size) near your audio or sample partition, to use as a dedicated page-file partition. That should minimise any disruption of streaming activity.

Top of page

Multiple Drive Configurations



While some mainstream PCs may arrive with a single massive hard drive, most PCs intended for audio will be better off with two smaller ones, or one small and one large — the first for Windows, applications and other data, and the second for audio duties. This not only removes the possibility of audio accesses being compromised when Windows wants to read or write a system file, but also means that you can back up the data from one drive to a partition on the other.



But even with two drives it pays to consider their partition splits carefully. Although the commonly used split of duties shown in Twin Drive Scheme one (above) generally works well, it still makes sense to split the Windows drive so that you can separate your own data (documents, graphics, and so on). Then, if anything ever happens to Windows, such as corruption or a bad virus attack, your work will be unscathed, even if you have to re-format the Windows partition and install your applications afresh. At the same time, it's a sensible move to create a third partition dedicated to image files of your Windows partition (made using a utility such as Norton's Ghost), so that you can restore it to full working condition within a few minutes rather than having to reformat and start again. The setup just discussed is, in fact, the backup split (Twin Drive Scheme 2).



If your songs contain a lot of audio files, the 'Current Project' audio tweak suggested earlier for the single-drive setup will also benefit a twin-drive system (Twin Drive Scheme three), as it ensures that you always achieve the best performance for the files you're currently using, but you've now got the space to make the Current Project partition much larger, if you're using the 24-bit/96kHz format, without compromising Windows performance at all.

PCmusician 0505 4A

PCmusician 0505 4B

PCmusician 0505 4C

PCmusician 0505 4D

When you have two drives, it's tempting to leave them both as single huge partitions (Scheme one). However, separating your data from Windows and backing both of these partitions up (Scheme two) is a far more secure arrangement. Audio performance will undoubtedly be improved by ensuring that the project you're currently working on has its files on the fastest part of the audio drive (Scheme three), while with a little thought you can stream samples from the Windows drive without too many repercussions (Scheme four).



Twin Drive Scheme four is yet another variant for those who want to stream lots of samples at the same time as playing back many audio tracks. I've also moved the Data and Windows Backup partitions onto the second drive, to leave more space for samples, and to keep it away from Windows itself, for more security. This time it's not so important to move the Streaming Samples partition further to the outside of the drive than the Windows partition, since it's likely, with a twin-drive setup, that each drive is somewhat larger than my laptop example. In my own desktop partition setup, for example (shown in the second screen on page 130), my first drive is a 80GB model with three small Windows partitions, each of 5GB, with the remaining 60GB devoted to Samples. Referring to the HDTach graph for my drive, starting the sample partition at the 15GB point only results in a loss of the top five percent of the drive's performance, which I can live with. If I had a larger first drive, this performance reduction would be even less. On the other hand, placing the Windows partitions on the final (inside) 15GB of the drive would result in at least a 33 percent increase in Windows file-access times.

Top of page

Potential Rewards



If you've just bought a PC it's sensible to make the most of its potential performance by organising the drive or drives into partitions. However, if you've already got a mature system with loads of stuff installed on your drives, will re-organising Windows, applications and data result in significant benefits? Well, it depends on how you work, whether or not you've already hit the drive-performance ceiling of your existing setup, and how much the sustained transfer rate of a particular partition could be improved by re-siting it, if it's currently a limiting factor on performance.



If you work mainly with MIDI hardware and software synths and plug-ins, and your MIDI + Audio sequencer application doesn't show a high reading for hard drive activity then there's absolutely no point in reorganising — it may make you feel that your PC is better set up, but you won't notice any improvement in performance. Creating a special outer 'Current Project' partition might shave a little off the initial loading time of your songs, while creating a special outer 'Samples' partition to store large non-streaming sample libraries (like those of Spectrasonics' Atmosphere or Trilogy might instead shave a second off initial loading times when loading a new patch, but you'll see no real-time improvements. Even if you're running loads of audio tracks, if you've never found your drives 'running out of steam', you won't notice any improvement.



However, for musicians running Gigastudio, HALion, Kontakt, or any other streaming soft-sampler, spending a few hours reorganising your drives could immediately offer benefits in polyphony terms, especially if you use instruments such as piano and harp that can easily consume 64 notes or more by themselves. It may even allow you to avoid having to buy and install a third drive just for sample storage.



Reorganisation could similarly improve the lot of the PC musician running a laptop with a single drive, when squeezing every last drop of performance out of the internal drive may make the difference between being able to continue using the laptop by itself, or having to cart around an external drive to beef things up.

Top of page

Further Reading

I've written on various occasions in the past about partitioning hard drives. Here are links to the main articles:

Backup Strategies For The PC Musician www.soundonsound.com/sos/aug04/articles/pcmusician.htm (covers organising your data, file-naming tips, what to include in backups, data recovery, different media, file compression, dedicated software, sharing data).

Speeding Up Windows www.soundonsound.com/sos/apr03/articles/pcmusician0403.asp (covers chipset drivers, Intel Application Accelerator, Bootvis, boot-up time, device initialisation, Windows XP boot time).

The Great Divide: Partitioning PC Hard Drives For Multi-Boot Systems www.soundonsound.com/sos/mar03/articles/pcmusician0303.asp (covers reasons to split, format & partition types, partition options, Boot.ini name syntax, Microsoft multi-boot options, XP boot errors).

One Box Two PCs www.soundonsound.com/sos/may01/articles/pcmusician.asp (covers swapping drives, multiple operating systems, putting up the partitions, installing a second OS).

Top of page

Final Thoughts



You don't have to religiously follow any of the schemes I've outlined here: once you've grasped the reasons for each of my suggestions you can adapt them to your needs. For instance, if you've already created dedicated audio and sample partitions and are currently struggling to achieve a higher sampling polyphony, but you have no problem running lots of audio tracks, it may benefit you to swap their positions on your drive or drives. As long as you bear in mind the falling transfer rate from the outside to the inside of a drive, the relative sizes of partitions are also entirely up to you. The beauty of the partition utilities discussed in the box on page 130 is that you can change partition sizes at any time, if you run out of space in one and find you don't need as much space as expected in another. It's not uncommon to shuffle partition sizes or even their relative positions several times before finding the best arrangement.



My tests on Windows partition activity while running audio applications confirm that laptop owners will generally achieve acceptable performance by splitting a single drive. I've been successfully streaming Gigastudio from a partition on my Windows desktop drive for several years, with no problems to date. But don't run away with the idea that you should necessarily abandon the twin-drive approach: using a single drive is always a slight compromise, so you should be prepared for at least a slight drop in polyphony or maximum track count. You'll also have to be careful to keep the Windows and audio partitions as physically close as possible, to minimise the impact of extra drive activity, as well as avoiding any utilities that regularly access files on the Windows drive.



The central issue is awareness of how placing partitions on a drive affects their performance — and don't forget that it's still important to keep individual partitions regularly defragmented and the data within them regularly backed up. Finally, remember that, however capable the latest partition utilities are, no piece of software is 100 percent foolproof, so make sure you have backup copies of the data in each partition before you attempt to move them elsewhere. Then, if the worst happens during the reshuffle, you won't have lost any data in the process.   Published in SOS May 2005

Useful Utilities For The PC Musician

PC Musician


Technique : PC Musician
Whether you're running a single PC in your bedroom or a bank of them in a professional studio, sometimes a tiny freeware or shareware utility can make the difference between frustration and elation. We round up some of the best and point you to places where you can find more.
Martin Walker
PCmusician header

The right freeware or shareware utility can be a godsend for the PC musician. It might help you track down an annoying problem, cure it or bypass it altogether; it might provide you with a new means of generating or modifying sounds; it might simply save you money you'd otherwise have had to spend on a commercial equivalent. Ironically, although such utilities are often quick and easy to download via the Internet, their relatively small size often results in them being overlooked among the morass of available files. Some of the best ones aren't hosted on the mainstream web sites either, but on the developer's own pages.

So this month I've rounded up some of the most useful utilities that should specifically interest the PC Musician, organised into various categories with suggested uses. Many new musicians seem to be moving across to making music on their PCs after working for years on hardware multitrackers or elderly Atari ST computers, so I make no apologies for including some old favourites in the list. However, whether you're a newcomer or an expert, there should be something for you. The majority of the utilities I include are freeware, and the few shareware ones have very reasonable registration fees considering how useful they are.

MIDI Monitors, Routers & Plug-Ins

There are those who consider MIDI an outmoded technology — sales of new MIDI hardware synths are falling, and some musicians are busy selling their existing ones second-hand because they now use totally software-based sources. However, other musicians are eagerly snapping up these bargains, and anyone who uses a VST or DX Instrument is probably still using MIDI data to trigger it from an external keyboard. Moreover, MIDI controllers are an incredibly popular way to add real-time expression to MIDI performances, to automate both MIDI and audio sources, or simply to control sequencer functions from a distance. So, given that MIDI still plays a big part in many musicians' lives, what can utilities do to enhance this experience?

For many, a big frustration comes when they're trying to make a certain controller change a particular synth parameter and nothing is happening. If you know what data you're trying to generate from your controller, the answer is to monitor what's actually coming out to see what's amiss — it may be something as simple as incoming data being sent on the wrong MIDI channel. For many years, the standalone 800KB MIDIOX has performed this function for me and many other musicians with finesse, and it's still a free download from www.midiox.com. All you need to do is open its MIDI Devices window, select the MIDI input that your controller is connected to, and then you can view every MIDI message the controller generates. For those who want to see which MIDI data is arriving inside their VST-compatible sequencer application, Wally Cescato's MIDI Data Monitor (www.freewebs.com/wallyaudio) loads as a VST Instrument and displays incoming MIDI note, aftertouch, pitch-bend and controller data on four 'LEDs', as well as providing a scrolling data display in text form.
PCmusician figure1A
PCmusician figure1B
PCmusician figure1C
MIDI is still an important part of most musician's performances, and utilities such as MIDIOX, Maple Tools and Markleford Friedman's MFX plug-ins, shown here, can help you get the right MIDI data to the desired destination.

Those with hardware MIDI synths will easily find loads of soundbanks for their particular make and model on the Internet, but after you've downloaded these SysEx (.SYX) files to your PC you'll need a way to send them on to your synth. Sonar users can do this directly (as can users of Cakewalk's older Pro Audio sequencer range) but if, like Cubase, your sequencer doesn't recognise such files, you'll need a suitable utility. Once again, MIDIOX comes to the rescue. However, if you want something even simpler that's devoted to SysEx transfers, SendSX (www.bome.com/midi/sendsx) also works with all versions of Windows.

There are still times when MIDI routing utilities are useful. Some can add multi-client support to MIDI hardware that doesn't have it, so that you can route a sequencer and synth-editing software simultaneously to the same MIDI output for changing sounds while playing back a song. Hubi's Loopback and Herman Seib's MultiMID were the ones that started it all for Windows 3.x and 9x, and they're still available (http://members.nextra. at/hubwin/midi.html and www.hermannseib. com/english/multimid.htm). Others can act as MIDI patch cables, so that you can port data from one application to another in real time, or modify incoming MIDI data before sending it on elsewhere. Hubi's MIDI Cable did this for Windows 3.x and 9x, while Jamie O' Connell's MIDI Yoke (www.midiox.com/myoke.htm) worked for many on Windows NT and subsequently Windows 2000 and XP, but caused problems with Tascam's Gigastudio.

Fortunately, a modern patch-cable alternative is now available that seems to work with everything: Marble Sounds' Maple Virtual MIDI Cable (www.marblesound.com/ Maple_driver.html) is freeware and runs on Windows 95, 98/ME, 2000 and XP. Once you've installed it and rebooted, it appears in all your MIDI applications as four extra MIDI Ins and Outs, so if, for instance, you want to send the MIDI output from your main sequencer to a stand-alone soft-synth, you can select Maple MIDI Out: Port 1 in your sequencer and Maple MIDI In: Port 1 on the synth and the two applications will be connected via MIDI. This really is a handy utility to have installed.

The associated Maple Tools utility (www.marblesound.com/Maple_tools.html) either accepts MIDI data from your sequencer via the Maple MIDI Outs, or directly from up to four hardware MIDI input ports, and then modifies it in various ways in real time, using various plug-ins individually configured for each channel of each port. There are two plug-ins bundled with the utility: Layering lets you achieve complex patches by sending the incoming MIDI data to any combination of channels on multiple output ports, while MIDI Control Surface lets you send a huge variety of controller-data messages using software sliders and buttons.
Various third-party developers have added special performance features to their sample libraries by writing plug-ins for Maple Tools. For instance, PMI supply their Grandiose FX plug-in to enable users of their Gigastudio piano libraries to re-pedal (switch between sustaining and no-sustaining samples in real time), and add pedal-noise samples and extra release samples. This is a free download for those who would like to try using it for other applications (www.postpiano.com/Maple/Ind/GrandiosoFX.zip). Gary Garritan also includes the Maestro Tools plug-in for his Orchestral Strings, to add legato, alternating bow strokes and mono mode to its repertoire.

For those who would prefer to record their MIDI data in its original form, then modify it inside their sequencer in real time via a MIDI plug-in, there are lots available to suit any sequencer that accepts plug-ins in MFX format, which includes Cubase, Nuendo, Sonar and Project 5, amongst others. There's a wonderful collection of 19 plug-ins by Markleford Friedman at Ten Crazy (www.tencrazy.com/gadgets/mfx), including MFX Auto Alternator, which provides the alternating bow strokes feature of Orchestral Strings, but with options to send the alternate messages to different MIDI channels so that you can create the same effect with your own sample sets. Others include MFX Track Doorman, which ensures that only notes from a specific key range reach your synth (ideal for making sure your string orchestrations are correct), MFX Kick Peddler, to convert sustain pedal or other switch movements into kick-drum data, and MFX Key Tweaker, to generate any controller data from a range of keys, for those who don't have modulation or pitch-bend wheels on their keyboards. Some users have found the install process confusing, but all you do is unzip the three files belonging to each plug-in into any folder of your choice. In the case of Cubase SX, I just created an MFX folder inside my existing VST plug-ins folder. Then you double-click on the file ending in 'BAT', to let the Windows Registry know of its existence. Further MFX plugins can be found at the Frank's MIDI Plug-ins web site (www.midi-plugins.de), and Nicolas Fournel's web site (www.nicolasfournel.com).

Where Can I Find Utilities?
The vast majority of offerings in the Multimedia sections of utility libraries tend to be for general-purpose use — audio players, plug-ins for use with them, various codecs and encoders to work with compressed audio formats, CD rippers and simple audio editors. For those who already have a full-featured MIDI + Audio sequencer and a clutch of plug-ins, and are more interested in creating their own music than copying other people's, there's probably little of interest. However, there are some gems to be found if you search hard enough. Here are some web sites that I've found rewarding in my travels:
GENERAL PURPOSE:
Cnet's Download.Com (www.download.com) provides many categories, but has a handy search function, so you can narrow down the options when you're looking for something in particular.
Download FreeTrial (www.downloadfreetrial.com) is, as its name suggests, a web site where you can download free or trial versions of software. I mention it because I found quite a few utilities here that I hadn't spotted elsewhere.
Nonags (www.nonags.com) is unusual in having mirror sites around the world hosting its contents to make them quicker to download, and in hosting freeware only. It's been around since 1995 and is now absolutely vast, yet very clearly laid out, with descriptions, ratings and links to authors' home pages.
Simtel (www.simtel.com) is slick and very professional and has a filtering system so that you can specify the operating system, type of license (freeware, demo, shareware, and so on), price, user ratings and even file size, to narrow down your search.
Snapfiles (www.snapfiles.com) is vast. The two innocuous buttons, labelled Shareware and Freeware, near the top of the main page take you to one of the biggest selections of downloadable files on the Internet, each with several hundred categories. The Multimedia sections aren't all that useful to musicians, but there are loads of general-purpose utilities and a very good synopsis and rating system.
Softpedia (www.softpedia.com) is a vast repository of shareware and freeware for both Mac and PC. The Windows section offers 19 categories, but many of these are further divided into sub-categories to make searching a more productive experience.
SourceForge (http://sourceforge.net) has over 100,000 registered products across 19 categories and caters for the academic as well as the more casual user. This is a site at which you could profitably spend quite a few rainy afternoons.
Tucows (www.tucows.com) is always a little slow to appear for my liking, partly because of the number of ads, but it has 660 titles in its Audio section so it's well worth a visit.
UtilityGeek (www.utilitygeek.com) provides a huge range of diagnostic tools and utilities for the PC owner, neatly split into 22 categories.
AUDIO/MIDI ONLY:
Audio Tools Direct (www.audiotoolsdirect.com) has about 600 downloads available, although most of their 29 categories contained little of interest when I looked.
DA Sound (www.dasound.com) has a good search/browse function that helps you narrow down the options. Particularly useful is the browse-by-platform option (if, for instance, you're only interested in files that are compatible with Windows XP).
Harmony Central (www.harmony-central.com/ Software/Windows) has another large collection of audio-related shareware and freeware.
Hitsquad's Shareware Music Machine (www.hitsquad.com/smm) has over 5000 software items to download, sorted into about 100 different categories, and I suspect that it's the most comprehensive site of its type around.
Partners In Rhyme (www.partnersinrhyme.com/ pir/PIRwindows.html) has a good selection of audio and MIDI files, but many of them are rather old, and with few details provided you can waste a lot of time downloading things that you subsequently find will only run on Windows 3.1.
Synth Zone (www.synthzone.com/utilities.htm) has plenty of music-related links, although, once again, many of the utilities are quite elderly.

Audio Utilities

Most audio manipulations are now carried out within host applications that already contain many internal transformation tools, and most support VST or DX plug-ins that can add loads more, so stand-alone audio utilities are becoming of less interest nowadays. Nevertheless, I did find some intriguing tools in my travels.
Let's start with a couple of very handy stand-alone tools from AnalogX (www.analogx.com). Delay Time Calculator does just what it says on the virtual tin: you enter the tempo of your song in BPM and it provides a readout of seven note lengths in milliseconds that you can dial into your hardware or software delay unit. Tap Tempo is for when you don't know the tempo of a song — just press the space-bar on each beat and a tempo readout magically appears. At 209KB and 206KB respectively, you can't go wrong.
PCmusician figure2A
PCmusician figure2B
Creating sounds from images may generate some fresh inspiration, using utilities such as Coagula, while Soundplant is a handy sample-triggering tool that you could use during live performance.

The freeware Soundplant (www.soundplant.org) could prove very useful to some musicians, as it turns the computer keyboard into a sample-triggering device capable of assigning WAV or AIFF files to up to 72 different key combinations. You can then use it as a rough-and-ready drum pad, or as a performance or installation tool. The software's graphic interface allows drag-and-drop configuration of each key, with controls for pitch, offset, volume, pan and looping, and you can batch-assign the same file at different pitches and offsets across multiple keys. Just make sure that your keyboard repeat delay is set to High and the repeat rate to Slow.

Coagula (http://hem.passagen. se/rasmuse/Coagula.htm) is described as an 'image synth' and provides a range of drawing tools for creating graphic images that you can then render into a WAV file. Each line in the image controls the amplitude of one sine-wave oscillator at a specific pitch, and different colours determine stereo placement and noise contributions. Included are a variety of unusual filters, overlays and tools, and the results range from drones through washes of sound to evolving sci-fi soundscapes. You can also import BMP files. Audiopaint (www.nicolasfournel.com) is rather simpler, providing no drawing tools but offering the facility to import GIF and JPEG as well as BMP images. You can also use a sample instead of sine-waves to generate your sounds, for very different results.

If you want to explore the outer fringes of audio, pay a visit to The Transparent Corporation (www.transparentcorp.com) and enter the mysterious world of brainwave manipulation. Here you can download a demo version of the Brain Sound Studio that embeds 'brainwave entrainment' into any sound or music file of your choice, using a series of over 70 brainwave transform filters. Traditionally, such techniques have involved binaural beat frequencies that you experience under headphones only (signals that differ by a few Herz are sent to each ear separately), and while Brain Sound Studio can produce these, it can also be used over loudspeakers and even in mono. It sounds ideal for any musician working with trance or relaxation music, or who wants to add a hidden edge to their music, and the full version costs just $45.

Testing Your Hardware

We regularly get new members on the SOS Forums asking how they can find out what motherboard make and model they have in their PC, or what processor, how much RAM and of what speed. Probably the most comprehensive utility that can tell you all this is SiSoftware's Sandra (www.sisoftware.co.uk/sandra), which provides a host of modules covering Information, Testing, Benchmarking, Listing and various Wizards. You can learn a vast amount about your PC from these, and use the information to test the performance of the PC's various sub-systems.

However, the beginner or casual enquirer could easily become overwhelmed with Sandra's data read-outs, and for quick-and-easy display of all the parameters mentioned above the freeware CPU-Z (www.cpuid.com/cpuz.php) is hard to beat. It provides just the right amount of information in one tabbed interface covering your CPU, Cache, Mainboard, Memory and SPD (Serial Presence Detect) read-out from each RAM slot.
PCmusician figure3
The quickest and easiest way to find out what hardware is inside your PC is to run CPU-Z, which will interrogate your CPU, motherboard and RAM.

The other area that beginners often find they want to measure is hard drive performance, especially if their system can only manage the playback of a few dozen audio tracks before running out of steam. DskBench (www.sesa.es) is a perennial favourite for this, as it's tiny (just 36KB) and can be dropped into each partition on a drive and run from there to measure the drive's sustained read/write transfer performance, check that the drive is correctly using DMA (Direct Memory Access) for low CPU overhead (this is a common reason for poor audio playback performance) and give you an idea of how many audio tracks you should be able to run with different disk-block buffer sizes in your sequencer application. Dskbench's read-out is text-only, but if you're not sure what results you should be getting this makes it easy to paste your results into the SOS PC Music Forum, where more experienced users will soon provide feedback.

If you'd prefer a graphic display of sustained drive performance, HD Tach (www.simplisoftware.com) is probably your best bet. Rather than providing individual transfer rates for each partition, it shows how this parameter varies from the outside (fastest) to the inside (slowest) of each of your drives, as well as providing a CPU utilisation figure. If this encourages you to think more carefully about how your various drives are partitioned, all the better.

Boot Management

Once you understand the ins and outs of partitioning (see PC Musician May 2005 for more details), it's well worth installing a music-only Windows partition alongside the one you use for more general activities such as Internet surfing, word processing and so on. You can separately install Windows into several partitions by using its 'install new copy' option, and use Window's own basic boot-manager utility to choose which one to run each time you boot up your PC. Quite a few musicians do this with no problems at all, but others aren't quite so lucky, running into problems and limitations.

If you're prepared to lay out a little money and want a considerably more versatile boot manager, Terabyte Unlimited's Boot It NG (Next Generation) is just $35 and provides a boot manager, a partition manager (not as versatile as Partition Magic, but good enough in many cases) and a partition-imaging utility so you can save compressed security copies of partitions, as well as cloning them. Since it doesn't run from Windows, you can also use it to image Windows itself.
PCmusician figure4A
PCmusician figure4B
Tracking down unwanted Windows startup tasks and laptop power-management issues that cause audio clicks and pops is made easier using utilities such as Autoruns, while CCleaner will keep your PC optimised and remove traces of your Internet activities.

Boot It NG also provides various special features, such as removing the usual limit of four Primary partitions on a drive (each operating system must normally be installed on such a partition, so this allows you to install more than four instances of Windows in complex setups), and has a Multi-OS option that can boot multiple operating systems from one primary partition. Boot It was first released 10 years ago, has gained an enviable reputation for reliability (particularly important when you're using it to back up your data) and can be downloaded from www.terabyteunlimited. com/bootitng.html

However, another product could well claim the prize of 'ultimate boot manager'. Star Tools' Bootstar (www.star-tools.com/bootstar/english) also increases the limit from four to 15 primary partitions per drive, but is the only boot manager, to my knowledge, that provides extra security features, by physically hiding each Windows partition so that when you boot into another one it's entirely unaware of the other's presence.

Bootstar lets you choose an entire profile consisting of up to four visible partitions out of the 15 possible, and in its Profi security mode doesn't simply restrict access to 'hidden' partitions, like most other boot managers, but instead deletes its MBR (Master Boot Record) information so that the partitions cannot even be seen from partitioning tools such as Partition Magic or Windows own FDisk (although you can temporarily deactivate it to carry out maintenance work). If you're concerned about the possibility of a music-only partition getting virus problems, I know of no way for any infection to pass from an Internet-enabled partition to one that's totally invisible until you reboot into it. Like Boot It NG, you can test Bootstar for 30 days without any restrictions, then it costs just $25 to register per computer. Unfortunately, I can't show you screenshots of either of these utilities, because they are installed and run long before your PC reaches the Windows environment.

Searching Guidelines
There are so many utilities out there that it's difficult to sort the wheat from the chaff (which is the main reason for this round-up). However, if you're searching for something different, here are a few things to remember on your travels.
Some MIDI utilities, in particular, date right back to Windows 3.1 and may or may not run under the Windows XP that most of us are now using. Unfortunately, not every download site provides details of release dates or supported operating systems, so if the utility appeals you may have to do some detective work. If the file is in zipped form, you'll be able to glean a lot from the date-stamps of the files within it, and if some of them are dated 1993 be wary: the utility may still run, but it may need some elderly DLL files that are no longer part of Windows. If you just get a Setup.exe file you won't have any idea of its release date, but if it suggests when you run it that it should be installed in the root C: directory, or doesn't cope with long folder names (abbreviating them with the tilde '~' symbol), it's probably very old.
If you intend to try out a batch of utilities, the safest approach is to first make an image file of your Windows partition. Then you can install what you like, safe in the knowledge that if anything goes awry you can restore the image file to return your hard drive to the state it was in before you started (that's what I did while researching this feature).
Occasionally you can download a file and find that it's in a compressed format Windows won't read automatically, such as RAR or UUE. One of the best utilities for dealing with such formats is WinRAR (www.rarlab.com). It's available in a huge number of different languages and can either be launched as a stand-alone application onto which you drag and drop supported file types or can be integrated into Windows Explorer for right-click Extraction options. WinRAR is shareware. You can use it free for a 40-day trial period and a single license costs about £19.
The only compressed format I've ever had to deal with that wasn't covered either by Windows or WinRAR is MIME, which can occur with encoded email attachments from Mac users. If you ever find yourself with a stray file ending in .MIM, the usual suggestion is to download and install Allume's Stuffit Expander (www.stuffit.com/win/expander/index.html). What you're actually doing is installing a 15-day trial version of Stuffit Standard Edition that includes the free Expander tool. If you'd prefer a much smaller (310K) download, try the freeware Decode Shell Extension from Funduc Software (www.funduc.com/decext.htm). This adds a Decode function to Internet Explorer that will extract multiple files from within a MIME one.
Windows Tools

While the majority of musicians now have few problems achieving smooth audio recording and playback, there are still regular posts on the SOS Forum complaining of occasional clicks and pops. One of the commonest problems afflicting the PC musician still seems to be unwanted third-party tasks running in the background and interrupting audio recording and playback. The quickest way to see which processes are currently running is to use the Ctrl-Alt-Delete key combination to launch the Windows Task Manager, but although this provides a long list of candidates, many of them are required for the normal running of Windows and are cryptically named.

As many third-party tasks are started each time you boot up Windows, it's generally more useful to search these out. Microsoft provide the System Configuration Utility, which you can launch by clicking Start, then Run, typing 'msconfig' into the text box and then pressing return. On the Startup page you'll find a full list of tasks that are either in your Startup folder or in the Run or Run Once sections of the Windows registry (Run Once tasks generally initialise something, while Run tasks continue to run behind the scenes as long as your PC is on). If you suspect that one of these tasks is causing a problem you can go to the General page and click on Selective Startup. Then you can individually tick or untick the boxes in the Startup page and re-boot to see if bypassing a specific task has cured the problem.

Alternatively, the easiest utility I've found to do all this is the freeware Autoruns from Sysinternals (www.sysinternals.com). It runs on all version of Windows, provides a clearer display with more meaningful names, offers icons to make each task easier to recognise, has the most comprehensive knowledge of auto-starting locations of any startup monitor, and even displays the entries in the order that Windows processes them.

If you ever find a task in any of these lists whose function is still obscure, try browsing through the excellent Task List Programs list on the Answers That Work web site (www.answersthatwork.com/Tasklist_pages/tasklist.htm). This provides 27 pages (numerical, plus one for each letter of the alphabet) crammed full of information on the huge number of tasks available from both third-party and Microsoft sources, complete with recommendations on whether or not you should disable them

Musicians with laptops also suffer occasional audio pauses, but for an entirely different reason. On many modern designs the power management functions try to maximise battery life and keep the device cool by throttling the CPU frequency and reducing its operating voltage in real time if you require less computing power, smoothly ramping it back up when you need it all. Unfortunately, on a few models each such change can result in an audio interruption. If you suspect this could be true of your laptop, try downloading Rightmark's CPU Clock Utility (see screen on first page of this article), from http://cpu.rightmark.org/download/rmclock_16_bin.exe, and monitoring the throttled clock frequency to see if changes coincide with these interruptions. If they do, you can contact your laptop supplier or manufacturer to see if there's any way to disable the power-management functions.

Finally, I've recently found another handy and reliable Windows cleaning tool that removes many unwanted files from your system, including those generated by browsers such as Internet Explorer and Mozilla's Firefox that compromise your Internet privacy, temporary files left by loads of third-party applications, and the usual temporary Windows files. It will also offer to separately clean the Windows Registry of similar detritus. CCleaner (www.ccleaner.com) is freeware, and has already been downloaded by over six million people, including me!


Avoiding The Blue Screen Of Death

PC Musician


Technique : PC Musician
If you've ever been confronted by the dreaded Blue Screen Of Death, suffered random reboots or faced the frustration of inexplicable PC crashes, read on for some preventative measures...
Martin Walker
PCmusician Header shadow

Using a PC to record, mix down and master your own music ought to be a streamlined and pleasurable process, and for many musicians it is exactly that. Indeed, some have run their computers for months or even years without a single problem. However, others unfortunately find that many of their initially creative sessions descend into another round of fault-finding frustration. This month we're going to explore some measures to help the PC musician minimise the chances of crashes, reboots and other interruptions, so that they can simply get on with the most important task — making music!

The Blue Screen Of Death

Fortunately, one of the big improvements gained when you run Windows XP (and both 2000 and NT) rather than Windows 98 is that each application runs in its own 'protected area' of RAM. Should an application encounter problems and crash, you (or, rather, Windows) can safely shut down that particular application without having to reboot the entire PC and potentially lose unsaved data from other running applications. In some cases you can then restart the offending application, although it's generally safer to save any open files and reboot anyway, in case any processes started by the application that crashed are still running.

Despite the above, the dreaded BSOD (Blue Screen Of Death) can still put in an occasional appearance with Windows XP, 2000 and NT. It signals a non-recoverable condition, and that you've lost all data that hasn't yet been saved. This blue screen is still one of the most frustrating aspects of Windows use, since there's absolutely nothing you can do about it except reboot your PC and start again.

The most common reason for blue screens under Windows 98/ME was incompatible versions of DLL (Dynamic Link Library) files, but with Windows 2000/XP blue screens tend to happen because of driver problems, and when using older versions of applications with the latest Service Pack. The last, once again, underlines the importance of either keeping everything up to date or leaving everything well alone.

There's an area in the Windows Startup and Recovery section (Advanced page of the System applet in Control Panel) devoted to what happens if a System Failure occurs. Here you can specify whether or not the event is added to the system log, send an Administrative Alert (not much help to most musicians, who are already the administrator of their PCs), or Automatically Restart. It's helpful to un-tick the last option, since that gives you a chance to read the BSOD.

Further options include various 'Write debugging information' memory-dump sizes, the choices being None, Small (64KB), Kernel and Complete (entire physical RAM). I've chosen None, on the grounds that unless you know how to interpret the memory dump it's not much use to you, and there's no point in cluttering up your hard drive with dump files. However, if you're consistently given a BSOD by (for example) a particular audio interface driver, the manufacturer may ask you to send this memory dump so that their experts can try to analyse what's going on.

If your PC ever presents a blue screen, don't force the PC to reboot immediately: first, note down any file name that may be mentioned, and/or any error number, and try to remember whether you've recently installed new software, a driver update or new hardware. Even if you don't manage to track down the culprit first time, if the blue screen happens again you may notice a common factor that will help to solve the problem.

The quickest way to obtain more information on a specific error message is to visit Microsoft's Knowledgebase (http://support.microsoft.com) and enter the error number that you saw on your blue screen, in the format 'STOP 0x000000D1'. You should then be provided with a long list of possible culprits that, at the very least, will give you more ideas on what might have caused the problem and may point to a specific application that's known to cause it.

Other related web pages that I've found useful include Windows XP Shutdown & Restart Troubleshooting (http://aumha.org/ win5/a/shtdwnxp.htm) and Troubleshooting Windows Stop Messages (http://aumha.org/ win5/kbestop.htm).

Hints & Tips For Trouble-free Working
While the main causes of untimely interruptions are discussed in the main text, there are various others that can scupper your chances of making music while the inspiration is fresh. Here are some to bear in mind:
Power Management: The phenomenon of audio interfaces spontaneously 'disappearing' from laptops running Windows has been blamed on IRQ sharing but is more likely to be due to power management issues, as I explained in SOS October 2005. For instance, if your USB interface periodically goes AWOL and crashes your laptop, try un-ticking the box labelled 'Allow the computer to turn off this device to save power' in the Power Management page of the USB Root Hub that it's plugged into.
Protect Your System: If you must download and install demo versions of unknown software, create a dual-boot system with one Windows partition that connects to the Internet and has all the demos installed on it, and another that only ever houses your trusted music applications. This is what I do, and it's why my music partition has always been so stable. When your music partition is working reliably, make an image file using a utility such as Norton's Ghost. Then if the partition does become less stable in the future, you can restore that image for an immediate return to normality.
Mouse Muscle: If you have a wireless mouse, make sure you keep spare batteries standing by, and if it's a rechargeable mouse try to get into the habit of leaving it on charge at the end of each session, so that it's well topped up for the start of the next one. There's nothing more frustrating than your mouse dying in the middle of a session! Even better, keep a standby wired mouse plugged in as well. It won't interfere with the wireless one, and if the wireless one dies you won't have to reboot to carry on.

Mains Power Supply Problems

Spontaneous crashes and reboots can be caused by hardware or software problems (see 'Random PC Reboots' box), but some are obviously due to mains power problems. A brownout, for example, is a short-term drop in voltage (your mains light bulbs will dim simultaneously). Depending on its severity, your PC may survive unscathed (I had three or four such 'blips' while writing this feature and my PC didn't grumble at all). However, it depends on how low the voltage dip is, and how long it lasts. Your PC could suffer a 'frozen keyboard', a complete lockup or even a spontaneous reboot.

A blackout, as the name suggests, is a complete loss of power (your lights will go out), and the result is exactly the same as switching your PC off at the wall socket. All data not saved will be lost, and as soon as the power comes back on your PC will either stay in its 'off' state or reboot itself.
PCmusician 2 furman
Although you can buy a cheap surge-protected mains distribution board, products such as Furman's PL8 II, shown here (available in 120 and 240V versions) provide more sophisticated filtering and surge protection. This one is presented in a compact rackmounting unit with pull-out lights (very useful on dark stages!).
Spikes and surges are sudden momentary increases in voltage, either caused by nearby equipment being switched on or (more often) off, or (in more serious cases) by a nearby lightning strike. They can cause catastrophic hardware damage, often burning out motherboards and connected devices. A strike to telephone lines can also easily result in a burnt-out modem if it's connected to them, and can damage the rest of your PC at the same time. I heard of one case where the PC itself was physically unplugged from the mains outlet but its modem was still connected to the telephone line. An incoming transient not only took out the modem, but also the motherboard it was connected to, the processor and most of the other devices, plus all the data on the hard drives.

Many musicians switch off their PCs as soon as they hear a rumble of thunder or notice the first flash of lightning, then physically unplug it and their modem from the wall sockets. Better still, if, like many musicians, your mains wiring is all connected via distribution boards to a single mains socket, pull these plugs from the wall so that all your gear is protected. However, surges can happen at any time, so although PC power supplies generally have integral mains filtering to deal with incoming RF interference, it's sensible to fit some sort of external surge protection for all your gear, to cope with more vigorous influxes. There are lots of mains distribution boards available that are fitted with surge-protection devices, and even a cheap one is better than nothing. However, if possible, avoid those with 'sacrificial' MOV (Metal Oxide Varistor) components that are partially or completely destroyed in the event of a strike, or at least pay a little more for one with indicators that show when the MOVs have failed.

Lots of suppliers stock the respected Belkin range in six and eight-way versions with added protection for telephone and modem, in various configurations, for under £25. These are far better than the anonymous 'under £10' products you tend to find in DIY centres, but for even more protection look for products such as those from SurgeX (www.surgex.com). The next step up from a surge-protected board, to be considered if you suffer from brownouts or regular surges, is a power conditioner, which has the totally different function of filtering out mains noise, as well as stabilising and regulating the output voltage. Stand-alone units are available from companies such as APC (www.apc.com) from about £75. Power conditioners from companies such as Furman (www.furmansound.com) also offer more advanced MOV surge protection that's claimed not to degrade. Models such as their 1U rackmount PL8II E, with 10 IEC outlets, are available from about £170. The more sophisticated AC Line Regulator models can also deliver a constant output voltage of 120/240 volts AC wherever you are in the world.

The Show Must Go On: Power Issues On Stage
PCmusician motu traveler
Teaming your laptop with a buss-powered audio interface, or one that offers the option of buss-powering, such as MOTU's Traveler, could save lots of hassle in the event of mains problems, as the interface can carry on regardless, drawing power from the laptop's battery.
Lots of musicians now perform live with various sorts of PC, but it has to be said that your computer is probably at its most vulnerable when on stage. I discussed ways of making rackmount PCs more roadworthy in SOS June 2004, and tried to dissuade people from gigging with desktop PCs, which aren't really designed for much bouncing about on long journeys.
The majority of musicians now adopt a laptop as the ideal stage companion — laptops will carry on regardless even if the mains power on stage momentarily sags or conks out during your set. Nevertheless, it's also well worth buffering your stage gear from spikes and other nasties caused by nearby stage lighting and the like. A filtered distribution board is a wise investment, and a power conditioner or UPS is even more sensible.
Another consideration is your choice of audio interface format. A PCMCIA card will also benefit from your laptop's battery backup if anything goes wrong, as will a USB or Firewire interface that's buss-powered. A mains-powered USB or Firewire interface will 'disappear' even during a momentary mains problem, and if your laptop sequencer application carries on smoothly with battery power it will suddenly be without an interface. This will cause the sequencer to stop and you may have to close it down, re-launch it so that the interface is recognised once more, then reload your song. Even worse, your sequencer may crash or completely lock up your laptop, requiring a complete reboot once the power has come back on. Neither of these scenarios is the recipe for a relaxed stage performance!

Surviving A Power Cut

The ultimate protection for any computer system would allow it to carry on regardless even if the mains disappeared altogether. Given the rarity of power cuts in many countries, most project studio owners just swear if all the lights go out and they lose whatever PC data they were working on, while waiting for the lights to come back on again. However, if you live in a part of the world where power blackouts are more commonplace, regularly suffer from spikes and brownouts that crash your PC, or have a commercial studio where it's simply not an option to risk your clients' data, investing in an Uninterruptable Power Supply (UPS) is a wise move. It's also vital for anyone involved in broadcasting, running Internet servers or any other applications where you just have to keep on trucking!

Anyone who owns a laptop PC will have seen the principle of the UPS in action. While the laptop is plugged into the mains, its internal battery is trickle-charged. If the power fails, or if you unplug the laptop's mains power supply, the battery instantly takes over to provide a smooth continuation of power for as many hours as the battery's charge allows. Some Intel Centrino models can manage four to five hours when running non-demanding office applications, while 'desktop replacement' laptops may only last for an hour or two when running a sequencer and lots of plug-ins and soft-synths.

A bona fide desktop system with multiple drives and expansion devices consumes even more power, making it largely impractical to fit integral batteries for backup purposes. Instead, you'll need a stand-alone UPS, rated such that it can supply enough power to keep your gear going for the required length of time. Some people may be content to protect their PC for just a few minutes (enough to save whatever they're working on), while others may want to keep their entire studio powered up for the remainder of a session.

At the very least, computer hard drives should be allowed to power down gracefully, as modern hard-disk controllers tend to cache data that may be lost in the event of a power loss, causing possible file corruption. Failure to boot after a power cut is usually caused by such corruption or a damaged hard drive. UPS devices usually come with software that communicates with your PC via a serial or USB cable and guides it through an automatic controlled shutdown (generally the cheapest way of avoiding damage or data loss). Several computers can be controlled from one UPS by this means, and for more ambitious setups it's even possible to manage a UPS via an Ethernet network.

The UPS may instruct your PC to enter its Shutdown state, or go into Hibernation. In the latter state, the entire contents of RAM are saved as one big file on your hard drive, and when power returns the system reloads this file and carries on from where it left off. A Standby state is also a possibility (the PC drops into a low-power mode with the monitor and some other devices powered down, but able to quickly resume when power returns). The musician may need to consider these options more carefully than most users, particularly if a Firewire or USB audio interface is being used (see 'The Show Must Go On' box for more details).

Random PC Reboots
PCmusician 4 Sandra
Random reboots may be due to a RAM problem, so running some memory tests like these in Sandra's Burn-in Wizard is a useful check.
Spontaneous reboots can occur as a result of viruses or using elderly driver versions. However, more common reasons are hardware-related. Faulty RAM is one possibility, especially if it wasn't handled carefully during installation. The easiest way to test your memory, to eliminate this possibility, is to run a freeware utility such as Memtest86 (www.memtest86.com) or the two memory benchmarks from Sisoftware's Sandra Burn-In Wizard for at least several hours. Alternatively, temporarily remove or replace the RAM to see if the problem goes away. RAM timing could also be an issue, so avoid overclocking and try reducing the memory speeds in the BIOS.
A poor-quality power supply (or one that's running near to 100 percent capacity) is another possibility, as is overheating, particularly of some CPUs, so check internal temperatures in your BIOS or with a suitable Windows utility to make sure. Even bad contacts can be a cause, so rule this out by re-seating your expansion cards, RAM, CPU and so on, and unplug/re-plug all the internal cables, which should help to clean all the connections.

Specifying A UPS

Although there's not really such a thing as a 'typical' power cut, 90 percent are said to last under five minutes and 99 percent less than one hour, which may make it easier to choose a suitable UPS. Deciding on the VA (Volt-Ampere) rating you will need your UPS to have is simply a matter of deciding which of your gear needs protecting and then totting up the VA ratings that you should find somewhere on the equipment rear panels. Many PCs will be happy with about 500VA, although it's safer to over-specify if you can afford it, as computer and audio gear can draw significantly greater peak currents.

It can be a confusing business trying to find the most suitable UPS, as there are several basic types. The cheapest type is the Standby (off-line) device that makes no attempt to regulate the mains supply while it remains within certain pre-defined limits, and which only switches its inverter (the circuitry that converts DC from a battery into an AC output waveform) on-line after a short break, of typically several milliseconds, in the mains supply, or if the voltage varies significantly from its nominal value. Its normal output waveform is often a square wave. Such UPS supplies are available for loads between about 350VA and 1kVA, and are ideal for keeping your PC going during a power cut if you don't want to spend too much money.
PCmusican 3 UPS
An uninterruptable power supply with power conditioning needn't be expensive. This line-interactive Riello Galatrek Plug Dialog 350 model could supply the average PC for several minutes in the event of a power cut, for under £50.

The next step up is a line-interactive UPS. This type of device offers some 'conditioning' of the mains supply, to provide a clean, stable output voltage, free of spikes and electrical noise, that is normally either a sine or stepped wave. Again, this type of supply switches to its inverter circuitry only on mains failure, after a few milliseconds. They're available with power ratings from 500VA to to 5kVA and are suitable if you regularly notice your lights dimming, you suffer from incoming spikes, or you want to prevent your PC from crashing because of poor mains quality or power cuts. However, their output waveform may not suit high-quality audio gear such as power amps, if you want to use such a UPS to power your whole studio, and you may hear an audible click during the change from mains to battery power. Prices for off-line and line-interactive supplies range from £50 to £300, depending on power rating and battery duration.

The ultimate solution (and, therefore, the most expensive, starting at about £350) is an on-line UPS, where the inverter circuitry is permanently in circuit, powered either by the mains or from the battery when mains power isn't present. No audio changeover clicks will be heard and the output waveform is a true sine wave, mostly cleaner and more stable than the incoming mains supply, and regulated to much closer tolerances. This type of UPS is normally the only one of the three that offers an automatic bypass in the event of a fault condition, so your gear should carry on regardless to the end of the session, when you can arrange to get the UPS repaired. It can also be used for 50/60Hz frequency conversion when powering foreign gear. An on-line UPS is the only type of UPS I would recommend for powering studio audio gear as well as your PC. They're available with power ratings of between 700VA and 800kVA.

The length of time for which a particular UPS can run when the full rated power is being drawn from it is, of course, dependent on battery capacity and thus varies greatly from model to model, although some have optional extra battery packs that can extend the nominal time. Recommended UPS manufacturers include APC (www.apc.com), Emerson-Liebert (www.emerson-ups.co.uk), MGE (www.mgeups.co.uk) and Riello Galatrek (www.riello-ups.co.uk), all of whose products can be bought from a variety of computer and electrical suppliers. One of the best suppliers I've come across is UPS Systems (www.upssystems.uk.com/ acatalog/index.html), who specialise in supplying standby power and can provide advice, service and support.