言語: 日本語
  • C#
  • JS
  • Boo

スクリプト言語

お好みのスクリプト言語を選択すると、サンプルコードがその言語で表示されます。

AudioListener.GetSpectrumData(int,int,FFTWindow)

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Sumbission failed

For some reason your suggested change could not be submitted. Please try again in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

Switch to Manual

Description

リスナー(マスター)のスペクトルデータのブロックを返します

値の数(numSamples)は常に2のべき乗である必要があります。(例えば128/256/512)最小が64で最大が8192です。 bins/bands周波数の間での漏れを軽減するために window を使用します。 より複雑なウィンドウタイプやより良い品質を出す場合は減速に注意してください。

public static function GetSpectrumData(samples: float[], channel: int, window: FFTWindow): void;
public static void GetSpectrumData(float[] samples, int channel, FFTWindow window);
public static def GetSpectrumData(samples as float[], channel as int, window as FFTWindow) as void

Description

リスナー(マスター)のスペクトルデータのブロックを返します

値の数(numSamples)は常に2のべき乗である必要があります。(例えば128/256/512)最小が64で最大が8192です。 bins/bands周波数の間での漏れを軽減するために window を使用します。 より複雑なウィンドウタイプやより良い品質を出す場合は減速に注意してください。