How to tune samples harmonically

Hey Daniel, I would like to ask for an advice about the following thing... Do you maybe have any tips or tricks to tune FX samples?

I still got a big problem to fit in some sound samples I would like to use in my track, because they don’t sound perfectly harmonic to the rest of the track. I try to tune them as good as possible with pitch or EQ but sometimes I just don’t get to the point where I’m happy with it. Maybe you got some useful advices for me :)

Alex Neubert

Alex, before jumping into your question I would like to make a little detour and talk about the difference between Pitch shift and Frequency shift because this is might be the reason why you keep getting inharmonic sounds.

Understanding Pitch shift vs. Frequency shift

Let’s take some simple Saw wave playing at A1 note, and put a Spectrum analyzer to get a visual representation of that sound. It looks like this:

Picture 1. Saw wave playing at A1 note with the fundamental at 110 Hz with all the harmonics being multiplied by that number

Sound is a vibration. Note A1 wiggles 110 times per second, in other words, its fundamental frequency is 110 Herz. All other wiggles on top of the first one are called harmonics, and they are multiplied by the fundamental frequency: the frequency of the second harmonic is 220 Herz (2×110), the third — 330 Herz (3×110), the fourth — 440 (4×110), and so on.

What is sound

Now let’s transpose the oscillator within the synth for +2 semitones up, which will produce the sound at B1:

Picture 2. Saw wave playing at B1 note with the fundamental at 124 Hz with all the harmonics being multiplied by that number

The fundamental frequency of B1 is roughly 124 Herz, and as we can see at the Spectrum analyzer, all harmonics are multiplied by this number: 124 Hz → 248 Hz → 372 Hz → 496 Hz.

Now let’s reverse the oscillator’s transposition back to its initial position and put a Frequency shifter instead. The difference between A1 and B1 is roughly 14 Herz, so we can assume that shifting our sound at these 14 Herz will produce B1, right? Well, it’s not. This is exactly where many producers fail.

Musical scale frequencies chart

Picture 3. Saw wave playing at A1 note and shifted for 14 Herz up, producing a weird, inharmonic sound

Take a look at these peaks: 124 Hz → 234 Hz → 344 Hz → 454 Hz... what a mess! You see, they are no longer multiplied by the fundamental frequency, and hence, no longer sound harmonically, or musically.

What Frequency shifter really does is add a constant value to each harmonics, +14 Herz in our case, producing these weird sound and graph. It literally shifts the harmonics, making it out of sync with each other.

Choosing the right warp mode

Let’s get back to your question. Now you know that in order to tune a sample and keep it sound musical, you have to transpose it using a pitch shift, not frequency shift.

For example, if the sample’s note is A, and your project’s root key is F, then transpose that sample to -4 or +8 semitones.

I don’t know what DAW you’re using, so I’ll assume you’re an Ableton user. Ableton Live has six different warp modes, or algorithms, each suits best for a different kind of sounds. It’s important to choose the right mode depending on your sample type:

Ableton Reference Manual: Audio Clips, Tempo, and Warping

Mode Best for
Beats Beats Mode works best for material where rhythm is dominant. The granulation process is optimized to preserve transients in the audio material.
Tones Tones Mode serves well for stretching material with a more or less clear pitch structure, such as vocals, monophonic instruments and basslines.
Texture Texture Mode works well for sound textures with an ambiguous pitch contour (e. g., polyphonic orchestral music, noise, atmospheric pads, etc.)
Re-Pitch This is like the “DJ stretching method‘ of using variable-speed turntables to sync two records, or what happens to samples in traditional samplers when they’re transposed.
Complex Complex Mode is a warping method specifically designed to accommodate composite signals that combine the characteristics covered by other Warp Modes; it works well for warping entire songs, which usually contain beats, tones and textures.
Complex Pro Complex Pro Mode uses a variation of the algorithm found in Complex mode, and may offer even better results (although with an increase in CPU usage.) Like Complex Mode, Complex Pro works especially well with polyphonic textures or whole songs.
Picture 4. Transposing a sample

That’s pretty much it! Make sure to choose the right warping mode and tune sample using the Transpose knob, and you’ll always get a nice harmonically tuned sample to your project.

I hope it helps.

 3225   2016   Advice   Production

Since 2015, I’ve run an advice section giving my experience and answering readers’ questions on music production, DJing, performing, marketing, management, and other aspects of the music industry. The purpose of the series is to spread knowledge and cultivate professionalism in the music industry. The advice series works simply: you send me your questions, and I answer them with a blog post when I have something relevant to say. Send me your questions via the form.

Next
2 comments
Sygnal 2019

Thanks for the explanation between changes in pitch and frequency.

Alex Neubert 2019

Thank you so much Daniel ! I will try it as soon as possible :)

© Daniel Sokolovskiy, 2024
Powered by Aegea