Back to Node List

Audio Oscillator

audio_oscillator

Generates a short synthesized game SFX audio buffer

Draft
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
時間方向の制御カーブ
音量カーブ
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)

音量
gain
Float
0.60–1 / step 0.01

出力音量

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

基準音程のオフセット(半音)

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

音程カーブ値(半音)への倍率

シード
seed
Int
10–9999

ノイズ波形のシード

短いゲーム効果音向けの AudioBuffer を波形合成で生成します。

Ports

Direction Port Type 説明
Input pitch_curve AutomationCurve 音程を半音単位で変化させるカーブ
Input gain_curve AutomationCurve 音量倍率を変化させるカーブ
Output audio AudioBuffer 生成した短い効果音

Parameters

  • waveform: sine / square / saw / triangle / noise
  • duration: 秒数。v1 は短い SFX 用として最大 5 秒
  • sample_rate: 44100 / 48000 / 22050
  • frequency: 基準周波数 Hz
  • gain: 出力音量
  • pitch_offset: 基準の半音オフセット
  • pitch_curve_amount: pitch_curve 値への倍率
  • seed: noise 波形用のシード

Notes

PathToAutomationoutput_min=0, output_max=24pitch_curve に入れると、線の形に沿って 2 オクターブ上がる「キュイン」系の音を作れます。

Back to Node List
Audio Oscillator — PixPipeline Node Reference