Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/Kandreas9/audio-visualiser

🎧 A blazingly fast audio visualiser web component
https://github.com/Kandreas9/audio-visualiser

Last synced: 2 months ago
JSON representation

🎧 A blazingly fast audio visualiser web component

Awesome Lists containing this project

README

        

# Audio Visualiser Web Component

A simple, light and blazingly fast web component for visualising audio.

[![CDN - jsDelivr][logo]][jsdelivr]

![Showcase Example][showcase]

## How to use?

- Copy the CDN link in your head tag as a module script.

```html

```

- You can now use the `` tag

```html

```

## Attributes

`audio-type`

- video (default)
- audio

`audio-src` - A link or path to your file. (YTB doesnt work)

`visualiser-color` - Any type of color you want hex or whatever.

`visualiser-bar-count` - The amount of bars the visualiser will have. (default is 50)

`controls-color` - Color for the controls (default is black)

`default-classes` - Set of premade classes with colors and gradients

- neon

## Full Example

```html

```

[logo]: https://img.shields.io/static/v1?label=CDN&message=jsDelivr&color=%23ff5626&logo=jsDelivr&logoColor=%23ff5626
[jsdelivr]: https://cdn.jsdelivr.net/gh/Kandreas9/audio-visualiser@main/dist/audio-visualiser.js
[showcase]: https://raw.githubusercontent.com/Kandreas9/audio-visualiser/main/src/assets/showcase.png