SYSTEM.ARCHIVE // LOGS

The Archive

A log of thoughts, esoteric tools, recommended reading, and unorganized debris from the production process.

Subscribe via RSS
← Back to Archive Index
2026-06-10 SYNTHESIS & EXPERIMENTAL DSP & ALGORITHMS

Wave Splicing Synthesis

Wave splicing uses three oscillators. Two of them, A and B, are sound sources. The third, which I call the splicer, isn't heard directly: it decides at every sample how much of A and how much of B gets through. With the splicer s running between 0 and 1, the output is s·A + (1 − s)·B. A square-wave splicer switches hard between the two sources; a sine splicer crossfades between them continuously.

At slow rates this is just a rhythmic switch. At audio rates the switching stops being heard as switching and the output becomes a single new timbre that belongs to neither source. The reason is that splicing is a form of amplitude modulation. A sine splicer at frequency fs adds sidebands at fA ± fs and fB ± fs. A 50% square splicer contains fs and its odd harmonics, so it adds sidebands at fA ± k·fs and fB ± k·fs for odd k, falling off roughly as 1/k. When the three frequencies are in simple integer ratios the result is periodic and harmonic; when they're detuned it is inharmonic or beats.

Controls

Most of the character comes from treating the splicer as an instrument rather than a utility:

  • Shape. A sine weaves the two sources together smoothly; a pulse cuts between them.
  • Pulse width. The duty cycle sets how much of each cycle goes to A and how much to B, which changes both their balance and the splicer's harmonic content (anything other than 50% adds even harmonics).
  • Rate. From sub-audio stutter to audio-rate timbre.
  • Pitch relationships. Phase modulate the sources, detune them, let them drift, or decouple their pitch from the splicer entirely so that the splicer is what holds the sound together.

It ends up somewhere between crossfading and hard sync. Like hard sync, a second oscillator imposes its period on the sound, but nothing gets its phase reset: A and B keep running and the splicer only chooses between them.

Where it breaks: a hard switch between two waveforms that are at different values at that instant is a discontinuity, and in a digital implementation discontinuities alias. At high splicer rates or with bright sources this is audible as inharmonic fizz. Smoothing each switch over a few samples, or band-limiting the splicer, helps at the cost of some edge.

I like the technique because it changes the metaphor. Instead of shaping one waveform you're editing between two, like a film cut happening thousands of times per second. The figure shows the simplest case: a square splicer running at the same rate as the oscillators, alternating between A and B every half-cycle.

Visual: Wave Splicing Modulator
OSC A (+)OSC B (-)SPLICERCOMPOSITE SPLICED OUTPUT