suterma / vue-audio-level-meter

A simple audio (peak) level meter for Vue.js

Home Page:https://suterma.github.io/vue-audio-level-meter/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

vue-audio-level-meter

A simple audio (peak) level meter for Vue.js

Visual example

Installation

npm install vue-audio-level-meter

How to use

Build & Development

This package uses Vue 3 + TypeScript + Vite.

Project Setup

npm install

Compile and Hot-Reload for Development

npm run dev

Type-Check, Compile and Minify for Production

# build for production
npm run build

# locally preview production build
npm run preview

# to publish to GitHub Pages (requires committing and pushing the build in the /dist folder)
git add dist -f
git commit -m 'built for gh-pages'
git push
npm run publish-gh-pages

Run Unit Tests with Vitest

npm run test

Credits

  • @highlightjs/vue-plugin, provides a highlightjs component for use in your Vue.js 3 applications. (Released under the BSD-3-Clause license, by the highlight.js team)

Inspiration from


vue-audio-level-meter is created with love by Marcel Suter for the Replayer project.

About

A simple audio (peak) level meter for Vue.js

https://suterma.github.io/vue-audio-level-meter/

License:MIT License


Languages

Language:Vue 89.1%Language:TypeScript 5.1%Language:CSS 3.0%Language:HTML 2.6%Language:JavaScript 0.2%