Page 1 of 2

TUTORIAL: 'Single wavecycle' resampling

Posted: Sat Jul 10, 2010 8:07 pm
by futures_untold
Overview of 'single wavecycle' resampling technique

There is a technique many people overlook today that involves chopping up a sample into really small chunks, then looping those chunks in a sampler. This can give phat & nasty results, and is essentially a homemade wavetable oscillator.

The technique is easy: find a sample, chop out a small section, import the small section into your sampler and loop it. While using a single wavecycle is often sufficient, you can also use any length sample so long as it is really really short in length.

By using short clips of other premade bass samples, you can process your sounds into the filthiest sounds that even Noisia or Borgore would be scared of! :N:

--------------------------------------------------------------------------

Wavecycles and Wavelength - Important information to know before starting the tutorial

Before we start the tutorial, you need to understand what a wavecycle is.

A simple introduction to wave cycles and wave lengths can be found at http://zonalandeducation.com/mstm/physi ... eParts.htm

Image

Now that you hopefully understand what a wave cycle is, we can start the process of creating our own! 8)

--------------------------------------------------------------------------

Step by step tutorial for 'single cycle' resampling

1> Find yourself a sample that you like, or make your own using a synthesiser. (I often create nice sounds using a normal synthesiser, and apply effects to the sound using my sequencer package before bouncing the .wav).

This is the sample I am going to edit.
Image

------------------------------------------------

2> Import your sample into an audio editor. (If you don't have an audio editor, download Audacity which one of the best free ones available).

------------------------------------------------

3> Zoom in on the waveform and find a section that looks interesting.

Here I am selecting a portion of the waveform to use.
Image

------------------------------------------------

4> Select the area you like and trim the sides off. (Most audio editors have an edit command which allows you to delete outside the selection only, if not delete each end one at a time).

Here is the waveform I have saved and will import into my sampler. [NOTE: The start of the slice has not been cut at a zero-crossing. This will cause distortion once looped in a sampler due to the mismatched zero crossings (see below)].
Image

------------------------------------------------

5> In order to avoid adding distortion as the waveform loops, it is wise to make the cuts at zero crossing points. (The 'zero-crossing' is the point where the coloured waveform lines cross over the vertical white lines in the top-most picture of this tutorial). So by ensuring that the volume is matched at both ends of the audio segment, you can avoid introducing distortion.

You can fix this by applying a very short fade in and fade out at the start and end of your selected audio. This should match the start and end points of the loop at the zero-crossing automatically. :)

------------------------------------------------

6> Save the new waveform as a .wav.

------------------------------------------------

7> Reimport the new short waveform into your sampler and switch on playback looping (for the sample). (You may also need to map the sample across the keyboard depending on your sampler).

------------------------------------------------

8> Play a few notes... You now have created your own homemade wavetable synthesiser! 8)

------------------------------------------------

9> Apply effects as you would normally.

------------------------------------------------

10> Repeat the process with a new section of a waveform, and build up a library of wavecycles! :)

--------------------------------------------------------------------------

Step by step tutorial for 'single cycle' resampling

TIP 1: If your sample sounds 'buzzy' in your sampler, cut a longer section of your source sample. You can also try playing lower notes on the keyboard.
TIP 2: Experiment with the length of the samples you cut for interesting results.
TIP 3: Try slicing samples you wouldn't normally make basslines with. You'll be surprised at the basslines you can make using these types of samples as your source material for the slicing! 8)

--------------------------------------------------------------------------

Extra Info

The quote below may help shed more light on the technique.

As you can see, there are lots of points that could be sampled in that waveform, the most obvious one being the sustain section (described in more detail below).
lilt wrote:Image

In the picture above you can see how there are some very large peaks at the start of the waveform (on the left).
This is called the 'transient' and is defined by the Attack and the Decay stages on an ADSR envelope.

Can you see how there is one particular section of the wave that has been repeated over and over again (looped)? This is the Sustain portion of the waveform.

What is missing from the waveform in the picture is the end section (the Release portion of an ADSR) which is where the sound trails off into silence.

--------------------------------------------------------------------------

A sampler that has the ability to set loop points can be used to sustain a really short section of a sample, thus creating a wavetable oscillator.

