import React from "react"; const BAR_COUNT = 15; const BAR_ANIMATION_DELAYS = [ "0.3s", "0.7s", "0.1s", "0.9s", "0.4s", "0.2s", "0.8s", "0.5s", "0s", "0.6s", "0.3s", "0.9s", "0.1s", "0.7s", "0.4s", ]; export default function AudioVisualizer({ isSilent = false }) { // Define the base animation style const activeAnimation = "wave 2.5s ease-in-out infinite"; // Define the style for the silent state (dots) const silentStyle = { animation: "none", height: "5px", }; return (