ReferenceScripting APIMotionSceneband
MotionScene.band
methodHow loud a band of pitches is, from the spectrum.
| Name | band |
|---|---|
| Kind | method of MotionScene |
| Called as | scene.band(…) |
| As a node | Get Band Level (logic graph) |
| Since | 0.4 |
Syntax
band( lowHz: number, highHz: number): numberParameters
| Name | Type | Description |
|---|---|---|
lowHz | number | Its lowest pitch, Hz (35 to 10000) |
highHz | number | Its highest pitch, Hz |
Returns
number: 0 to 1.
Example
const kick = scene.band(40, 120);Notes from the community
Written by creators and checked by the docs' editors. Not part of Motion's official reference.