Studio Yotsuba
Back to Node List

Audio Oscillator

audio_oscillator

The sound source: synthesizes a short game SFX from a waveform. Connect curves to Pitch/Gain to make it move, then wire it into Audio Output to hear it

Reviewed
Guide available

Input Ports

NameTypeDescription
Pitch Curve
pitch_curve
AutomationCurve
Moves the pitch over time (in semitones). A rising curve makes a coin-style 'bleep up'; a falling curve makes a drop/boom. Ignored when Waveform is Noise
Gain Curve
gain_curve
AutomationCurve
Shapes the volume over time. Without this the sound stays at full volume until the very end and stops abruptly - connect a decay curve (e.g. AttackDecay) for a natural tail

Output Ports

NameTypeDescription
Audio
audio
AudioBuffer
The sound itself (audio data). Wire audio ports together to pass the sound downstream

Parameters

NameTypeDefaultRangeDescription / Options
Waveform
waveform
Enum
Sine—

The basic tone character. Sine = soft and round / Square = chippy retro beep / Saw = sharp and buzzy / Triangle = slightly brighter than sine / Noise = hiss (explosions, wind, hits)

  • sineSine
  • squareSquare
  • sawSaw
  • triangleTriangle
  • noiseNoise
Duration
duration
Float
0.350.01–5 / step 0.01

Length in seconds. Short SFX are usually 0.1-1.0s. Keep an oscillator and the curves feeding it at the same duration - past the end of a shorter curve its effect stops (gain snaps back to full volume)

Sample Rate
sample_rate
Enum
44100—

Audio resolution (samples per second). Leave at 44100 unless you have a reason; oscillators feeding the same Audio Mix must share this value or mixing fails

  • 4410044100
  • 4800048000
  • 2205022050
Frequency
frequency
Float
44020–4000 / step 1

How high the sound is (Hz). Lower = fatter and heavier, higher = thinner and sharper. Rough guide: 110 = low boom, 440 = plain beep, 880+ = high blip. Not used by Noise

Gain
gain
Float
0.60–1 / step 0.01

Volume of this sound (0-1). If you plan to layer it with Audio Mix, keep it around 0.5 so the sum stays under the clipping limit

Pitch Offset
pitch_offset
Float
0-48–48 / step 0.1

Shifts the whole sound up or down in semitones (+12 = one octave up, -12 = one octave down). Use it to transpose without touching Frequency. Not used by Noise

Pitch Curve Amount
pitch_curve_amount
Float
1-4–4 / step 0.01

How strongly the pitch curve acts (multiplier). Curve value x this = actual semitone change. Example: a 0..1 rise curve x 12 sweeps up one octave. Negative flips the direction. Not used by Noise

Seed
seed
Int
10–9999

Random seed for the noise texture. Change the number to get a different crackle; the same number always produces the same sound

Overview

Synthesizes short retro-game sound effects from waveforms. Combine waveform, pitch, and gain curves to generate chiptune SFX such as jumps, coins, and damage sounds.

Usage tips

  • Choose a starting timbre by waveform: Square for an 8-bit console sound, Sine for a rounded electronic tone, Noise for explosions and impacts, and Saw / Triangle for something in between.
  • The curves create the character. Feed a rising curve to pitch_curve for a coin sound, a falling curve for damage, and a decay curve to gain_curve for a crisp finish. Build curves with automation_curve or path_to_automation.
  • Connect the result to audio_output for preview and export.

Related nodes

  • automation_curve / path_to_automation — supply pitch and gain curves
  • audio_mix — layers multiple sounds
  • audio_output — previews and exports WAV files

Synthesizes an AudioBuffer for a short game sound effect.

Ports

Direction Port Type Description
Input pitch_curve AutomationCurve Curve that changes pitch in semitones; ignored by Noise
Input gain_curve AutomationCurve Curve that changes the gain multiplier
Output audio AudioBuffer Generated short sound effect

Parameters

  • waveform: Sine / Square / Saw / Triangle / Noise
  • duration: duration in seconds; v2 supports up to 5 seconds for short SFX
  • sample_rate: 44100 / 48000 / 22050
  • frequency: base frequency in Hz
  • gain: output volume
  • pitch_offset: base offset in semitones
  • pitch_curve_amount: multiplier applied to pitch_curve values
  • seed: seed for the Noise waveform

Notes

Connect PathToAutomation with output_min=0, output_max=24 to pitch_curve to create a rising, two-octave "pew" sound that follows the shape of the line.

  • Noise is per-sample white noise. It ignores frequency, pitch_offset, pitch_curve_amount, and pitch_curve; the related parameters are hidden in the UI while Noise is selected.
  • gain_curve is limited to 0–2, and a curve holds its endpoint outside its defined duration.
  • A fixed 5 ms fade is applied at both edges to reduce clicks.
  • For Noise, seed acts as an offset into the deterministic sample sequence.
  • Known legacy lowercase enum values remain accepted. Any other unknown enum value is an explicit error.
Back to Node List