1.2.15 • Published 2 years ago

@avahq/resampler-native-rubato v1.2.15

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

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.

1.2.14

2 years ago

1.2.15

2 years ago

1.2.7

2 years ago

1.2.4

2 years ago

1.2.3

2 years ago

1.2.2

2 years ago

1.2.0

2 years ago

1.1.4

2 years ago

1.1.3

2 years ago

1.1.2

2 years ago

1.0.6

2 years ago