Sampling is wavetable synthesis with the stored period extended to a full recorded note rather than one cycle
Wavetable synthesis and sampling share the same fundamental algorithm — store an audio buffer in memory, play it back at a rate that determines pitch. The distinction is scope: wavetable synthesis stores exactly one waveform period and loops it, implicitly assuming a periodic signal. Sampling stores a full recorded note (which includes attack, sustain, and natural decay) and may playback without looping or with a sustain loop. Because sampled notes include their own aliasing avoidance (the recording was made at the target pitch), sampling sidesteps the aliasing problem that plagues wavetable synthesis at high pitches. Understanding their algorithmic identity helps when choosing between them for a synthesis design.
Examples
Piano sample at C4: the recording captures the attack transient, key strike, and natural decay — impossible to reconstruct from a single looped cycle. Wavetable sine at C4: perfect for a pure tone but cannot capture transients.
Assessment
Explain in your own words why a sampler does not suffer from the aliasing problem that affects a wavetable oscillator when played at high pitches, even though both use a lookup mechanism.