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, March 26, 2014

Software Studios: The Next Generation

PC Musician


Technique : PC Musician
The totally software studio, with sound quality at least as good as that offered by studio hardware, is now more feasible than ever before. But what are the factors to consider if you're going to go completely 'soft'?
Martin Walker
pc musician header
You name it, they can model it: the studio in a PC comes ever closer.

A few years ago lots of PC musicians started to get excited about the possibility of being able to run all the audio and MIDI tracks required by a song, plus effects, on a single PC. After all, we were being offered lots of new software synths, samplers and plug-in effects, all claiming to sound as good as their hardware equivalents. At the time, the only thing holding this concept back was lack of CPU 'grunt' — it was just so easy for everything to grind to a halt when a decent reverb plug-in could consume 50 percent of your entire processing capability. However, the arrival of dual-core PCs has resulted in a colossal leap in processing power, so is it now time to sell our remaining hardware and go totally 'soft'?

Audio Quality Benefits

Until a few years ago, most musicians started their musical journey with an instrument, such as a guitar or keyboard. When they wanted to record some music, they bought a reel-to-reel tape deck or cassette multitracker. Once they had two two or three instruments to record, they bought a small mixing console, and perhaps a microphone or two for recording vocals or other acoustic instruments. The mixer allowed them to connect all these sources, tweak their sounds using its EQ controls, plug in hardware effects units to add reverb, chorus, and so on, and then mix the sounds together, using the channel faders, to produce the final stereo output.
pcmusician 1.s
The simplest possible audio path requires a single stereo pair of cables between the output of your audio interface and your active speakers (or power amp and passive speakers), but relies on your audio interface providing an analogue output-level control to easily adjust speaker volume.

pcmusician 2.s
If, like many audio interfaces, your model doesn't provide a handy analogue level control, you'll really need some sort of monitor controller, connected as shown here.

pcmusician 3.s
Even if you want to record multiple hardware synths and vocals or acoustic instruments, as long as your audio interface provides enough inputs you won't necessarily need to buy a hardware mixing console.

pcmusician 4.s
As long as you have some spare inputs and outputs you can plumb in external effect boxes if you need to, although they will be subject to buffer delays (see main text).

Today, many musicians start this process in reverse, by first buying their PC and then looking at what needs to be added to it for making music. Ironically, freed from the preconception that a mixing console is required, many adopt the much simpler approach of relying totally on the facilities of their audio interface, which may result in better audio quality. When I started recording my music, many years ago, I learned the hard way that even keyboards and hardware synths can sound significantly better if you listen to them plugged straight into a power amp/speakers rather than first passing them through a budget mixing console, as handy and versatile as these are.

Every device you pass your audio through affects its sound quality slightly, even when EQ controls are set to their central positions or bypassed. Some expensive devices can add some desirable 'fairy dust' to the proceedings during recording, but we want playback to be as neutral and transparent as possible, so that we can mix our songs knowing that they will 'travel well' and essentially sound the same on other systems.

Thus one of the incidental advantages of recording directly to the inputs of your audio interface and playing back directly from its outputs to a pair of loudspeakers or headphones is that the audio signal path often ends up considerably less complex, and this may mean that the end result sounds cleaner and more transparent. Some musicians also find that replacing a large mixing desk with a comprehensive multi-channel audio interface gets rid of nasty early reflections between their speakers and listening position, thus improving the acoustics of their studio! You can see various suggested setups with simple audio paths in the diagrams opposite.

Soft Synths: Poor Relations?

If you're considering creating all your music inside a PC, it's important to make sure that the software synths and plug-ins you choose provide audio quality on a par with their hardware counterparts. When I first broached the subject of the software studio, way back in SOS November 2000, many musicians remained unconvinced that a software version could ever sound as good as the 'real thing'. However, my view remains exactly the same as it did then: there's absolutely no fundamental reason why a software synth should sound any different from a hardware synth containing DSP chips.

My only reservation at the time was that, unlike developers programming for dedicated DSP chips, who could splurge processing power on a few luxury plug-ins, those designing for native (computer) processing had to keep overheads as low as they reasonably could, to avoid accusations that their products were 'CPU hungry'. This could result in corner-cutting. However, whereas in 2000 we were getting excited about 750MHz processors, we now have dual-core versions wherein each core is clocked over four times as fast. And with this ability to compute eight times faster, cutting corners can become a thing of the past.

