Thursday, October 1, 2009

Digital Recording Levels - a rule of thumb

Okay, I mentioned this as one of my tips in a previous post, but there's confusion and many heated debates out there about the ideal level to record into your digital audio workstation.

I'm just summing up the information readily available elsewhere (if you are willing to wade through endless online debates and the numerous in-depth articles), for people who just want to know right here and now what the best level is to record into their digital audio systems.

So I'm going to start with just a quick easy rule of thumb for these people, followed with a little bit more detail after that to explain why I'm recommending these numbers.

I apologize for simplifying some of the math - but if you're really interested there are plenty of texts and in-depth articles available with a bit of searching. I've included a few references and links at the end of the article.



The rule of digital thumb

  1. Record at 24-bit rather than 16-bit.
  2. Aim to get your recording levels on a track averaging about -18dBFS. It doesn't really matter if this average floats down as low as, for example -21dBFS or up to -15dBFS.
  3. Avoid any peaks going higher than -6dBFS.

That's it. Your mixes will sound fuller, fatter, more dynamic, and punchier than if you follow the "as loud as possible without clipping" rule.

For newbies - dBFS means "deciBels Full Scale". The maximum digital level is 0dBFS over which you get nasty digital clipping, and levels are stated in how many dB below that maximum level you are.

Average level is very important - people hear volume based on the average level rather than peak. Use a level meter that shows both peak and average/RMS levels. Even better if you can find a meter that uses the K-system scale.


Some common questions:

Q: Why do we avoid going higher than -6dB on peaks? Surely we can go right up to 0dBFS?

Answer 1 - the analogue side.
Part of the problem is getting a clean signal out of your analogue-to-digital converter. Unless you have a very expensive professional audio interface, or you like the sound of the distortion that it makes when you drive it hard, then you're going to get some non-linearities (ie distortion) happening at higher levels, often relating to power supply limitations and slew rates.

Most interfaces are calibrated to give around -18dBFS/-20dBFS when you send 0VU from a mixing desk to their line-ins. This is the optimum level!
-18dBFS is the standard European (EBU) reference level for 24-bit audio and it's -20dBFS in the States (SMPTE).




Answer 2 - the digital side.
Inter-sample and conversion errors. If all we were ever doing is mixing levels of digital signals, we would probably be fine most of the time going up close to 0dBFS, as most DAWs can easily and cleanly mix umpteen tracks at 0dBFS.

EXCEPT there are some odd things that happen;
  • Inter-sample errors can create a "phantom" peak that exceeds 0dBFS on analogue playback.
  • When plug-ins are inserted they can potentially cause internal bus overloads. These can build-up some unpleasant artifacts to the audio as you add more plug-ins as your mix progresses. They can also potentially generate internal peaks of up to 6dB - even if you're CUTTING frequencies with an EQ, for example.
  • Digital level meters on channel strips seldom show the true level - they don't usually look at every single sample that comes through. It's possible to have levels up to 3dB higher than are displayed on the meters.
Keeping your individual track levels a bit lower avoids most of these issues. If your track levels are high, inserting trim or gain plug-ins at the start of the plug-in chain can help remove or reduce these problems. Use your ears!

Q: Aren't we losing some of our dynamic range if we record lower? Aren't we getting more digital quantization distortion because we're closer to the noise floor?

Short answer. No.

Really, both of these questions sort of miss the point, as we shouldn't be boosting our audio up to higher levels and then turning it down again. So there's nothing to be "lost".

It's the equivalent of boosting the gain right up on a mixing desk while having the fader down really low, giving you extra noise and distortion that you didn't even need. You should leave the fader at it's reference point and add just enough gain to give you the correct audio level. This is what we're trying to do when recording our digital audio as well - nicely optimizing our "gain chain".

The best way to illustrate this is to throw a few numbers up;

Each bit in digital audio equates to approximately 6dB.
So 16-bit audio has a dynamic range of 96dB.
24-bit audio has a range of 144dB.

With me so far? Probably doesn't mean a lot just yet.

Now, let's look at the analogue side where it becomes slightly more interesting.

The theoretical maximum signal-to-noise ratio in an analogue system is around 130dB.
Being awesomely observant, you picked up immediately that this is a lot less than 24-bit's 144dB range!

