2.1.6 • Published 6 years ago

sono v2.1.6

Weekly downloads
17
License
MIT
Repository
github
Last release
6 years ago

sono

NPM version Build Status

A simple yet powerful JavaScript library for working with Web Audio

http://stinkstudios.github.io/sono/

Features

  • Full audio management including loading, playback, effects and processing
  • Abstracts differences across browsers such as file types and Web Audio support
  • Web Audio effects such as 3d positioning, reverb and frequency analysis
  • Handles inputs from audio files, media elements, microphone, oscillators and scripts
  • Falls back to HTMLAudioElement where Web Audio is not supported (e.g. IE 11 and less)
  • Pauses and resumes audio playback on page visibility changes
  • Handles initial touch to unlock media playback on mobile devices

Installation

npm i -S sono

Usage

import sono from 'sono';
import 'sono/effects';
import 'sono/utils';

const sound = sono.create('boom.mp3');
sound.effects = [sono.echo(), sono.reverb()];
sound.play();

Documentation

Getting started

Sounds

Effects

Controls

Loading

Utils

Dev setup

Install dependencies

npm i

Run tests

npm i -g karma-cli
npm test

Run examples

npm run examples

Build bundles

npm run build

Watch and test

npm start
2.1.6

6 years ago

2.1.5

6 years ago

2.1.4

7 years ago

2.1.3

7 years ago

2.1.2

7 years ago

2.1.1

7 years ago

2.1.0

7 years ago

2.0.11

7 years ago

2.0.9

7 years ago

2.0.8

7 years ago

2.0.7

7 years ago

2.0.6

7 years ago

2.0.5

7 years ago

2.0.4

7 years ago

2.0.3

7 years ago

2.0.2

7 years ago

2.0.0

7 years ago

0.1.9

7 years ago

0.1.85

7 years ago

0.1.83

7 years ago

0.1.82

7 years ago

0.1.81

8 years ago

0.1.8

8 years ago