<commit_before># sounds-fun

###### Web Audio Library for Brighton Digital Festival

Caution! Setting some values too high may cause horrible and very loud sounds, experiment with low values first

# Installation

sounds-fun has zero dependencies and should run in any ES5 environment that supports the Web Audio API and Promises. It also has a `jsnext:main` field for [rollup](https://github.com/rollup/rollup/wiki/jsnext:main) users

```bash
npm i -S github:benji6/sounds-fun.git
```

# Instructions

## Getting started

```javascript
import soundsFun from 'sounds-fun'

const audioContext = new AudioContext

const loadSample = soundsFun(audioContext)
const playMySample = loadSample('samples/my-sample.wav')
playMySample({
  echo: {feedback: 0.5, time: 0.3},
  filter: {frequency: 1500, resonance: 10},
  gain: 1,
  pan: 1,
  playbackRate: 0.75,
  reverse: true,
}).catch(err => {
  // handle error
})
```
<commit_msg>tweak readme<commit_after># sounds-fun

###### Web Audio Library for Brighton Digital Festival

Caution! Setting some values too high may cause horrible and very loud sounds, experiment with low values first

# Installation

sounds-fun has zero dependencies and should run in any ES5 environment that supports the Web Audio API and Promises. It also has a `jsnext:main` field for [rollup](https://github.com/rollup/rollup/wiki/jsnext:main) users

```bash
npm i -S github:benji6/sounds-fun.git
```

# Instructions

## Getting started

```javascript
import soundsFun from 'sounds-fun'

const audioContext = new AudioContext

const loadSample = soundsFun(audioContext)
const playMySample = loadSample('samples/my-sample.wav')

playMySample({
  echo: {feedback: 0.5, time: 0.3},
  filter: {frequency: 1500, resonance: 10},
  gain: 1,
  pan: 1,
  playbackRate: 0.75,
  reverse: true,
}).catch(err => {
  // handle error
})
```

{'fraction_non_alphanumeric': 0.113882863340564, 'fraction_numerical': 0.01843817787418655, 'mean_word_length': 4.6422018348623855, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3034533', 'n_tokens_mistral': 613, 'n_tokens_neox': 564, 'n_words': 203}