Var-Shape Osc

SourcesvarshapeoscLight CPU

Morphing oscillator — sine→saw→square via Shape + pulse width.

What it does

Morphable oscillator — continuous sweep across waveform shapes.

Wraps daisysp::VariableShapeOscillator. Freq / Waveshape / PulseWidth update at audio rate. The Amp port is a post-multiply VCA (no native SetAmp), so an envelope wired into Amp gates it.

Parameters

  • Shape

    waveshape
    Default 0.5Range 0 … 1

    Crossfades the waveform between the saw / ramp / triangle family (0) and a square (1). Mid values are a genuine blend of the two, not a third shape.

  • Pulse Width

    pw
    Default 0.5Range 0 … 1

    Does two jobs depending on Shape: at the square end it sets the duty cycle (0.5 = even square, toward 0 or 1 = thin pulse); at the saw/ramp/tri end it chooses WHICH of those three shapes you get. The usable span narrows as pitch rises — DaisySP clamps it toward 0.5 and pins it there above a quarter of the sample rate.

Shape morphs the waveform (0 = saw / ramp / tri → 1 = square); Pulse Width sets the square's duty, and picks which of saw/ramp/tri you get at the other end. Both accept Mod sources. Amp defaults to full scale — wire an envelope into Amp to shape level.

Ports

In

  • Freq frequency
  • Shape waveshape
  • Width pw
  • Amp amplitude

Out

  • Audio Out output

Audio Control

Inputs

Freq
Pitch in Hz.
Shape
Waveform morph, 0 → 1.
Width
Pulse width, 0 → 1.
Amp
Output level (VCA). Defaults to 1.0.

Outputs

Audio Out
Audio-rate waveform.

Patches using it

  • Synth Voice (Moog)touch2

Bundled with the app — open one from the example browser.