However, one area does catch people out. While many hardware synths incorporate multi-effects that result in all their presets sounding polished and complete (but which sometimes have to be disabled because they can be overpowering when heard in the context of a complete mix), software synths can sometimes sound raw in isolation (other descriptions I've noticed on forums include "tinny" and "thin", or just "bad", but they are all referring to the same thing). This is simply because their developers expect that you'll mostly be using plug-in effects to mould them to perfectly fit your songs.

Moreover, polished tracks generally require a lot of creative input, so it's perhaps not surprising that some beginners feel disappointed when they create a track featuring a clutch of soft synths and it sounds a bit flat in comparison with commercial music. This isn't because software "sucks"; it's more the case that a little more effort may be required in honing the sounds and effects.

Monitor Controllers: Some Options
If your sound creation is done entirely in software, the very simplest hardware setup is to connect the output of your PC's audio interface directly to a pair of active monitor speakers, or to a power amp and pair of passive speakers (see the first diagram on the previous page). With some acoustic treatment in your studio, the results obtainable via this simple audio path can be superb.
However, such a minimalist approach has one possible drawback: your audio interface really needs an analogue output-level control so that you can easily adjust the speaker volume. Using the digital faders found in the software Control Panel utilities included with many audio interfaces not only throws away digital resolution, but also runs the risk of a full-strength signal accidentally reaching your speakers or your ears. Some active speakers do have level controls, but jumping up and down to adjust them is tedious, especially when there are usually two controls (one on the back panel of each speaker) whose positions you have to keep in sync to maintain a balanced stereo image.
pcmusician 8.s
Few audio interfaces provide an analogue output-level control, so if you dispense with a hardware mixer you may need a monitor controller to provide this function.
Sadly, few audio interfaces currently provide a dedicated analogue output-level knob, so many musicians are instead buying a 'monitor controller' to perform this function. Recommended models include the Samson C-control (www.samsontech.com) for about £80, Mackie's Big Knob (www.mackie.com) for about £250, and the £400 Presonus Central Station (www.presonus.com). All offer three sets of switched outputs so that you can connect up to three pairs of speakers to hear how your mixes translate to other systems, plus talkback functions with built-in microphones, allowing you to talk to musicians in your live room, if you have one. The Presonus model also features a totally passive audio path (no power supply required, and containing no transistors, FETs or integrated circuits), so it can't add any background noise, distortion or other colouration to your audio as it passes through — although the relatively simple active path of the other two should only have a tiny effect on your sounds.
If you don't have multiple speakers or require talkback functions there are several simpler products available, all of which feature high-quality passive components. The £99 PVC (Passive Volume Control) from NHT (www.nhthifi.com) features a clearly calibrated, large rotary knob in a small one-third-rack width or desktop unit. It allows precise 1dB level adjustments over a 40dB range and features completely balanced operation via its Neutrik combo XLR/TRS input jacks and XLR outputs. Another, slightly more sophisticated, alternative is SM Pro's M-Patch (www.smproaudio.com). Once again, this one costs about £99, and it has identical I/O socketry, but also offers two switched inputs, each with individual rotary level controls but smaller knobs, and two switched outputs, all housed in a half-rack-width case. SM Pro have also just launched a new M-Patch 2, at about the same price, with the same passive main signal path, but with larger knobs, additional stereo/mono and mute switches and a budget headphone amp with its own level control.
While we're talking about hardware, there's also a lot to be said for the dedicated control surface. A knob for each function makes real-time sound-tweaks far more intuitive. Once audio reaches your MIDI + Audio sequencer, you can use one of the many available control surfaces to do your mixing, sound editing, synth tweaks, and so on, just like you did with hardware.

Software Studio Advantages

The biggest advantage of the software studio is undoubtedly that each song is stored along with all the sounds it uses, plus effect settings, mix settings, and so on — in other words you have total recall, just like really expensive analogue mixing desks with motorised faders that remember their positions. Your entire sound library also resides on the computer, making it very easy to audition many different sounds with a few mouse clicks, instead of laboriously loading sample and synth banks into your hardware. Nearly all software sequencers also let you capture real-time movements of on-screen faders and other controls, alterations to sounds, or tweaks to plug-in effects. This automation goes far beyond what was possible a few years back, and enables far more creative possibilities.

Being able to memorise absolutely everything means that you never have to worry about losing track of a song — even if you have to leave it for months, when you come back to it every setting and sound will be perfectly preserved. This is great for not only the home studio owner, but also for professional bands, producers and recording engineers. Anyone who requires lots of different mixes and remixes to suit different markets round the world also benefits: they can load up any song from any album within seconds, start on a new version and save it under a different file name, without disturbing the original.

The Other Side Of The Coin
It's only fair to point out that the rise in popularity of the software studio has had some repercussions in the wider musical world, both good and bad. Those who have started to replace their old hardware synths with software equivalents and now want to sell the hardware to make more space in the studio will find that second-hand prices seem ridiculously low (I just can't bear to part with my immaculate Korg M1 for £50, for instance). On the other hand (as you'll see if you visit the SOS Vintage Gear forum), there are still plenty of musicians who swear by hardware rather than at it, so now's the time to snap up lots of bargains.

One-box Songwriting

Many PC musicians prefer the all-in-one approach of 'software studio' applications such as Propellerheads' Reason, Cakewalk's Project 5, Arturia's Storm and Image Line's FL Studio, where a single programme contains a virtual version of everything you might find in an electronic music studio, including synths, sample players, drum machines, effects, a sequencer to record and play back the notes, and an audio mixer to mix them all together. However, for a more open-ended approach, the flexible MIDI + Audio sequencer still reigns supreme, Cubase and Sonar being probably the most popular on the PC.

Some PC audio applications, such as Gigastudio and Audiomulch, prefer to run in stand-alone mode rather than inside a sequencer, so if you have to run them alongside a MIDI + Audio sequencer you'll have to find a way of combining their audio outputs. The traditional way is to allocate the final stereo output of each application to a different stereo output on your audio interface and then plug them into different channels on a hardware mixing console (I've worked in this way for years).
pcmusician 5.s
With the audio quality from soft synths such as Arturia's Moog Modular V being so good, is there any longer a need to worry about replacing hardware with software?

However, there are various options if you don't have a mixing console and want to keep your signal path as short as possible. One is to buy an interface with multi-client drivers that allow different applications to be allocated to the same pair of stereo outputs. You can't always tell this is possible from the documentation, but I've done it with quite a few interfaces over the years.

Other interfaces may provide several stereo playback channels that can be individually allocated to different applications, but have a DSP mixer utility that lets you mix these playback outputs to emerge from a single physical output socket on the interface. Examples of these on the PC include most models from Edirol, Emu, ESI, M-Audio and Terratec. A few, like Echo's Mia, provide several virtual outputs that you can allocate to different applications and then mix, to emerge from its single physical stereo output.

The only disadvantage of these approaches is that although you hear all the applications mixed together through your speakers, at some stage you'll need to record this combined output. Some interfaces provide very useful internal loopback options, the best known being the Direct WIRE utility functions of the ESI range (see screen above), which allow you users route the inputs and outputs of any of its MME, WDM, ASIO or GSIF driver formats to each other, so they can record the output of one application in another, to capture it as an extra audio track.

