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
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

時間の長さ(秒)です。効果音は0.1〜1秒程度が目安。オシレータと、そこへ繋ぐカーブはこの値を揃えてください。カーブの方が短いと、カーブが終わった時点で効果が切れます(音量カーブなら最大音量に戻ってしまいます)

サンプルレート
sample_rate
Enum
44100

音の細かさ(1秒あたりのサンプル数)です。通常は44100のままで問題ありません。同じオーディオミックスへ入れるオシレータ同士はこの値を揃える必要があります(違うとミックスでエラーになります)

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

音の高さ(Hz)です。低いほど太く重い音、高いほど細く鋭い音になります。目安: 110=低いブーン、440=普通のピー、880以上=高いピッ。Noise では使われません

音量
gain
Float
0.60–1 / step 0.01

この音の音量(0〜1)です。オーディオミックスで他の音と重ねる予定なら、合計が上限を超えて音割れ(hard_clip警告)しないよう0.5前後に抑えるのがコツです

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

音全体の高さを半音単位でずらします。+12で1オクターブ上、-12で1オクターブ下。周波数を直接いじらずに移調したい時に使います。Noise では使われません

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

音程カーブの効き具合(倍率)です。カーブの値×この値=実際の半音変化。例: 0〜1の上昇カーブ×12なら最大+12半音(1オクターブ)のスイープ。マイナスにすると上下が反転します。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