vue-audio-visual: Dynamic Audio Visualization Components for Vue.js

This repository profile is provided by osrepos.com, an open source repository discovery platform.

vue-audio-visual: Dynamic Audio Visualization Components for Vue.js

Summary

vue-audio-visual is a powerful Vue.js plugin offering a suite of HTML5 audio visualization components. Built with the Web Audio API, it enables developers to easily integrate dynamic and visually appealing audio spectrums, waveforms, and circular visualizers into their Vue applications. This library provides flexible components and composable functions for a seamless development experience.

Repository Information

Analyzed by OSRepos on October 12, 2025

Topics

Click on any tag to explore related repositories

Use at your own risk

OSRepos shares public repositories for knowledge and discovery only. Any installation, execution, configuration, or use of code from these repositories is the user's own responsibility. Always review the repository, source code, dependencies, licenses, and security implications before running or installing anything. OSRepos is not responsible for issues, damages, or losses resulting from third-party repositories.

Introduction

vue-audio-visual is an innovative Vue.js plugin designed to bring dynamic audio visualization to your web applications. Leveraging the power of the HTML5 Web Audio API, this library provides a collection of versatile Vue components that enable developers to effortlessly display audio spectrums, waveforms, and other engaging visual effects. It is fully compatible with Vue 3, with a specific version available for Vue 2 projects, ensuring broad applicability.

The plugin offers various components like AvLine, AvBars, AvCircle, AvWaveform, and AvMedia, each providing a unique way to visualize audio data. Whether you need a simple line graph, a complex bar spectrum, or an interactive waveform, vue-audio-visual has a component to fit your needs. You can explore working examples on the official DEMO page.

Installation

Getting started with vue-audio-visual is straightforward.

Install the package using npm:

npm install --save vue-audio-visual

For Vue 2 projects, you should install version 2.5.1:

npm i -S vue-audio-visual@2.5.1

After installation, you can register the plugin globally in your main.js file:

import { createApp } from "vue";
import App from "./App.vue";
import { AVPlugin } from "vue-audio-visual";

const app = createApp(App);
app.use(AVPlugin);

app.mount("#app");

Alternatively, you can import and use individual components as needed:

<script setup lang="ts">
import { AVWaveform } from 'vue-audio-visual'
</script>

<template>
  <AVWaveform src="http://foo.com/music.ogg" />
</template>

The plugin also provides composable functions for each component, offering greater control and flexibility by allowing direct access to audio and canvas element refs:

<script setup lang="ts">
import { ref } from 'vue'
import { useAVBars } from 'vue-audio-visual'

const player = ref(null)
const canvas = ref(null)
const mySource = "./symphony.mp3"

useAVBars(player, canvas, { src: mySource, canvHeight: 40, canvWidth: 200, barColor: 'lime' })
</script>

<template>
  <div>
    <audio ref="player" :src="mySource" controls />
    <canvas ref="canvas" />
  </div>
</template>

Examples

Here are some examples of the visualization components provided by vue-audio-visual:

AvLine

The AvLine component draws a continuous line graph representing the audio spectrum.

<av-line :line-width="2" line-color="lime" src="/static/music.mp3"></av-line>

AvBars

The AvBars component displays an audio spectrum as a series of vertical bars, with customizable colors and cap effects.

<av-bars
  caps-color="#FFF"
  :bar-color="['#f00', '#ff0', '#0f0']"
  canv-fill-color="#000"
  :caps-height="2"
  src="/static/bach.mp3"
></av-bars>

AvCircle

The AvCircle component renders a circular audio visualizer, often including playtime progress and text.

<av-circle
  :outline-width="0"
  :progress-width="5"
  :outline-meter-space="5"
  :playtime="true"
  playtime-font="18px Monaco"
  src="/static/bach.mp3"
></av-circle>

AvWaveform

The AvWaveform component generates a clickable waveform of the audio, allowing users to seek through the track.