Other interfaces with integral 'zero latency' DSP mixers may let you re-record the output of their mixer, so you can capture any combination of the software playback channels from different applications, plus additional signals arriving at the interface inputs, as a new 'input' in your sequencer. Failing this, you can nearly always loop cables from the interface outputs back to its inputs, to record the combined signal, although if you have to rely on analogue I/O your final audio mix will have to pass through both D-A and A-D converters, lengthening the audio path and compromising audio quality slightly.

If your particular interface doesn't provide any of these options, there may yet be another internal mixing solution, this time thanks to software. Rewire is a technology introduced by Propellerheads that's now included in quite a few audio applications, including Ableton Live, Adobe Audition, Apple Logic Pro, Arturia Storm, Cakewalk Sonar and Project 5, Digidesign Pro Tools 6.1, MOTU Digital Performer, Propellerheads' own Reason, RMS Tracktion, Sony Acid, Steinberg Cubase and Nuendo, and Tascam Gigastudio 3. If your audio applications support Rewire, one can be the 'synth' to generate sounds, while the other becomes the 'mixer' and receives one or more output streams from the synth while simultaneously locking them in perfect sync.

Software Studio Monitoring
pcmusician 7 Saffire.s
For the very simplest audio path, look for an audio interface that provides a dedicated and extremely handy analogue output level control, like the Focusrite Saffire shown here, which also offers built-in DSP effects that you can use during recording, with no latency.
Nowadays, nearly all audio interfaces offer monitoring functions, so you needn't be too apprehensive about abandoning a traditional hardware mixer when 'going soft'. So-called zero-latency monitoring basically lets you hear the signals you're recording almost instantly, by providing a direct link between the output of the audio interface's A-D converters and the input of its D-A converters. Incoming audio is therefore only subject to conversion delays, which generally amount to about 2ms (1ms for each converter). This is negligible, being identical to listening to audio from a loudspeaker just two feet away, and even vocalists shouldn't find many problems listening to their voices on headphones with such a short delay.
Unfortunately, if you want to add plug-in effects to the signals being recorded (for instance, many vocalists like to hear some reverb on their performance to help them with pitching, while electric guitarists may want to pass their instruments through distortion or amp-modelling plug-ins), you face the additional path of getting the signals into the PC's CPU and back out again. With a fairly typical audio-interface latency setting of 6ms, the total delay becomes 14ms (1ms through the A-D converters, 6ms through the interface's input buffers, a further 6ms through its output buffers, and a final 1ms from the D-A converters).
This 14ms delay is on the borderline of acceptable for the majority of fretted and keyboard instruments, but way above the comfort zone for vocalists. You can try reducing your audio interface buffer size to 3ms, for a total path delay of around 8ms, while some musicians even try a 1.5ms setting, for a total delay of around 5ms. The only disadvantage of this drop in latency is that your CPU overhead may rise considerably.
One way around this situation is to choose an audio interface with built-in DSP effects, such as Focusrite's Saffire or one of Emu's DAS models. The beauty of these effects is that they also have zero latency, and you can apply them to vocals and instruments when monitoring, even if you intend to actually record the signals dry. Another clever twist can be found in M-Audio's Firewire 1814 interface, which features an Auxiliary buss that you can either use for setting up a separate monitor mix to send to headphones, or for adding external hardware effects to live inputs.

Outside Help

Even if you want to generate the bulk of your sounds using software applications, you may still want to occasionally plumb in some hardware. If you've got a hardware synth that offers unique sounds, you can record its output directly into your PC's audio interface as an audio track. If you've got several such synths, you simply need an extra mono or stereo input for each one (see the third diagram on page 161) and can then record or audition them all simultaneously, in real-time, with added plug-in effects.
pcmusician 6.s
If you want to run several music software applications side by side, there are various ways to combine their outputs. One of the most elegant is ESI Pro's Direct WIRE utility, which lets you plumb the output of one application into the input of another, allowing one app to record the contribution of the other.

There may also be times when you want to treat one or more software-generated tracks with hardware effects that you can't duplicate in software — perhaps a favourite EQ, compressor or reverb, for instance. To connect external effect boxes, you once again need some spare inputs and outputs on your audio interface to act as send and return channels (see the last diagram on page 161). I covered this topic in more depth back in SOS March 2004, in a feature on using hardware effects with your PC software studio.

If you like the idea of the software studio but want to give your PC a helping hand with effects processing, you could consider installing one or more dedicated audio DSP cards, such as the TC Powercore or Universal Audio UAD1, inside your PC, to provide 'hardware quality' effects that simply appear to your PC as extra VST plug-ins.

If you find that a single PC still doesn't have enough clout to run all the software synths and plug-ins you fancy, you could create a PC network to share the load, as described in SOS August 2005 in my feature on spreading your music across networked computers. One of the options outlined there, using FX Teleport (www.fx-max.com), relies on LAN (Local Area Network) connections to ferry both MIDI and audio to your secondary and additional PCs, with all the mixing still being carried out digitally by your main PC sequencer application, so your analogue audio path can still remain simple for optimum quality.

Finally, with sufficient spare I/O channels on your audio interface you could even patch in an analogue summing mixer such as the Audient Sumo (reviewed SOS February 2006), to replace software digital mixing of all your audio channels with analogue hardware mixing, while still avoiding a traditional mixing console. However, I suspect this is going too far. In most setups your audio will sound significantly better if you instead spend the money you might have spent on a summing mixer on an interface with better converters in the first place, and keep the shortest possible analogue signal path.


Alesis i02 Express - Musikmesse 2010

USB Ports

PC Notes


Technique : PC Notes
All USB ports are not created equal, as PC Notes finds out this month...
Martin Walker

Further to my PC Musician feature concerning Windows XP Tweaks in last month's SOS, you may remember that, as an experiment, I carefully disabled a total of 46 Windows Services on my music partition, according to a list provided by a well-known commercial builder of music PCs. This effort resulted in absolutely no change in CPU overhead, a fairly insignificant release of just 8MB of system RAM and no measurable improvement in song performance, confirming my opinion that tweaking Services is a pointless exercise.

I also warned of possible instability as a result of tweaking Services. Well, I left my super-clean music partition with these tweaks in place, and during the next week found time for several long sessions working on some of my own songs. While my music applications all booted up correctly and seemed to run as before, during each session I experienced a number of infuriating crashes, particularly with Gigastudio 3, and I eventually found a sequence of actions that would crash the Gigapulse reverb window every time, with an application error that required a reboot. Cubase SX 3 seemed less affected, although on the second session it also crashed badly (previously a rare occurrence on my PC).

Fortunately, I'd created a hard drive image immediately before the Service tweaks, so I could restore my partition to its previous state. As soon as I did so, my application crashes disappeared, and I was once more able to work with Cubase SX rewired to Gigastudio over an eight-hour session, without any bad behaviour at all from my PC.

So let me reiterate my previous advice from last month's feature: "Disabling various Windows Services in an effort to further streamline your PC's audio performance is, in my opinion, pointless. Moreover, if you don't know exactly what you're doing, your system can become unstable or even refuse to boot up afterwards." Let me now add to this that even if you do know what you're doing, and carefully follow a list published on the Internet, you can still end up with an unstable PC. Just say no to Service tweaks!

PC News In Brief
pcnotes 3
If you want to ensure that your tracks are vinyl-compatible, run them through the freeware Basslane, which collapses bass frequencies below a certain threshold to mono.
New plug-in keeps you in the groove: Basslane, from developer Otium FX, is a freeware VST plug-in for PC that should interest anyone who's having their tracks pressed to vinyl, or is simply concerned that the bottom end of their music lacks definition. It's a low-pass filter that lets you collapse the stereo width of all frequencies below a user-defined threshold down to mono, to prevent the stylus jumping out of the vinyl groove. Many musicians are also convinced that content below about 300Hz should be mono, to retain low-end punch. At the mixing stage you can simply pan your basslines and kick drums to the centre, but Basslane is a handy tool for letting you hear the difference on a track in progress, and it's even more useful if you're presented with a pre-mixed track for mastering that has wide bass. Of course, the harmonics of the affected instruments may extend higher than the filter cutoff and remain in stereo, but you can audition the 'before and after' effects of the treated part of the spectrum to check.
Freeware made easy: After a three-year gap, Mark Hadley's Databaseaudio web site is finally up and running again, with its incredibly comprehensive lists and links to freeware music applications, plug-ins and instruments. The majority are for the PC Windows platform, although there are some for PC Linux and Mac. Each of the hundreds of one-line entries contains just enough information to whet your appetite, and they are displayed 20 to a web page, making quick scanning very convenient. You can also view the contents sorted by Name, Developer, Most Popular, or via a set of relevant categories. I always found this site incredibly useful in the past, and I'm well pleased to see it back in circulation.
SX by the book: Steinberg's Cubase SX PDF manual is certainly comprehensive, but it could never really be described as a good read. So given the number of SX queries we get on the SOS PC Music Forums, I can thoroughly recommend Simon Millward's excellent Fast Guide To Cubase SX book, whose third edition has just been published by PC Publishing (ISBN 1 870775 98 8) at £19.95. Although it weighs in at a massive 476 pages, Simon makes its contents extremely digestible, with plenty of practical advice and suggestions covering everything from setup, MIDI and audio recording, editing, effects, processing, mixing, mastering, automation, surround sound and the tempo track, to synchronisation with other gear. This latest edition also covers the new features of Cubase SX 3, as well as featuring all sorts of revisions and additions liberally sprinkled throughout the text. I've already experienced several 'well I didn't know that' revelations that have streamlined my Cubase experience. Highly recommended!

USB Shenanigans

This month I also had an incredibly frustrating experience while attempting to install a new USB peripheral, so just in case it ever happens to you, here are the gory details. Interested in on-body printing of CD-R disks, I ordered a Canon PIXMA iP4200 USB 2.0 printer — a bargain at £60 including VAT (although printer cartridges for it are expensive).

