ts-audio-visualizer
v1.0.4
Published
A React component that visualizes audio from the microphone.
Downloads
13
Maintainers
Readme
ts-audio-visualizer
💐 Features
- Microphone audio converted to graphs
- Cleaner HTML
- Customizable and themeable
📈 Install now !
npm i ts-audio-visualizer
yarn add ts-audio-visualizer
🚀 Use
🖊️ Example
- Just paste this code into tsx!
<AudioVisualizer
mode="bars"
height="100px"
width="50%"
bgColor="#252525"
barColor="#efefef"
/>
⚙️ props
|name|description|type|default|
|-|-|:-:|:-:|
|mode|Change the shape of the visualizer|bars
/ grid
/ wave
|bars
|
|height|Change the width of the visualizer|string
|100%
|
|width|Change the height of the visualizer|string
|100%
|
|bgColor|Change the background color of the visualizer|string
|#000
|
|barColor|Change the color of the bars in the visualizer|string
|#fff
|
🐸 < Please share !