Sonar Notes: ASIO Support; DitheringSonar NotesPublished in SOS May 2003 Technique : Sonar Notes
Although Cakewalk have been evangelising the WDM driver protocol, version 2.2 of Sonar adds -- surprise! -- ASIO support. Although this was announced in the context of allowing Sonar to be compatible with Digidesign's recently announced ASIO drivers for their hardware (Pro Tools HD, Pro Tools 24 Mix, Pro Tools 24, Digi 002, Digi 001, M Box, and Audiomedia III), I decided to test Sonar with Creamware's Power Pulsar board to see what would happen. I loaded up a Power Pulsar module routing I use with Cubase SX (with eight stereo ASIO 2 output busses and two stereo ins), opened Sonar and... nothing happened. I expected to see dialogue boxes, or a violent crash, or something until I had things sorted out, but there was no such disaster. I went to Sonar's Options / Audio / Advanced tab, clicked on Driver Mode, selected ASIO instead of WDM, and Sonar was ready to go. Using Creamware's hardware-assisted ASIO interface, the best latency possible was 1.5ms. However, the next lowest latency option, 2.9ms, put much less strain on the CPU so I've stuck with that. Re-amping In Sonar Wouldn't it be great if you could choose a guitar's amp tone while mixing down instead of being locked in to the tone you used while recording? Well it is great, and thanks to plug-in technology, fast computers, and Sonar's Direct Monitoring, it's possible as well. For years, engineers and guitarists have used a technique called 're-amping'. To do this, a guitarist splits the guitar signal in two: one feed goes direct to an amp, and the other goes straight into the recorder via a direct box. As the guitarist plays, the amplified signal is recorded -- but so is the straight signal, on a separate track. During mixdown, if the amp track sounds fine, that's great. But if not, the You don't have to click the Lasso Zoom button to zoom in on a selection; just select with the standard lasso while holding down the Z key. When you release the mouse, the window will zoom in on the selected area. Press Ctrl-Tab to navigate through the various open Sonar views. Double-clicking on most controls will reset them to their default positions. Sonar allows a new twist on the traditional re-amping concept. With older, slower audio interfaces, monitoring through plug-ins was impractical due to latency. However, with today's fast computers and improved drivers, the latency added by going through a plug-in running in Sonar, even when added to the conversion latency, can still be well under 3-4 ms. To put things in perspective, 3ms of latency is about the same amount of delay as if you moved your head a yard further away from your amp: not really enough to affect the 'feel' of your playing. In my experience, if the overall latency is less than 5ms, playing through a plug-in will not be a problem. In the range of 5-10 ms, you might find the amount of delay disconcerting. Above 10ms, this technique doesn't really work because your playing comes back to you like slap-back echo. In this case, I suggest using traditional re-amping techniques. You first need to set up Direct Monitoring within Sonar, so that you hear the guitar signal going through both Sonar and any plug-ins you've inserted in the signal path. Go to the Options / Audio / Input Monitoring tab, and enable the drivers you want to monitor in real time. This will be a subset of the drivers selected under the Drivers tab. While you're at it, read the warning at the bottom of the window! You don't want to have a blast of feedback in case what you're monitoring is somehow patched back into the input. Also, if you have a real-time monitor mixer function in your soundcard, disable it. You want to hear only the signal going through Sonar. Now create a track, select the appropriate input, and enable Record. Assuming the track has the correct input assignment, you should hear your guitar. Next, insert the amp or distortion plug-in of your choice into the FX field: IK Multimedia's Amplitube, Steinberg's Warp VST, and UAD's Nigel are three of my favourites, and the Revalver module included with Sonar does a creditable job too. Now you should hear your guitar through the plug-in, and if you have a fast soundcard with decent drivers, latency will be either very small or insignificant. But here's the best part: the key to what makes 'virtual re-amping' possible is that Sonar records the straight guitar signal to the track, not the version through the plug-in. This means you can process the guitar in any way you'd like during the mixdown process, including changing virtual amps, patching in high-quality reverb, or whatever. Although I've presented input monitoring in a guitar re-amping context, monitoring through plug-ins also has other uses:
Re-amping with Sonar has been a boon to my guitar playing -- check it out. To Dither Or Not To Dither Sonar can record and play back with either 16- or 24-bit audio resolution. For a given sample rate, 24-bit resolution takes up 50 percent more disk space than 16-bit resolution, but for some projects (such as acoustic music) the fidelity is worth it. On t Assuming you use 24-bit operation, what happens to the 'extra' eight bits when your music ends up on a 16-bit/44.1kHz CD? Before the advent of dithering, they were simply discarded (just imagine how those poor bits felt, especially after being called the 'least significant bits' all their lives). In a 24-bit recording, there are 256 different possible levels (the lower eight bits) between that 'on' and 'off' condition, but once the recording has been truncated, the resolution is no longer there to reproduce those changes. If you've heard a 'buzzing' sort of sound at the end of a fade-out or reverb tail with 16-bit resolution, that's because the least significant bit, which tries to follow the audio signal, switches back and forth between 0 and 1. This buzzing is called quantisation noise, because the noise occurs during the process of quantising the audio into discrete steps. Dithering adds random noise to the lowest eight bits of the 24-bit signal. This noise is different for the two channels in order not to degrade stereo separation. Therefore, the lowest part of the dynamic range no longer correlates directly to the original signal, but to a combination of the noise source and information present in the lowest eight bits. This reduces the quantisation noise, providing in its place a smoother type of hiss modulated by the lower-level information. The most obvious audible benefit is that fades become smoother and more realistic, but there's also more sonic detail. Sonar can dither 24-bit signals down to 16 bits. You can enable or disable dithering in two different places: under the Options / Audio / Advanced tab, tick or untick Apply Dither. Under Tools / Change Audio Format, if you select 16 bits, the dither box is enabled. However, I recommend that you usually leave dither unticked. The dithering used in Sonar is designed to make 16-bit files sound a little better, but adds processing time. It can also slow down real-time effects performance with slower computers. But perhaps more importantly, the cardinal rule of dithering is that you should not re-dither material that has already been dithered. Therefore, dithering is invariably performed as the very last step of the mastering process, which will probably not be done within Sonar. Let's consider various scenarios, and assume the delivery medium is a standard CD.
Here's one final caution: if you plan to crossfade files on your CD, make sure neither file is dithered. Crossfading the dithered sections could lead to artifacts; you're better off crossfading the two, then dithering the combination. Published in SOS May 2003 | Saturday 21st November 2009 December 2009
Click image for Contents
Other recent issues: Photos too small? Click on photos, screenshots and diagrams in articles to open a Larger View gallery. |