Socket
Book a DemoInstallSign in
Socket

@avahq/resampler-native-rubato

Package Overview
Dependencies
Maintainers
3
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@avahq/resampler-native-rubato

**This node module is based on rubato, a Rust program that can re-sampler (change sample rate) quickly**

1.2.15
latest
Source
npmnpm
Version published
Maintainers
3
Created
Source

Resampler-native-rubato

This node module is based on rubato, a Rust program that can re-sampler (change sample rate) quickly

We create a bindign via napi.rs and published it.

Usage

Build (if needed)

yarn && yarn run build

Unit Tests

Cargo test && Yarn test

From buffer (expect f32 data)

import { reSampleBuffer } from "@avahq/resampler-native-rubato";

// Check eg inside __test__ folder

From int16 buffer

import { reSampleInt16Buffer } from "@avahq/resampler-native-rubato";

// Check eg inside __test__ folder

From file (just present for try purpose)

import { reSampleAudioFile } from "@avahq/resampler-native-rubato";

// Check eg inside __test__ folder

Release

Ensure you have set your NPM_TOKEN in the GitHub project setting.

In Settings -> Secrets, add NPM_TOKEN into it.

When you want to release the package:

npm version [ | major | minor | patch | premajor | preminor | prepatch | prerelease [--preid=] | from-git]

git push GitHub actions will do the rest job for you.

FAQs

Package last updated on 08 Nov 2023

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

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.