audio-fns
TypeScript icon, indicating that this package has built-in type declarations

0.3.3 • Public • Published

Motivation

There are many javascript audio libraries, but most of them make assumptions about using Web Audio API or that audio is being manipulated in real time. Audio-fns takes a different approach, providing functions to generate and operate on audio samples where the main focus is offline rendering, which allows favoring simplicity and elegance over performance constraints. It is currently pre version 1, the API is experimental and might change without notice.

Get started

Install

npm install --save audio-fns
# or
yarn add audio-fns

Use

import { bpmToSamples } from 'audio-fns'

console.log(bpmToSamples(44100, 120))

Links

License

MIT

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.3.3
    7
    • latest

Version History

Package Sidebar

Install

npm i audio-fns

Weekly Downloads

24

Version

0.3.3

License

MIT

Unpacked Size

238 kB

Total Files

214

Last publish

Collaborators

  • skulptur