0.1.4 • Published 4 years ago

wasm-wav-encoder v0.1.4

Weekly downloads
20
License
-
Repository
-
Last release
4 years ago

Rust to WebAssembly WAV Encoder

WebAssembly WAV Encoder to convert raw audio and encode them to WAV files

uses the Rust programming language with wasm-pack for generating WASM binaries

How to use

install the dependency from npm

$ npm install wasm-wav-encoder

then on your JS / TypeScript files:

import * as wasm from "wasm-wav-encoder"


let encodedChunk = wasm.export_wav(leftBuffer, rightBuffer, sampleRate, firstChunk);
let blob = new Blob([encodedChunk], {type: "audio/wav"});
0.1.4

4 years ago

0.1.3

4 years ago

0.1.2

4 years ago

0.1.1

4 years ago

0.1.0

4 years ago