audio-fns
v0.3.3
Published
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 wher
Downloads
19
Maintainers
Readme
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
- https://github.com/skulptur/unit-fns
- https://github.com/audiojs/music-fns
- https://github.com/meyda/meyda
- https://en.wikipedia.org/wiki/Mel_scale
- https://github.com/oramics/dsp-kit
- https://github.com/indutny/fft.js
- https://github.com/ciconia/awesome-music#audio-libraries
- https://github.com/audiojs
- https://aldel.com/reverbgen/
- https://github.com/audiocogs/aurora.js
- https://en.wikipedia.org/wiki/Colors_of_noise
- https://github.com/scijs/window-function
- https://github.com/audiojs/freqr
- https://github.com/markert/fili.js
- http://dmeffert.github.io/digital-filter-explorer/docs/filter.html
- https://www.advsolned.com/difference-between-iir-and-fir-filters-a-practical-design-guide/
- https://www.musicdsp.org/en/latest/
- http://phrogz.net/js/framerate-independent-low-pass-filter.html
License
MIT