In fact, the best analogue-to-digital converters you can buy are lucky to even approach 118dB signal-to-noise ratio never mind 144dB.

So - let's think about this.
If we aim to record at -18dBFS, how many bits does that give us?

24 bits minus 3 (each bit is 6dB remember). That's 21 bits left.
What's the dynamic range of 21 bits? 126dB
What's the dynamic range of your analogue-t0-digital converter again? 120dB-ish.
Less than 20 bits.
One bit less than our 21-bit -18dBFS level.

The conclusion is that when recording at -18dBFS you are already recording at least one bit's worth of the noise floor/quantization error, and if you actually turn your recording levels up towards 0dBFS, all you're really doing is turning up the noise with your signal.

And most likely getting unnecessary distortion and quantisation artifacts.

Apart from liking the sound of your converter clipping, there's NO technical or aesthetic advantage to recording any louder than about -18 or -20dBFS. Ta-Da!

Mix Levels

If you've been good and recorded all your tracks at the levels I recommended, you probably won't have any issues at all with mix levels.

The main thing is to make sure your mix bus isn't clipping when you bounce it down.

Most DAW's can easily handle the summing of all the levels involved, even if channels are peaking above 0dBFS. In fact even if the master fader is going over 0dBFS, there's generally not a problem until it reaches the analogue world again, or when the mix is being bounced down.

Most DAWs have headroom in the order of 1500-2500dB "inside the box". You can usually just pull the master fader down to stop the master bus clipping.

Saying that, it's still safer if you keep your levels under control.
Like I mentioned before - a key problem is overloads before and between plug-ins. If your channel or master level is running hot and you insert a plug-in, it could be instantly overloading the input of the plug-in depending on whether the plug-in is pre-or-post the fader. So use your ears and make sure you're not getting distortion or weird things happening on a track when you insert and tweak plug-ins.

Try to use some sort of average/RMS metering, and try to keep your average mix level between about -12 to -20dBFS, with peaks under -3dBFS.

Mastering will easily take care of the final level tweaks.

To conclude - when recording at 24-bit, there is a much higher possibility of ruining a mix through running levels too high than having your levels too low and noisy.

As Bob Katz says, if your mix isn't loud enough - just turn the monitor level up!

PS - just say "no" to normalizing. That's almot as bad as recording too loud.

References:
Bob Katz' web site.
Plus Bob's excellent book "Mastering Audio - the Art and the Science".
Paul Frindle et al on GearSlutz.com
A nice paper on inter-sample errors

Download a free SSL inter-sample meter (includes a nice diagram of inter-sample error
)

Wednesday, September 30, 2009

Transferring MIDI and Audio sessions from Logic to Pro Tools in about 5 minutes.


It's pretty common to have to transfer a song written in Logic into Pro Tools for a client to mix (or remix). Here's how to do it as fast as possible with the least amount of hassle.


Audio Files Only

If all you need to supply is audio files for transferring to Pro Tools (usually the most common requirement), it's a very easy 5 steps (MIDI files are trickier - we'll get to those later).
All files will start at the same point and be as long as they need to be.
Files won't include any Bus/Aux effects, only what's on each Channel Strip.
Files are PRE-fade (ie the equivalent of the fader being at 0.0), so they may be quite loud.

1. Name your Logic tracks intelligently (double click on the track header to give it a useful name - this is what your file will be named)

2. Make sure the length of your song is set to about the right length -ie not 200 bars if it's only 20 bars long. It's no biggie if you forget this one, but you'll be sitting waiting for longer than you need to while waiting for the files to bounce.

3. Delete any unused tracks and/or mute unwanted regions.

4. Select menu File-Export-"All Tracks as Audio Files".


5. Select Wave and 24 bit (unless something else is desired). Select Normalize "Overload Protection Only" (this is not your typical "normalize" function and will just make sure your Channel Strip level will never overload). Make sure you know where you're bouncing to. The default is the "bounce" folder within same session. (You don't have to enter any file name/s). Hit "Save". All done.


Easy huh?



MIDI File Export