You will find most samplers have the ability to loop until 'note off', which means that once a note is played, the sound will loop until the note is released and fades away to silence.
--------------------------------------------------------------------------

Loading wavecycles into synthesisers

Some synthesisers allow users to load their own wavecycles into the oscillators. In some cases this gives the users more options for working with the waveform. For instance, some synths allow phase width modulation of user waveforms, and this is extremely powerful*.

These include:

Jeremy Evers Atlantis* (free)
SKnote Grainz (free)
Vember Audio Surge* (payware)
Camel Audio Alchemy (payware)
FAW Circle (payware)
3xOsc in FL Studio (payware)
Zebra2 (payware)

--------------------------------------------------------------------------

Hand drawn wavecycles

There are also synthesisers that allow users to draw custom waveforms directly into the synthesiser. This is great for those of us who wish to define their own waveforms without having to slice them.

My personal favourite is the freeware synth called Fuzzpilz Oatmeal. It allows for phase modulation on the user drawn waveforms, which is very powerful. It can also be reskinned if you don't like the default graphics, my favourite theme being 'lf_lumina'.

Another synth that allows users to hand draw waveforms is 'Freehand' by Angular Momentum.

--------------------------------------------------------------------------

Summary

If you find this tutorial helpful, vote yes in the poll at the top of the thread.

Also share your own tips, methods and experiences of this technique below!

If any of you have experience of this technique using specific programs, if you have the time, it would be great if you could post step-by-step methodologies for your selected program. Remember to include screenshots too!

Many thanks and have fun making basslines! :)

Patrick

Re: Create good bass sounds by 'single wavecycle' resampling

Posted: Sat Jul 10, 2010 8:16 pm
by volcanogeorge
Awesome tutorial, I never thought of doing anything like this! Definitely giving it a go. :D

futures_untold wrote:
4> Select the area you like and trim the sides off. (Most audio editors have an edit command which allows you to delete outside the selection only, if not delete each end one at a time).
Worth noting that if you're using Audacity, you don't need to delete anything, just select one wavecycle and do File > Export Selection as WAV :)

Re: TUTORIAL: 'Single wavecycle' resampling

Posted: Sat Jul 10, 2010 8:18 pm
by victoryaloy
I heard about this before and went looking for tutorials and found nothing..

This is well needed here.. Thanks! Big Help

Re: TUTORIAL: 'Single wavecycle' resampling

Posted: Sat Jul 10, 2010 8:20 pm
by nowaysj
Add 3xOsc to synths that can load user waveforms.

Re: Create good bass sounds by 'single wavecycle' resampling

Posted: Sat Jul 10, 2010 8:20 pm
by futures_untold
volcanogeorge wrote:Awesome tutorial, I never thought of doing anything like this! Definitely giving it a go. :D

futures_untold wrote:
4> Select the area you like and trim the sides off. (Most audio editors have an edit command which allows you to delete outside the selection only, if not delete each end one at a time).
Worth noting that if you're using Audacity, you don't need to delete anything, just select one wavecycle and do File > Export Selection as WAV :)
Nice tip! :)

Re: TUTORIAL: 'Single wavecycle' resampling

Posted: Sat Jul 10, 2010 8:24 pm
by Sirius
i noticed you said if ya cannot delete outside selection... clip ends one after the other,
the way i used to do it is...
select/cut/select all/delete/paste... works a charm!!chea

Re: TUTORIAL: 'Single wavecycle' resampling

Posted: Sat Jul 10, 2010 8:48 pm
by Kochari
Futures Untold, I think I love you.

Definately one of the most helpful people here! :e:

Re: TUTORIAL: 'Single wavecycle' resampling

Posted: Sat Jul 10, 2010 8:52 pm
by Cyma
Great reading around here lately... Nice one, OP. Bible worthy.

This is a great way to teach people about synthesis. I actually started out learning synthesis this way by looping tiny bits of bigger samples and tuning them, filtering, scrub through the sample, start/end point modulation, etc. It really helps when you get to a different synth and you have working knowledge of both basic and complex waveforms already. I encourage anyone to start beginners this way.

This tutorial gave me the idea to sample multiple wave cycles that sound different, copy/paste them together, pitch accordingly, crossfade, whatever.... and scroll through them with the loop in a sampler. I think you could get that sound like some other synths when you scroll the wave position. Start layering stuff and racking up samplers this way and watch out...

