Back to Node List

Audio Oscillator

audio_oscillator

Generates a short synthesized game SFX audio buffer

Reviewed
Guide available
The node name and summary are available in English. Port, parameter, and article details are currently shown in Japanese.

Input Ports

NameTypeDescription
音程カーブ
pitch_curve
AutomationCurve
半音単位の音程カーブ。波形が Noise の時は使用しません
音量カーブ
gain_curve
AutomationCurve
時間方向の制御カーブ

Output Ports

NameTypeDescription
オーディオ
audio
AudioBuffer
短い効果音のサンプル済みオーディオ

Parameters

NameTypeDefaultRangeDescription / Options
波形
waveform
Enum
Sine

元になる波形

  • サインSine
  • 矩形Square
  • ノコギリSaw
  • 三角Triangle
  • ノイズNoise
長さ
duration
Float
0.350.01–5 / step 0.01

音の長さ(秒)

サンプルレート
sample_rate
Enum
44100

オーディオのサンプルレート

  • 4410044100
  • 4800048000
  • 2205022050
周波数
frequency
Float
44020–4000 / step 1

基準周波数(Hz)。Noise では使用しません

音量
gain
Float
0.60–1 / step 0.01

出力音量

音程オフセット
pitch_offset
Float
0-48–48 / step 0.1

基準音程のオフセット(半音)。Noise では使用しません

音程カーブ量
pitch_curve_amount
Float
1-4–4 / step 0.01

音程カーブ値(半音)への倍率。Noise では使用しません

シード
seed
Int
10–9999

ノイズ波形のシード

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
Audio Oscillator — PixPipeline Node Reference