Docs / Tutorials
Make a wavetable from a sample
Turn a recording into a wavetable: choose source audio, prepare it for frame slicing, and export a packed WAV for your destination.
6-minute read
What sample-to-wavetable conversion actually does
A wavetable is a stack of single-cycle frames. To make one from a sample, cut the recording into equal-length blocks and treat each block as a frame. Moving the wavetable position plays through those frames. You lose the recording's exact timing, but can sweep, morph, and loop its changing timbre.
Every frame is the same length. Choose source material and a frame size that produce useful cycles, then inspect the result before export.
Choosing source audio
Try a sustained, steady source: a held note, a drone, a vocal phrase on one pitch, or a slowly moving synth pad. Frames cut from a steady source tend to resemble their neighbors, which can make the sweep sound smoother.
- Try a sustained sound. An attack or transient can produce one or two abrupt frames between steadier ones.
- Record or bounce the dry signal. Reverb can make the resulting sweep sound washed out.
- Check the sound in mono. Stereo files are mixed down on import, and phase differences can cause cancellation.
- Use a steady pitch if you want a stable sweep. Pitch drift in the source can make the frames sound detuned.
- Normalize a quiet recording first if you want its frames to use the full -1…+1 range.
What frame slicing does to your file
On import, Hyperwave decodes the audio file, mixes its channels to mono, and slices it into equal-length frames. The frame count is the source length divided by frame size, rounded down. A partial frame at the end is dropped. A longer take gives you more frames of the same size.
Frame size is samples per single cycle; frame count is how much motion the table holds. The same sustained note sliced at 2,048 samples gives you many frames of subtle change. Scrub through the frames while you work and you hear the source's evolution as the wavetable's sweep.
Cleaning frames: normalize, trim, then patch
Do the destructive cleaning before import, in any audio editor: normalize the level, trim to the steady section you actually want, and cut silence and lead-in so you are not spending frames on material that all sounds the same.
After import, patch nodes to reshape the audio and scrub through the frames to check the result. Keep frames centered on zero: differences in DC offset can cause thumps as position moves between them. Export when the sweep sounds right.
Export settings
Export writes one packed WAV: mono, 32-bit float (float32) by default, with 16-bit WAV as a direct option for hardware targets. Frames sit end-to-end in wavetable order, every sample clamped to the -1…+1 range. The filename records the shape (name-{samples}x{frames}.wav), so you can read what you handed to a synth at a glance.
Pick the frame size and frame count for the destination, not for the source. The packed-WAV default of 2,048 samples per frame and 256 frames is what the major software destinations expect; when in doubt, start there and read the frame-size tutorial before deviating.
When it goes wrong
Check these four possible causes if the conversion sounds wrong:
- The table is detuned. The synth slices your file at a different frame size than you built it at, so every cycle plays back at the wrong speed. Export at the frame size the destination expects.
- The table is weak or quiet. The source was quiet, so the frames never used the full range. Normalize the source and re-import.
- The sweep sounds like a wash. The source carried reverb or a long release, and the same tail landed in every frame.
- The table barely moves. The source was too short to give you many frames. Accept a short sweep or import a longer take.