The other thing about this is that sometimes if you just chuck a big sample in a sampler, even an entire tune, you can set the loop length suuuuper short and just scroll that around until you find cool wavecycles. Scroll the loop back and forth just a little and get some nice modulation happening. Makes me think that if you did it this way you could just render out a long note and throw that in your "waves" folder. Could be wrong... Nice topic.

Once again you guys have set an afternoon of geeking in motion. Off to catch some waves. 8)

Re: TUTORIAL: 'Single wavecycle' resampling

Posted: Sat Jul 10, 2010 10:23 pm
by gnome
fantastic. You got straight to the point and minimised my reading while still including a lot of detail. Some very good resources thank you

Re: TUTORIAL: 'Single wavecycle' resampling

Posted: Sat Jul 10, 2010 10:30 pm
by SunkLo
Granular synthesis added to my todo list

Re: TUTORIAL: 'Single wavecycle' resampling

Posted: Sat Jul 10, 2010 10:37 pm
by futures_untold
The points Cyma makes above about layering wavelets and modulating your samplers loop points are certainly borderline granular synthesis.

DIY synthesis makes its return! :)

Re: TUTORIAL: 'Single wavecycle' resampling

Posted: Sat Jul 10, 2010 10:41 pm
by SunkLo
I was thinking about making a few different sounds and stitching a cycle of each together to make one big dutty wave.
Oh geez microsampling has got me all randy :oops: / :twisted:

Re: TUTORIAL: 'Single wavecycle' resampling

Posted: Sun Jul 11, 2010 12:09 am
by Phigure
Zebra2 is also capable of using drawn waveforms

Re: TUTORIAL: 'Single wavecycle' resampling

Posted: Sun Jul 11, 2010 12:11 am
by futures_untold
Thanks.

Added to the list. :)

Re: TUTORIAL: 'Single wavecycle' resampling

Posted: Sun Jul 11, 2010 2:12 am
by meer
Wavetable synthesis usually involves a whole bunch (like a table's worth) of waves and the oscillator fades between them; the shape of the oscillations morph over time.

This would be wayway lots fun if you could load any wave and morph around between them. Any free synths that can do that? It's possible in FL with Sampler channels (or anything, really) and the Envelope Controller and a Layer channel.

Re: TUTORIAL: 'Single wavecycle' resampling

Posted: Sun Jul 11, 2010 6:37 am
by komanderkin
nice tut! i think that a good addition between steps 4 and 5 would be that, unless you're going for a pulse-like sound with the waveform you're making, it's wise to make the cuts at zero crossing points. also make fades at the very ends of the waveform just to make sure.

Re: TUTORIAL: 'Single wavecycle' resampling

Posted: Sun Jul 11, 2010 10:10 am
by futures_untold
Thanks. Added. :)

Re: TUTORIAL: 'Single wavecycle' resampling

Posted: Sun Jul 11, 2010 12:23 pm
by Mushroom Buttons
Oh no you have revealed my little secret technique!!1 Kidding!

I like to load these custom waveforms into Ableton's Simpler, set to loop, and then set Glide. You can get some really funky bassline gliding from note to note without the sample retriggering. Beats using pitch bend.

Re: TUTORIAL: 'Single wavecycle' resampling

Posted: Sun Jul 11, 2010 3:16 pm
by contakt321
Hey, this was great, and well written.

Once question for you, from the image you posted, it doesn't look like you actually selected a "single cycle", it looks like you got slightly less. Did that note sound good?

Also, you may consider a step that suggests that people use a spectrum to check the note is in tune, and do fine-tuning to get it in tune if it's not.

Nice one man, concise, well written.

Re: TUTORIAL: 'Single wavecycle' resampling

Posted: Sun Jul 11, 2010 4:05 pm
by Assassin
meer wrote:Wavetable synthesis usually involves a whole bunch (like a table's worth) of waves and the oscillator fades between them; the shape of the oscillations morph over time.

This would be wayway lots fun if you could load any wave and morph around between them. Any free synths that can do that? It's possible in FL with Sampler channels (or anything, really) and the Envelope Controller and a Layer channel.
U-he zebra can do that. It's a massively powerful synth for freeware.