I fitted the print head and a set of ink tanks, and then followed the driver installation instructions to the letter, only plugging in and then switching on the printer when asked (to bypass Window's own 'New Hardware Found' regime). However, as soon as I did so, up popped the Windows message 'USB Device Not Recognised (one of the USB devices attached to this computer has malfunctioned, and Windows does not recognise it'.
pcnotes 1
If you ever see this error message when you plug in a USB peripheral, don't assume it's faulty — it may be your choice of USB port that's causing a problem.

I replaced the USB cable, just in case it was faulty, but there was no change. I then plugged the printer into another spare USB port, still with no success. Just in case both these USB ports were faulty, as a test I plugged a USB memory stick into them, which worked perfectly. I followed all the fault-finding advice in the Canon PDF manual, but the printer stubbornly refused to be recognised.

At this point I was almost convinced that the printer must be faulty, but I persevered, and tried installing its drivers on my laptop. Success! The printer was recognised first time and printed test pages perfectly. Back on my desktop PC, I reorganised my other USB peripherals so that I could try the printer in yet another port, and this time it worked perfectly, but still refused to work in the first two ports I'd tried. The only difference was that the port that worked was a captive one mounted on the motherboard, while the two that didn't were on a backplate attached to one of the motherboard's headers via a short internal cable. Bizarre!

At this point I remembered some similar behaviour a year or so ago, when a different USB memory stick wasn't recognised at all when plugged into my desktop PC's backplate USB ports, but worked perfectly on my laptop. Armed with this new knowledge, I plugged the stick into a captive desktop USB port and it too was recognised!

Given that this USB backplate assembly was bundled with my Asus motherboard and consists of just a few inches of ribbon and no active components, I found it very surprising that its ports don't provide performance identical to the other USB ports. However, you have been warned: if you ever encounter problems with a new USB device not being recognised at all, or being recognised and declared faulty, make sure you try a captive port before throwing in the towel.

Unfortunately, my relief was short-lived: my new USB printer still wouldn't print CDs properly, so it had to be sent back for a replacement. The only reassuring thing to come out of the whole sorry affair is that I can recommend the company I bought the printer from, for their professional tech support and their prompt and efficient returns policy. Take a bow Scan (www.scan.co.uk), whose employees had no idea who I was, or that I'd reviewed one of their music PC systems in SOS.

The Centrance Latency Test Utility

I notice plenty of musicians claiming that their audio interfaces manage a latency of 1.5ms, when the true figure is closer to 3ms. The reason for this confusion is that the 'real world' latency not only includes the interface buffer but also the delays due to A-D and D-A converters, plus any overhead caused by extra DSP functions or buffers on the interface.

If you send a short audio pulse from your PC sequencer to your audio interface output, through an audio loopback cable connected between its analogue output and input, and then back in through the audio interface inputs, you can measure the round trip, as I described in SOS September 2002. However, a new utility from Centrance automates the whole process, making it far quicker and less prone to user error. This handy ASIO Latency Test Utility (LTU) is a free download from their web site (www.centrance.com/products/ltu).
pcnotes 2
Download this handy utility from Centrance and you can measure the 'real-world' latency of your audio interface. Here's a typical example, where the buffer size/latency of my Echo Mia soundcard is reported at 5.8ms inside software applications but the expected 11.6ms output/input round trip actually measures 14.42ms, due to converter and DSP extras.

Centrance claim accuracy within 0.5ms, but I found that my audio interfaces provided very repeatable results often to single-sample accuracy. Once you've chosen a buffer size and sample rate, and clicked on the Measure button, you can subtract twice the buffer size from the result to reveal the 'extras', which should be independent of buffer size. For instance, with a buffer size of 264 samples (6ms at 44.1kHz) my Emu 1820M measured a path length of 628 samples (14.24ms). After subtracting twice the buffer size from this total, to remove the input and output buffer contributions, you end up with a fairly typical 100 samples (2.2ms at 44.1kHz) for 'extras'. This, to all intents and purposes, is your 'zero'-latency delay (zero-latency monitoring connects the output of the A-D converter internally to the input of the D-A converter).

So far, such results may seem largely academic, but other interfaces may reveal more interesting facts. For example, the extras on my Echo Mia measure 125 samples (2.83ms at 44.1kHz), which, as I explained in SOS October 2002, comprises 31 samples for the A-D converter, 30 samples for the D-A converter, and a hidden 32-sample DSP buffer on both outward and inward journeys, for PCI-buss efficiency.
Some interface manufacturers are quite open about such hidden buffers. RME, for instance, employ a 64-sample 'safety' buffer (which would add just 1.45ms at 44.1kHz) on their Fireface, to ensure smooth playback. This is because, in contrast with PCI soundcards, Firewire interfaces lack DMA (Direct Memory Access) support. However, other manufacturers don't reveal such information, so it's quite possible that an interface that musicians find they can run successfully with a 64-sample buffer size does so because it has extra DSP buffers on the interface itself, that more than double the true latency.

Of course, the most important thing is to have a rock-solid interface, but such techniques do mislead the average musician, which is why I intend to use the Centrance LTU to reveal 'hidden extras' in my future interface reviews.


Tuesday, March 25, 2014

Tonelux - Musikmesse 2010

PC Musician: XP Tweaks For Music

The Audio Tweaks That Work - And The Ones That Don't!


Technique : PC Musician
Windows XP works better for audio than any other Windows OS so far, but musicians still seek those ultimate go-faster tricks, so this month we bring you a guide to those that are worth doing and those that are worth avoiding.
Martin Walker
pcmusician 1
In this split personality screenshot, will the left-hand or the right-hand Windows setup run faster? Or will it not make any difference at all with a modern PC? Read on to find out...

Unlike previous versions of Microsoft's Windows, Windows XP works pretty well straight out of the box with audio applications, and I only recommend three essential adjustments. Nevertheless, musicians still regularly ask me for a comprehensive list of 'go-faster' tweaks, and look elsewhere when I don't offer one, determined to make their PCs run faster by fiddling 'under the bonnet'.

You'll certainly be able to find lots of web sites offering Windows performance tweaks, many written for mainstream users and a few specifically for musicians, yet many of the tweaks they offer will result in no measurable improvement in audio performance, and some may make your PC unstable or even prevent it from booting up.

Nevertheless, many musicians are obviously still convinced that XP will benefit from such snake oil, and since I prefer not to have to send SOS readers and forum users elsewhere for advice, I decided to write this feature, which will explain in some detail the tweaks that work for musicians and why they do, as well as covering the ones that are unlikely to make any difference — including those that are potentially dangerous unless you really know what you're doing.

Some Windows History

It's not hard to see why musicians search for tweaks for Windows XP — after all, its predecessors (including Windows 95, 98, ME and 2000) often needed serious tweaking before audio applications would run smoothly with them. This was largely because most mainstream applications, such as those for word processing, accounts and Internet browsing, generally involve a burst of CPU activity followed by some idle time while the user considers what to do next, so it made the most sense for Windows to react as fast as it could to user input, but hang on until the idle times before updating files on the hard drive and so on. By contrast, musicians require from their PC almost continuous streaming of audio data, coupled with almost continuous CPU calculations for real-time plug-in effects and virtual instruments. In other words, mainstream applications focus on user input, while audio applications place far more emphasis on background tasks.
By the time Windows XP was released, the 'multimedia' PC market was far more important to Microsoft, partly since PC games had become so much more popular and sophisticated, and partly because many businesses were perfectly happy with Windows NT or 2000. So it was important that XP be capable of delivering smooth 3D graphics, background music and sound effects. Obviously, these enhanced capabilities benefited the musician.

Essential Tweaks

Only a few basic changes are needed to ensure smooth audio performance with XP, so let's discuss them first.

Change Processor Scheduling to 'Background Services'

Navigate to the Advanced page of the System applet. Click on the Performance Settings button, select its Advanced tab and click on 'Background Services' for Processor Scheduling (see top pair of screens).
pcmusician 2
This is one of the few essential Windows XP tweaks, since it benefits the performance of ASIO drivers, which run as background tasks.
For anyone using ASIO drivers (and nowadays that includes just about every PC musician), this is the most essential tweak of all, because ASIO drivers run as background services in Windows. Music software and hardware developers Steinberg rely on this setting to ensure low latency without dropouts, and you may be able to run your audio interface at a significantly lower latency after this tweak.

Switch Off Power Schemes

In the Power Options applet, choose the 'Always On' power scheme. Change the settings for monitor and hard disk turn off and System standby to 'Never', so that your PC doesn't unexpectedly conk out during song playback (see screens below).

The wrong setting here can cripple the processing performance of many modern PCs, because of over-clever power schemes that throttle your processor to a slower clock speed to keep it cool and, in the case of laptops, prolong battery life. In theory, such throttling schemes should let your CPU clock speed ramp up smoothly on demand, but in practice there's a short time lag before this happens, sufficient to result in audio interruptions and, therefore, clicks and pops. The only safe way to prevent this happening is to make sure your processor always runs at its top speed.

I mentioned this tweak only a couple of months ago in my 'Overcoming Overload' feature (see SOS July 2006), but make no apologies for including it again here, as so many musicians struggle on with poor audio performance because their processor is running at a fraction of its top speed. By the way, the 'Always On' setting should ensure maximum CPU speed at all times (even when you unplug the mains PSU and run on internal batteries), but you should double-check this on the General page of the System applet, where the current clock speed is displayed (see screenshot on previous page). If it's not what you expect, choose a different power scheme and check again. Also make sure you've installed the latest throttling drivers for your PC, since the intricacies of power schemes can vary a little from model to model.

Disable System Sounds

Select the 'No Sounds' scheme on the Sounds tab of the Sounds and Audio Devices applet.
The bleeps, clicks, and other sounds that Windows uses by default to accompany such events as startup, log on and log off, new emails and the like can be helpful, especially for newcomers, but there's a good reason for musicians to disable them: most of the WAV files that Microsoft and other developers provide for such sounds have 22kHz sample rates. What now happens depends on the design of your soundcard and its drivers. My Echo 1820M seems immune, but if a 22kHz system sound cuts in when my Echo Mia card is playing back a 44.1kHz project through its ASIO drivers in Cubase SX, the Cubase audio files suddenly jump an octave higher and run at double speed, while soft synth outputs become extremely juddery. The Cubase engine has to be manually reset to cure these problems. Other musicians have reported songs dropping to half speed, or playback stopping altogether or suffering timing problems.
pcmusician 3
Always check on the General page of the System applet that your processor is running at its maximum clock speed (here my 1.4GHz Pentium-M laptop processor has been throttled down to just 598MHz). If not, choosing the 'Always On' Power scheme should ensure this on most PCs.

Unfortunately, even if you select the 'No Sounds' scheme, whenever you choose a new graphic Theme the system sounds annoyingly return to the Windows default sound scheme. In addition, a few applications ignore the 'No Sounds' scheme altogether and continue to force their own system sounds to use your interface. Examples include some Local Area Network (LAN) cards, spyware utilities and the Firefox web browser's Find function. To prevent this from happening, you can try using the 'Do Not Map Through Soundcard' option. Under the Hardware tab of 'Sounds and Audio Devices', select your audio interface from the list of devices, click on the Properties button, then on the Properties tab of the resulting pop-up window, and then finally on the Property button of this audio device. You'll see a 'Do not map through this device' tick box, which you should tick. On my systems, this makes no difference at all, but it may work for you.

However, if you really want to get rid of System sounds once and for all, it's quicker and more thorough to navigate to the Audio tab of 'Sounds and Audio Devices' and set the Default device for sound playback to something other than your ASIO audio interface, such as an integral motherboard sound chip. If you really must hear system sounds, you can connect the system audio output to some speakers, but I've diverted mine to my SW1000XG soundcard, which is now only used for its MIDI synth and doesn't have its audio outputs connected to anything, so I never hear system sounds from any source.

The only side-effect of this tweak is that other basic Windows audio applications, such as Media Player, will also have their outputs diverted, but you can override that, if you wish to, using the Options page to point to a specific audio device. The result of all this one-off effort? You'll never again hear a system sound unless you want to, and your main audio interface will be forever immune from Windows' interference.

Useful Tweaks

Some experts maintain that once you've turned off the system sounds, checked your Power scheme and set Processor Scheduling to Background Services, you don't need to tweak anything else. However, in my opinion, there are still a few things that are well worth doing.

Disable Taskbar Auto-hide

Right-click on a blank area of the taskbar. Choose 'Properties', and un-tick the box labelled 'Auto-hide the Taskbar' (above left).
Although you lose a little screen space by leaving the Taskbar permanently on display, your audio will no longer be interrupted each time the Taskbar is hidden or reappears.

Turn Off System Restore on all drives

Tick this box from the System Restore tab in the System applet.
pcmusician 4
Disabling the Taskbar's Auto-hide function will prevent your audio from glitching every time the bar is hidden or re-displayed.
By default, Windows XP runs 'behind the scenes', monitoring changes to your setup, including the installation of new drivers and software, so that if your machine develops a problem you can roll back to a previously saved restore point. However, musicians generally don't want the unpredictability of this extra overhead. Most of us prefer to use disk imaging software, such as Norton's Ghost, to save an accurate image of our entire music partition, at a time of our choosing.

Turn Off Automatic Updates

Select this radio button from the Automatic Updates tab in the System applet if your music PC isn't Internet-enabled. If it is Internet-enabled, instead select the 'Notify me but don't automatically download or install them' option. If you hear of a particular update file that will improve audio performance, you can still download and install it manually.

Disable Hibernation

From the Power Options applet, select the Hibernation page and un-tick the box labelled 'Enable hibernation'.

To enter this power-saving state, Windows saves the entire contents of your system RAM to a file on your hard drive, so that it can later restore your PC to exactly the same state. In the case of many modern music PCs fitted with 2GB RAM, this could take some time to save and restore. Hibernation can be handy, particularly on a laptop, but can also sometimes cause problems when USB and Firewire devices don't wake up properly before your sequencer, making it crash and require a complete and lengthy power down and reboot. So if you still want to attempt to use it, beware of these points.

Disable Fast User Switching

From the User Accounts applet, click on 'Select the way users log on or off'. Un-tick the 'Use Fast User Switching' box and then 'Apply Options'. This will ensure that if you have multiple users logging on and off your PC, they will be forced to close down their applications before they log off, so that there are none still running in the background and consuming system resources when you log on and start your audio ones.

Set Menu Speed to 'Maximum'

You can do this with a Registry tweak, but the safest and easiest way is using Microsoft's TweakUI utility (see screen above). Click on the Mouse setting in the left-hand pane. Pull the Menu Speed slider to its fastest setting and click the OK button. Then all cascading menus on Start menus and inside applications will appear instantly, rather than after an annoying delay.

Installing Windows XP
There are still people enquiring on the SOS Forum about whether they should buy Windows XP Home or the more expensive Professional version. The simple answer is that nearly all musicians will find Home perfectly adequate, since it supports a single dual-core processor. Only if your PC has more than one physical processor package will you definitely require the Professional version. The only other Professional-only feature that a few might want to consider is Remote Desktop, which lets you remotely control another PC as if it's in front of you. This feature is used by some specialist music retailers, including Carillon, to interrogate a customer's machine for fault-finding purposes.
As for the installation itself, there are still web sites recommending that you install Windows XP in Standard mode, but, as I explained in some depth in PC Notes February 2006, this is outmoded advice. Just leave it alone during the install and carry out the three essential tweaks I cover in the main text of this article.

Marginal Tweaks

Many tweaks are now a matter of user preference, since they make little or no difference to the performance of modern PCs, while others are simply to make your life a little simpler. Here are the main ones, along with some guidelines to help you make up your own mind whether to implement them or not.

Minimise Visual Effects

System applet, Advanced Tab, Performance Settings button, Visual Effects page, select 'Adjust for best performance'.

This will disable a whole clutch of graphic bells and whistles, the most important of which are the various animations — exploding windows when minimising and maximising, fading and sliding menus, buttons and boxes. These all rely on your computer's processor for the entire duration of their moves, and can therefore tip your PC over the edge when its CPU overhead is already near 100 percent running plug-ins and soft synths. I find the various animations annoying anyway, and I'm glad to see the back of them, although their overhead is arguably so tiny with modern processors that this tweak is largely optional.

However, 'Adjust for best performance' also disables various other features that are rather more useful and yet impose microscopic overheads. Some musicians still prefer the rectangular Windows Classic look, but you can reinstate the XP look, with its soft-sculpted windows and buttons with rounded corners, by switching to the 'Custom' button on the Visual Effects page and ticking the 'Use visual styles on windows and buttons' option.

While you're there, it's certainly also worth ticking the 'Smooth edges of screen fonts' option (which offers a considerable boost to on-screen legibility, without compromising performance), and 'Show window contents while dragging' (which makes re-aligning the multiple windows in modern sequencer applications a lot easier).

Remove Desktop Background Image

Select the Desktop page of Display applet and select '(None)' for the Background wallpaper setting.
In days gone by, this could reduce graphic overhead, but nowadays it's marginal, so whether you have a blank desktop or one with a pretty picture on it is rather up to you. Since the image is loaded into the RAM of your graphics card you won't waste any system RAM using a fancy image, but I still prefer the uncluttered look of a blank desktop, and when I'm making music my sequencer and other music applications fill my screen, so the desktop is nearly always invisible anyway. I do, however, choose a memorable colour for the desktops of each of my various Windows multi-boot partitions (green for General, mauve for Music, and red for Review) from the drop-down menu on the same page. Otherwise, it's easy to forget which partition you're currently running.

Disable Screensaver

To permanently disable the screensaver, just open the Display applet, navigate to its Screensaver page and select '(None)'.

It's not really necessary to disable screensavers nowadays, since even when they're running their processing overhead is tiny compared to the power available from a modern CPU, and before they kick in they consume no overhead at all. Nevertheless, since ASIO drivers run as background tasks, playing back a long song is regarded as 'no user activity' and will allow a screensaver to cut in unexpectedly. If you simply want to avoid this annoyance, just increase the 'Wait' time to a more suitable value.
pcmusician 5
Making cascading menus appear instantly by setting this TweakUI slider to its fastest setting is not an essential tweak, but it certainly makes my Windows XP experience a lot more pleasurable!

I recently adopted a third approach that takes a tiny bit of one-off effort to set up, but lets me start my chosen screensaver on demand. I find this invaluable when working on in-progress mixes, because replacing the visual clutter of the sequencer with something more relaxing enables me to concentrate on listening and more easily notice where changes are needed.

To do this, you first choose a screensaver from the drop-down list and adjust its settings for a restful display, using the Preview button. Click the Apply button so that these settings 'take', and then choose the '(None)' setting, as before. Next, use the Windows Search function to find the various screensaver files, by entering '*.scr' into the 'all or part of the filename' box. Then right-click on your choice and select the 'Create Shortcut' option. This will let you create a screensaver shortcut on the desktop, which you can launch at any time by using the Windows-D key-command and then double-clicking on the shortcut.

Disable Internet Synchronise Time

Navigate to the Internet Time page of the Date and Time applet and un-tick the option labelled 'Automatically synchronise with an Internet time server'.

Many people don't have any idea that their real-time system clock is, by default, synchronised to an Internet time server once a week, but it's a handy way to keep it accurate — assuming that you periodically connect your PC to the Internet, that is. If your music PC remains separate from the virus-ridden world of the Internet you might as well disable this function, as it won't work anyway.

Ignore Driver Signing

On the Hardware page of the System applet, click the Driver Signing button and select 'Ignore — Install the software anyway and don't ask for any approval'. Few audio developers pay Microsoft for the privilege of getting their products Windows Logo Tested, so this tweak will bypass all those annoying 'are you sure?' messages each time you install new software.

Startup and Recovery

In the Advanced page of the System applet, click on the Startup and Recovery Settings button, and under the System Failure section un-tick the box marked 'Automatically Restart'. If you do ever experience a system crash, this will prevent Windows from immediately rebooting. You'll then get a chance to read the on-screen information about the error, which may reference a particular system file, such as an audio interface driver, to help you track down the cause of the crash.

Disable Error Reporting

In the advanced page of the System applet, select the Advanced page, click on its 'Error Reporting' button and select the radio button labelled 'Disable error reporting'. In the event of an application fault, this will prevent your PC attempting to send a report to Microsoft.

Recommended Non-Windows Tweaks
Ironically, in their search for ever more obscure Windows XP tweaks that don't produce any measurable improvements, many musicians neglect very obvious system settings that may result in very significant benefits. Here are the main ones to check:
pcmusician 6
If your hard drives have, for some reason, dropped from their normal DMA mode down to PIO mode, their performance will plummet.
Check hard drive DMA settings: I described in detail how to do this in SOS July 2006, so won't repeat myself here, except to remind you that if Windows has, for some reason, neglected to set your IDE drives to the most appropriate DMA mode you may only manage seven simultaneous audio tracks instead of 70!
Reduce the sample rate: While running your projects at a 96kHz sample rate seems to be all the rage, your PC will be able to run less than half the number of plug-ins and soft synths that it can run at 44.1kHz, and less than a quarter as many if you're using 192kHz. Don't assume that a higher sample rate sounds better with your particular audio interface and sounds. Listen carefully for yourself, and if you can't hear a difference stick with 24-bit/44.1kHz, or perhaps 24-bit/88.2kHz, if this is an option.
Increase latency: Running your sequencer with a 1.5ms latency is handy when monitoring vocals via headphones, but a 6ms setting is more sensible during most recording work and will result in a significant reduction in CPU overhead. During mixdown, a setting of 12ms or above may let you run double the number of plug-ins and soft synths.
Disable unused sequencer I/O: Each input and output requires periodic polling, which is wasted effort if nothing is connected to them and will be particularly noticeable at low latency values. For instance, on my PC, enabling 16 ins and 16 outs with 2ms latency on my Emu 1820M interface results in a 10 percent CPU meter reading in Cubase SX, even before loading a project, while stereo in/out at 6ms barely registers at all.
Disable Superflous Tasks: Ideally, you should never connect your music PC to the Internet, so that you won't need to install anti-virus or spyware scanning utilities, firewalls and all the other paraphernalia that prevents outsider interference. However, if you simply must have Internet access, before making music you should disable any such software that scans files in the background, along with other superflous background tasks, since this will definitely impinge on sequencer performance, as well as consuming system RAM.

Pointless Tweaks

As mentioned in the introduction, there are quite a few tweaks recommended out there on the Internet that either do nothing at all or can seriously impair the performance of your music PC. For instance, ignore any references to vcache settings and conservative swapfile settings, since these don't apply to Windows XP.
Instructions to reduce the Color Quality of your display from the Highest (32-bit) setting down to 16-bit were only valid years ago, when more primitive graphics cards took more resources with higher bit settings. Nowadays everything tends to be optimised for the 32-bit settings, so you will reduce the performance of both hardware and software if this is changed. Also ignore any suggestions to reduce the hardware acceleration of your graphics card, since this will result in your CPU having to perform those duties instead.

Services are small applications, installed either by Windows XP or other software, that carry out a host of background tasks. Each one on your PC is either set by default to Automatic, so that it loads every time you boot up; set to Manual, so that it only gets started when needed; or Disabled. Disabling various Windows Services in an effort to further streamline your PC's audio performance is, in my opinion, pointless. Moreover, if you don't know exactly what you're doing your system can become unstable or even refuse to boot up afterwards. It may not be obvious from the description of a particular Service how it can affect the smooth running of audio applications. For instance, the Portable Media Serial Number Service, described as 'retrieving the serial number of any portable media player connected to this computer' will disable any dongles you have plugged in and therefore prevent many music applications from running.
Your requirements may also change over time. If, for instance, you've stripped Services down to the absolute minimum by disabling those that relate to networks, you'll have problems if you ever install the excellent FX Teleport utility that uses the network to ferry MIDI and audio data to other PCs.

Despite all the above, so many musicians seem keen to delve into the intricacies of the Service list that I decided to carry out a practical experiment by disabling all the Services I possibly could on my own music PC and then measuring any improvements I could find. Initially, the Windows Task Manager told me that as soon as I reached the desktop Windows was using 205.6MB of my system RAM, and that the only CPU overhead was the two percent taken by Task Manager itself.

After very carefully disabling every possible Service that a non-networked music-only PC wouldn't need (on my PC, some 46 Services in all), I rebooted. The total CPU overhead was still exactly the same, at two percent, but the system RAM consumption was now down to 197.6MB: a negligible improvement of just 8MB. To double-check for any audio improvement, I ran a song that had previously been struggling at the limits of both my CPU and RAM, even with an audio interface latency of 20ms, and found no improvement at all. I rest my case!


SE Electronics Gemini - Musikmesse 2010