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

upsample

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

upsample

upsample your wav file!

latest
npmnpm
Version
1.2.3
Version published
Maintainers
1
Created
Source

What is this?

module to upsample your wav file.

Installation

npm i upsample --save

Usage

let upSampledData = upsample(data, UPSAMPLE_RATIO)

Inputs

data: the data of wav file with int16 type.

UPSAMPLE_RATIO: ratio of upsampling(default is 2).

Then...

import { upsample } from 'upsample';

var data = new Int16Array(<your_wav_arraybuffer>);

let upSampledData = upsample(data, 4)

Keywords

upsample

FAQs

Package last updated on 08 Jun 2020

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