MixavisdocsHomeCommunityOpen editor
DOCS/Nodes

Oscillator

Motion

A repeating waveform driven by the timeline. The simplest way to make anything in the graph move.

A repeating waveform driven by the timeline. The simplest way to make anything in the graph move.

The nodeoscillator
OscillatorValueFrequency1Amplitude1Phase0Offset0
socket typesFloatHollow sockets are unconnected and use their default.

Sockets#

InputTypeDefault
FrequencyFloat1
AmplitudeFloat1
PhaseFloat0
OffsetFloat0
OutputType
ValueFloat—

Settings#

SettingTypeDefaultChoices / range
waveenumsineSine · Triangle · Saw · Square
bipolar (−1..1)booloff—

How it works#

Phase is time × frequency + offset, so frequency is in cycles per second and the wave never depends on frame rate. Switching the wave shape changes only the function applied to that phase, which means you can swap sine for square without retiming anything.

Things that catch people out#

Bipolar changes the resting value

Unipolar output sits in 0…1 and rests at 0.5. Bipolar sits in −1…1 and rests at 0. Feeding a unipolar oscillator into something that expects a signed offset gives you a permanent bias.

See also#

nodesAll Motion nodes→

Something here wrong or missing? Tell us in the community.