New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

aubiojs

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

aubiojs

[Online Demo](https://qiuxiang.github.io/aubiojs/)

latest
npmnpm
Version
0.2.1
Version published
Weekly downloads
760
-3.31%
Maintainers
1
Weekly downloads
 
Created
Source

aubiojs npm-badge build-badge

Online Demo

aubiojs is a real-time audio processing library based on aubio, now including:

  • pitch detection
  • tempo detection

Usage

Web

<script src="https://unpkg.com/aubiojs"></script>
<script>
  aubio().then(({ Tempo }) => {
    const tempo = new Tempo(bufferSize, hopSize, sampleRate);
    tempo.do(audioBuffer);
    const bpm = tempo.getBpm();
  });
</script>

Node

npm i aubiojs
import aubio from "aubiojs";

const { Tempo } = await aubio();
const tempo = new Tempo(bufferSize, hopSize, sampleRate);
tempo.do(audioBuffer);
const bpm = tempo.getBpm();

Build

This project uses emscripten to compile aubio, make sure you have installed.

npm run build

FAQs

Package last updated on 08 Nov 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts