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!

npmnpm
Version
1.1.0
Version published
Maintainers
1
Created
Source

What is this?

module to upsample your wav file from 2000hz to 4000hz.

Installation

npm i upsample --save

Usage

let upSampledData = upsample(orginalData)

Inputs

orginalData: the orginal data of wav file without header wav file(more info for wav format )

Then...

import { upsample } from 'upsample';

var codes = new Int16Array(<your_wav_arraybuffer>);

let orginalData = codes.slice(22)
let upSampledData = upsample(orginalData)

Keywords

upsample

FAQs

Package last updated on 01 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