<av-waveform src="/static/bar.mp3"></av-waveform>

AvMedia

The AvMedia component visualizes a MediaStream object, useful for microphone input or other live audio sources.

<script setup lang="ts">
import { AVMedia } from 'vue-audio-visual'
import { useUserMedia } from '@vueuse/core'
// ...
const { stream } = useUserMedia()
// ...
</script>

<template>
  <!-- ... -->
  <AVMedia :media="stream" type="circle" />
  <!-- ... -->
</template>

Why Use It?

vue-audio-visual stands out as an excellent choice for several reasons:

  • Ease of Integration: Quickly add sophisticated audio visualizations to your Vue.js projects with minimal setup.
  • Rich Component Library: Offers a variety of pre-built components (AvLine, AvBars, AvCircle, AvWaveform, AvMedia) to suit different aesthetic and functional requirements.
  • Modern Web API: Built on the HTML5 Web Audio API, ensuring high performance and broad browser compatibility.
  • Vue 3 & Vue 2 Support: Provides compatibility for both major versions of Vue.js, making it adaptable for various projects.
  • Composable Functions: Offers a flexible API with composable functions, giving developers fine-grained control over audio and canvas elements.
  • Customization: Each component comes with extensive props for detailed customization of colors, sizes, and behaviors.

Links

Related repositories

Similar repositories that may be relevant next.

LibrePods: Liberate Your AirPods on Android and Linux

LibrePods: Liberate Your AirPods on Android and Linux

June 27, 2026

LibrePods is an open-source project that brings Apple AirPods features to non-Apple devices. It implements the proprietary protocol, allowing users to control listening modes, monitor battery, and utilize ear detection on Android and Linux. This project aims to free AirPods from the Apple ecosystem, enhancing their versatility.

accessibilityairpodsandroid
VoxCPM: Tokenizer-Free TTS for Multilingual Speech, Voice Design, and Cloning

VoxCPM: Tokenizer-Free TTS for Multilingual Speech, Voice Design, and Cloning

June 1, 2026

VoxCPM2 is a groundbreaking tokenizer-free Text-to-Speech system, offering highly natural and expressive synthesis across 30 languages. It enables creative voice design from natural language descriptions and provides advanced controllable voice cloning capabilities. With its 2B parameter model, VoxCPM2 delivers 48kHz studio-quality audio, making it a powerful tool for diverse speech generation needs.

audiodeeplearningmultilingual
MOSS-TTS Family: Open-Source High-Fidelity Speech and Sound Generation

MOSS-TTS Family: Open-Source High-Fidelity Speech and Sound Generation

May 31, 2026

The MOSS-TTS Family offers an open-source suite of models for high-fidelity, highly expressive speech and sound generation. Designed for complex real-world scenarios, it covers stable long-form speech, multi-speaker dialogue, voice design, environmental sound effects, and real-time streaming TTS. This comprehensive family of models from MOSI.AI and OpenMOSS team provides robust solutions for diverse audio generation needs.

audioaudio-tokenizerllm
pyAudioAnalysis: A Python Library for Audio Feature Extraction and Analysis

pyAudioAnalysis: A Python Library for Audio Feature Extraction and Analysis

April 6, 2026

pyAudioAnalysis is an open-source Python library designed for a wide range of audio analysis tasks. It provides robust functionalities for feature extraction, classification, and segmentation of audio data, making it a valuable tool for researchers and developers. This library simplifies complex audio signal processing and machine learning applications.

audioaudio-analysismachine-learning

Source repository

Open the original repository on GitHub.

View on GitHub
OS
OSRepos

Analysis and discovery of open source repositories. Find interesting projects and follow their updates.

Monitor your website with YourWebsiteScore

OSRepos shares public repositories for knowledge and discovery only. Any installation, execution, configuration, or use of third-party repository code is at your own risk. Always review source code, dependencies, licenses, and security implications before running anything.

© 2025 OSRepos. Built with Nuxt 3 and lots of ❤️