Bands
Draws frequency bands as rectangles, similar to a classic graphic equalizer.
DRAFT! This element is in early development and is liable to change or possibly be replaced.
- class
- Bands
- extends
- Frame
- tag
<bands-blam>
Props
| name | type | default | description |
|---|---|---|---|
| count | number | 16 | The number of elements to render, mapping to data bands. If there are more elements than bands (taken from Analyser |
| shuffle | boolean | false | Whether to randomly redistribute data band references among the Shadow DOM-rendered elements. |
| analyser | string | A CSS selector for the Analyser element. |
|
| transport | string | A CSS selector representing the element used to start and stop listening to analyser data. This element must fire |
|
| fps | number | 25 | Frames per second. The frequency at which Analyser data is read. |
| time | boolean | false | Whether to take data from the time (rather than frequency) domain. |
| first | number | undefined | The first of the data bands to use. If |
| last | number | undefined | The last of the data bands to use. If |
Examples
OH FUN! There are currently no examples using Bands.