Oscillator

SourcesoscillatorLight CPU

Periodic waveform source — Sine, Saw, Square, Triangle.

What it does

A configurable periodic waveform generator.

Wraps daisysp::Oscillator. Waveform shape (Sine / Saw / Square / etc.) is baked at init; pitch and amplitude can be modulated at audio rate.

Parameters

  • Waveform

    waveform
    Default sine

    The shape the oscillator repeats, and the single biggest influence on its character. Sine is one pure tone with no harmonics — clean, and the only shape that costs a sinf per sample. Triangle adds a few quiet odd harmonics: hollow, flute-like. Saw has every harmonic and is the bright, buzzy starting point for most subtractive patches. Square has odd harmonics only and reads hollow and reedy. Baked at boot — wire the Freq and Amp ports if you need something that moves.

Pitch and level are ports, not fields: an unwired Oscillator runs at 440 Hz and 0.5 amplitude. Wire Freq (Hz) and Amp to make it play. Saw and Square are the naive DaisySP shapes, so they will alias on very high notes.

Ports

In

  • Freq frequency
  • Amp amplitude

Out

  • Audio Out output

Audio Control

Inputs

Freq
Pitch in Hz.
Amp
Output amplitude.

Outputs

Audio Out
Audio-rate waveform.

Patches using it

  • aeolian_pentatonic_harptouch2
  • aeolian_rainforest_organtouch2
  • complex-drone-synthtouch2
  • Crossfadetouch2
  • Envelopetouch2
  • LFO (Tremolo)touch2
  • MIDI Live Demotouch2
  • Mixertouch2
  • OLED Display Modelsstandard
  • OLED Mux Dashboardstandard
  • Oscillatortouch2
  • Patch Controls Demopatch
  • Patch SM I/O Labpatch_sm
  • Math - Compare and Gatepatch_sm
  • Patch SM Module I/Opatch_sm_module
  • Daisy Pod Demopod
  • Pod Shift Pagespod
  • Seed2 DFM Voiceseed2_dfm
  • Per-Channel Audio I/Ostandard
  • standard-test-suite1standard
  • 3-Position Switch Demotouch2
  • Touch Pad Lead + Kicktouch2
  • Drum Kittouch2
  • Mod Button on Free GPIOtouch2
  • touch2-board-testtouch2
  • MIDI Live Demo (Daisy Seed)standard

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