Exporting MIDI tracks as MIDI files is a bit fiddlier than creating audio bounces, as many of the processes in Logic such as region Quantise and Transpose are "real-time" and need to be rendered into the MIDI track itself before exporting as a Standard MIDI File.

Do this (assumes standard Logic key commands):

1. Select all MIDI regions you're going to export as a file.

2. Press "Control N" (normalises any region parameters for the selected regions - eg Transpose).

3. Press "Control Q" (normalises any Quantize parameters for the selected regions).

4. Press "Control L" (turns any loops into copies).

5. Press "Shift =" (merges the copies and other regions into a solid file on each track).

6. Name each region with the text tool (you'll thank me later).

7. Select menu; File-Export-"Selection as MIDI file". Name your file (eg blah.mid), hit Save and you're done.


Importing into Pro Tools

Now to bring these shiny new audio or MIDI files into Pro Tools.

The easiest way is to create a new, empty Pro Tools session, then drag your files directly from the "bounce" folder in Finder and drop them into the empty Edit window in Pro Tools. PT will now import the files and automatically create the appropriate track for each file.

Tuesday, September 22, 2009

Logic 9 - using Pedalboard in parallel mode for fat Bass and Guitar sounds

Click on the photo to enlarge.
A little while back I wrote a blog article about cool things to do with multi-band compressors

One of the things I discussed was how to use the crossovers built into one of these plug-ins to separate the lows and high frequencies of, for example, a Bass track, so that distortion could be added to the top-end of the Bass without robbing the fat bottom end.

Well now with Logic 9's new Pedalboard, you can easily add some grainy distortion to the Bass track without thinning the sound by using the distortion pedals inserted in parallel mode.

Pedalboard is a great new plug-in that has been added to the latest version of Logic, and includes some great-sounding pedals that can be custom-assembled into complete pedalboards. (You can even map individual pedals to controllers with built-in macros, but we won't cover that in this article)

By dragging, for example, a Distortion pedal from the selection box on the right into the main pedalboard, then adding a Splitter pedal, you can then click on the name above the Distortion pedal to toggle it between series and parallel modes.

Series means the whole Bass sound goes through the distortion pedal, parallel means the distortion pedal is blended with the original dry Bass sound.

What's even better is you can switch the Splitter pedal into "Freq" (Frequency) mode. This allows you to select what range of frequencies goes into to the parallel chain. In my example, I've set it to send from 1.5kHz upwards. (Hint: to see this exact value, I temporarily switched the plug-in "View" from "Editor" to "Controls").

When you insert a Splitter pedal, it automatically inserts another Mixer pedal at the end of the chain so you can blend the two parallel paths back together again, in whatever proportion you desire.

Here's another tip - if you've recorded your electric guitar straight into Logic via your audio interface and are then adding effects in Logic - try using the parallel mode to blend your clean electric guitar with the distorted version on the other side of the parallel chain. This can give your wall of distorted guitars some extra clarity.

Saturday, August 22, 2009

12 Tips for improving the quality of your recordings


1. When recording to digital - keep your levels a bit more conservative. Aim for -18dBFS when recording at 24-bit. And at 16-bit? Best to just stick to 24-bit. Don't worry about levels looking low on the meters, and don't worry about "having less bits available". You're still getting 21 bits, which is about the maximum you can actually encode from the analogue side anyway. You're not losing anything, and you're getting decent digital headroom and much bigger/more dynamic sound. Try it!

2. The best EQ you'll ever get is on the end of the microphone. Spend time getting an awesome sound from the microphone itself, and your mixing will be much easier. Get the mic/instrument position nailed and try different mics if the sound's not working for you. Omnis are awesome. Don't think the most expensive mic is always the best, either - the humble Shure 57 and Sennheiser 421 are more than just drum mics.

3. Don't over-compress everything. Be judicious when you compress - be aware of what you are trying to achieve. Are you even-ing out the performance of a bass track? Or compressing the drums to get a particular texture? Don't just do it to "turn it up". That's what the faders are for. If you want your overall mix to sound louder - get the mastering engineer to do it. Over-compressing will rob your song of "punch" and fatness.

4. Set the compressor release-time so it works with the rhythm of the track. Set it as long as possible but so level reduction still manages to get back up to unity before the next beat/phrase. Then fine-tune so it adds to the groove. It's tempo-based.

5. Work with the song arrangement. The maximum volume in any given song is divided into however many sounds/instruments you have playing at the same time. 20 small guitars do not usually sound as impressive as one big guitar. (They might have an interesting texture though). The instruments in a 3-piece band will sound bigger than those in a 12-piece band UNLESS you deliberately leave space for each instrument at different parts of the song. Don't be afraid to cut things out, or to have musicians not play at various points - which leads into...

6. Create contrast. On the subject of arrangement - take a leaf out of Nirvana's songbook - create big contrasts between, for example, verses and choruses. "Loud" only sounds loud if it's got some "quiet" to compare against. Another reason to watch your compression, too. Try subtly easing down the rhythm guitar level as you go through the verse, and then suddenly bring it back up to the original level for the chorus. Sounds loud again, doesn't it?

7. Commit. Don't record 70 takes of a vocal track and then edit it later. Why didn't you just keep doing punch-ins until it was right? Now you're going to have to spend 6 hours trying to edit vocals when you could have got a decent take in probably an extra half-hour. Murphy's law will also make sure that NONE of those 70 takes contains a good first line of the third verse.

And if you think that the rhythm guitar sounds perfect with that grottelflange pedal on it - record it like that! If you're paranoid - capture both versions - and keep the clean guitar track in a backup session.
In other words - don't defer all your decisions till the mix - make a call and go with it.

8. Be daring. Bands don't usually become famous for sounding just like other bands (maybe in the short-term). They become famous for being unique. If the band sounds like everyone else, you'd better be trying hard to find something unique in there and be highlighting it. Or find a unique way to present them in the recording by your approach. Don't be scared to go "over-the-top" with effects - you can always make them more conservative if you have to, but it's almost impossible to go the other way once you're used to the sound you have.

9. Err on the side of performance. There's magic in a good performance. Does it give you goose-bumps? Better to have a piece of music that moves you than something that's technically perfect but "cold". This is where an experienced band can nail it - they can give a good performance early-on, before they get bored. By the way - don't run-through the whole song when sound-checking otherwise the performers get stale before you're ready. And why weren't you recording already anyway!?!?!

10. Highlight character. Often it's the imperfections that make our ears prick up. Ideally the imperfections shouldn't be big enough to ruin the song, though. Have you often thought the demo of a song is better than the final recording? What made the demo unique? Don't try to make every instrument "perfect". Don't EQ instruments while they are solo'ed - you'll end up trying to make everything sound fat and full, which adds up to "bland". Try to make at least one sound unique in the mix.

11. The mixdown is a performance too. If the levels are static in your mix, it's going to sound boring. The human brain is wired to detect change. You better have some stuff changing through the song to keep the listener's brain stimulated. If you have an interesting arrangement, you probably don't need to worry so much about eg levels changing through the mix, but if your mix lacks contrast, you'd better be riding those controls. Think of the song like a movie - what's the camera looking at now?

12. Use your ears - not your eyes. One of the dangers of digital recording is that we can see what the waveform looks like. And what the levels look like. And what the EQ curve on the plug-in looks like. Turn off the display when you're doing your critical listening. Don't move all the drum beats and bass and guitar perfectly in time - they'll sound tighter but thinner. Don't tweak your EQ until it "looks" better. Have you noticed how you notice things differently while you're bouncing the final mix?

Busy week - recording jazz

I've had to put my own stuff on the back-burner for a bit since work's been so busy.

It's that time of the year when the tutors are rostered on for spending a week in the studio with the Diploma Audio students recording two songs for each of the Diploma Music bands. It's fun, but even regular admin work has to be done after 6pm each night, never mind any classes that have to be prepared, marking etc.

Also - went and recorded Mark Baynes' jazz trio live at the Lewis Eady piano showroom the other night with some students - Mark played on a $185,000 Steinway! Nice. The recording came out well.

I was a bit worried - I would usually use something like Pro Tools and a Digi 003, but we needed more mics (stupid 003 only has 4 mic preamps) so we ended up using my own Presonus Firestudio and my MacBook Pro running Logic 9. Two 50-odd minute sets went down without a hitch. Logic 9 somehow seems to sound better than previous versions!

MAINZ tutor and microphone-setup guru Paul Streekstra did the mic'ing up. Mostly omni mics - pair of Earthworks QTC50's over the piano, pair of Neumann Km133 omnis over drum kit and EV RE27 on bass drum. DI'd upright bass (he was playing through an amp) to which we ended up adding the "spare" Shure 57 pointing at the f-hole. It actually sounded great - hehe the good ol' 57 still works well. Not just a snare mic after all.

The students really enjoyed it - they often over-think things and try to get too tricky with microphone placement, and even their mic choice.

Monday, May 18, 2009

Songwriting - can it be taught?

I just spent the weekend at a songwriting workshop by Jason Blume. It was awesome.

This is the second one I've participated in, and to be honest because I'd helped organise my workplace to host the workshop, I got to go for free.

I'd always been a bit hesitant about going along to workshops and training seminars about songwriting, because I always figured "I don't want somebody to give me rules that I have to stick to - I want to make my own ORIGINAL music, maaaan" (That last because I'm kind of whining as I think that).

This is also why I resisted learning music theory ;o)

Anyhoo - now that I've been to a few of these things, I realise that they DON'T rob you of your unique voice and creative centre - in fact it's more liberating if anything, because one of the main things that Jason expounds is that there are no rules. You can make whatever music you want, and it's all great.

However - he is a storehouse of astute observations about songwriting (as well as the music and song publishing industries). So rather than saying what is right and what is wrong, he will point out that most of the popular songs have certain things in common - for example a chorus that has a memorable melody and lyric, and that can deliver an appropriate emotional reaction.

Jason will not tell you how to write your chorus, but he might certainly observe that it doesn't really sound different from the verse, or that the song drops rather than lifts at that point, or the words or phrasing don't't make sense, or something along those lines.

He also makes a distinction between songs written by people for their own pleasure, and those who write for the public - if you are writing for yourself feel free to do whatever you want, if you are doing it for others, then it's probably good to make it easy for them to engage with, and hopefully remember your song.

One of the most interesting things Jason does is to critique songs that people bring along to the workshop (either on CD/iPod or playing them live).

This is a real eye-opener, as you can see and hear yourself all the flaws in other people's (and your own!) submissions, especially by the end of the second day, where you are more aware of the aspects to look for.

It becomes obvious that a good song not only has to be a unique, creative and detailed viewpoint of something, but also needs to be well-crafted to highlight its own good points rather than destroy them.
After so many meandering singer-songwriter instrospectives (I've been guilty of doing this for many years as well), it's actually refreshing to hear simplicity and repetition. Half the problem is that everybody wants to be "clever", and instead they end up with cumbersome and meandering and forgetful.

Last year my own submission, which of course I was sooooo proud of - (then my current latest and greatest!), was exposed as having three different verses that all had different structures, and lyrics that mostly failed to be a unique way to say what I wanted to say. It was true - it wasn't a bad song by any means, but all you songwriters out there must know what it feels like to play your song to somebody and hear it though their ears as you listen? I was cringeing.

Over the last year I have taken on board a lot of what Jason taught me at the last workshop - I had written what I felt was a much better song - simpler verses, more repetitive, stronger melodies, a great chorus line. But I was anxious about the verse lyrics, having already thrown them all away a couple of times already and going back almost to the original idea. The lyrics still needed a lot of work to create a solid setup for the choruses, though.
A couple of the lines were even the original scratch lines I jammed along to it when I was first writing the song. One line was a complete throw-away and a bit of a joke. "Check one-two". Whaaaat?

I had hoped to fix a couple of these lines before the second day of the workshop - but some problems with an Apple OSX update corrupted my Logic song session, so I had to submit it as it was.

I actually began to regret putting my song in the submission pile - as the stack grew shorter towards my own disc I grew more and more nervous. "Check one-two!?!?!!" Oh my god, what a stupid line!

Finally, Jason worked down to my own submission. My heart was racing. He put my lyrics up on the projector. There were some snickers and giggles - oh the humiliation!
He flipped the disc in the player and hit play.

Doesn't sound toooo bad, nice hooky intro rhythm, clean verse lines (Argh those lyrics! Argh I hate the sound of my own voice). Kicks up into the pre-chorus, then bang into the chorus - phew - relatively safe. Then suddenly STOP!!!!!!

Jason cuts the song. He says "There are two major problems with this song". My blood pressure has skyrocketed, my heart rate is so high it's like I've sniffed Amyl Nitrate and the blood has drained from my face. I'm now sure I'm going into cardiac arrest and I'm almost welcoming the unconsciousness that will soon release me from this embarrasment. I've failed again!

"There are two major problems with this song - it's not on the radio and my name's not on it". The room breaks into applause. My friends laugh at me. I manage a feeble "woo-hoo" and a shaky unconvincing smile. I feel a sense of relief - almost like managing to pass my driving test or an exam.
It's not until later on when we have a break, when people come up to me to congratulate me and teenagers get my email address that I feel like I've achieved something special.

I guess for myself, songwriting workshops have been a relatively positive thing so far.

Edit: Oh if you want to have a listen: FallingMix3 by Mr Zeberdee

Thursday, April 9, 2009

Getting creative with Multi-Band Compressors

What many people don't realise is that conveniently bundled into each multi-band compressor is a multi-band crossover that splits the overall spectrum into two or more frequency bands - 4 or 5 bands are quite common nowadays.

This gives us the ability to do some cool tricks in our digital audio workstation of choice. For example, having a duplicated instrument track with different crossover bands cut on each track allows us to process different frequencies in different ways for the SAME instrument.

This allows us to add a plugin that might only affect the high frequencies of a guitar or bass without affecting the lows, for example.

All these tricks rely on disabling the compressor part of the plug-in by setting a 1:1 compression ratio (ie no compression) - we only want to use the crossover part of the plug-in.


BASS GUITAR
Say you want to put a flange or chorus on the bass guitar without robbing the bottom-end fatness. Usually inserting delay-based effects on an instrument causes comb filtering, which greatly affects the frequency response over the entire spectrum - with some pretty major frequency cuts going on. This is particularly critical on any instrument where you wish to retain the low frequencies.

Duplicate your bass region to an extra track then insert a multi-band compressor on both tracks. You really only need two frequency bands for this.

Cut the top band on the "bass" version of the track, and cut the bottom band on the other one that you want to insert the chorus/flange on. This will be inserted after the multi-band plugin by the way.

This assumes that you have your crossover points set the same in each multi-band plug-in. Set the crossover frequency to around 200 Hz for starters, then tune for best effect. Remember - make sure you match this crossover point on both multi-band plug-ins.

Tip - fine-tune the delay time in your chorus or flanger to make it sound the most "musical".


Note that this trick also works really well when adding distortion to a bass - although in this particular case you may want to set up one of your two duplicate bass tracks to distort the entire bass guitar spectrum, and have the other track so it just blends in the clean low bass.

EQ
Another trick - tweaking the "EQ" by boosting and cutting bands rather than using conventional EQ. This is great for just fixing up broad EQ problems - eg too much top or bottom end, but with no real peaky frequencies that need fixed. Using the multi-band keeps the sound smooth.

DE-ESSING
Need to fix a sibilant frequency? Obviously if you have a dedicated De-Esser plug-in, this will probably do the trick, but if you don't have one - try using just a single band on the multi-band compressor instead. Make sure the other bands are set so they don't activate, then set one band between eg 3kHz and 8kHz (use your ears). Stick a high-ish ratio on it (say 8:1), set the threshold quite low; -20dB to -30dB. Tweak to suit.


Note that although de-essing is the most obvious use of this kind of technique, this will also work on other "resonant" frequency problems - perhaps a single bass note that goes wild, or boomy mids on an acoustic guitar.

DJ Hi-and Lo-Cut techniques.
Most DJ mixers have a fairly extreme set of filters built in for completely removing lows or highs from a track. This can be simulated in your DAW by using two duplicate tracks - one with the lower bands cut in the Multi-band compressor, and the other track with the highs cut. Both tracks together should sound like the original, but muting one or the other tracks will apply the "filter". You can of course do this with a matching pair of high and low-pass filters instead - one on each track, but these may not be as "symmetrical" as the multi-band, so both tracks running together may not sound as "pure" as the original.

Any other tricks you know of?