Alignment of bars relative to the canvas height: - “center”: Bars expand vertically from the horizontal centerline. - “bottom”: Bars grow upwards from the bottom edge. - “top”: Bars grow downwards from the top edge. Default"center"
barGap?
number
Gap between adjacent bars in CSS pixels. Default2
barRadius?
number
Corner radius for bars in CSS pixels. If undefined and rounded is true, pill/capsule shapes are rendered (radius = barWidth / 2). If 0, flat rectangular bars are rendered. Defaultundefined
barWidth?
number
Width of each bar in CSS pixels. Default3
minBarHeight?
number
Minimum height of a bar in CSS pixels. If 0, bars taper down to a circle of diameter barWidth during silence. Default0
rounded?
boolean
Whether bar ends are rounded (pill/capsule shape). Defaulttrue
symmetric?
boolean
Whether to mirror amplitude symmetrically around center in “center” mode. Defaulttrue