@hameee/audio-visualizer-js

0.1.2 • Public • Published

Audio Visualizer JS

This NPM package provides a set of tools for visualizing audio data in web-based applications. Users can leverage this library to develop web-based audio players or visualization apps.

Example Screenshot

Installation

npm install @hameee/audio-visualizer-js

Usage

import { startAudioContext } from './node_modules/@hameee/audio-visualizer-js/index.mjs';

// Declare the audioContext variable
let audioContext;

// Define the handler function starting the audio context and removing the event listener
const handleAudioContextStart = () => {
  startAudioContext(audioContext);
  document.removeEventListener('click', handleAudioContextStart);
};

// Add an event listener
document.addEventListener('click', handleAudioContextStart);

Features

  • Audio spectrum visualization
  • Timing-based animation effects

Contributing

Contributions are welcome! If you find a bug or have a feature request, please open an issue. If you'd like to contribute code, please follow these steps:

  1. Fork the repository
  2. Create a new branch (git checkout -b feature/my-feature)
  3. Make your changes and commit them (git commit -am 'Add some feature')
  4. Push to the branch (git push origin feature/my-feature)
  5. Create a new Pull Request

License

This project is licensed under the ISC License.

Please let me know if you have any other questions or if you'd like me to modify the README further.

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.1.2
    0
    • latest

Version History

Package Sidebar

Install

npm i @hameee/audio-visualizer-js

Weekly Downloads

1

Version

0.1.2

License

ISC

Unpacked Size

52.7 kB

Total Files

6

Last publish

Collaborators

  • hameee