Motion
Get Motion

ReferenceScripting APIMotionSceneband

MotionScene.band

method

How loud a band of pitches is, from the spectrum.

Nameband
Kindmethod of MotionScene
Called asscene.band(…)
As a nodeGet Band Level (logic graph)
Since0.4

Syntax

band(    lowHz: number,    highHz: number): number

Parameters

NameTypeDescription
lowHznumberIts lowest pitch, Hz (35 to 10000)
highHznumberIts highest pitch, Hz

Returns

number: 0 to 1.

Example

const kick = scene.band(40, 120);