<commit_before># adlib.js

Prollyfill of Web MIDI API

## Warning

**This is an unsupported component with an indefinite lifetime. This should be used for evaluation purposes 
only and should not be used for production level applications.**

## Getting Started

### In the browser

Download the [production version][min] or the [development version][max].

[min]: https://raw.github.com/marcoscaceres/adlib/master/dist/adlib.min.js
[max]: https://raw.github.com/marcoscaceres/adlib/master/dist/adlib.js

In your web page:

```html
<script src="libs/require.js"></script>
<script src="dist/adlib.min.js"></script>
```

## Documentation
[W3C Web MIDI API](http://www.w3.org/TR/webmidi/)

## Examples
Play a note on an output. 

```html
<script>
function success(access){
	//we have access, lets play
	var output = access.getOutputs()[0];
	if(output){
		output.send([0x91, 0x40, 0x5f]);
		output.send([0x91, 0x40, 0x0], performance.now() + 200);
		return;
	}<commit_msg>Removed mention of prollyfill<commit_after># adlib.js

Prototype reference implementaiton of [W3C Web MIDI API](http://webaudio.github.io/web-midi-api/)
. 

## Warning

**This is an unsupported component with an indefinite lifetime. This should be used for evaluation purposes 
only and should not be used for production level applications.**

## Getting Started

### In the browser

Download the [production version][min] or the [development version][max].

[min]: https://raw.github.com/marcoscaceres/adlib/master/dist/adlib.min.js
[max]: https://raw.github.com/marcoscaceres/adlib/master/dist/adlib.js

In your web page:

```html
<script src="libs/require.js"></script>
<script src="dist/adlib.min.js"></script>
```

## Documentation
[W3C Web MIDI API](http://webaudio.github.io/web-midi-api/)

## Examples
Play a note on an output. 

```html
<script>
function success(access){
	//we have access, lets play
	var output = access.getOutputs()[0];
	if(output){
		output.send([0x91, 0x40, 0x5f]);
		output.send([0x91, 0x40, 0x0], performance.now() + 200);
		return;
	}
{'fraction_non_alphanumeric': 0.14995083579154375, 'fraction_numerical': 0.021632251720747297, 'mean_word_length': 4.606060606060606, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 13, 'https://': 4, 'lorem ipsum': 0, 'www.': 1, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2416633', 'n_tokens_mistral': 748, 'n_tokens_neox': 689, 'n_words': 194}