<commit_before>Microphone

A Javascript wrapper around AS3 Microphone.

## Usage

    <script src="microphone.js">
        Microphone.ready(function() {
            Microphone.enable();
            Microphone.ondata(function(data) {
                console.log(data.length); // Typically 2048 bytes.<commit_msg>Update README with API changes<commit_after>Microphone

A Javascript wrapper around AS3 Microphone.

## Usage

    <script src="microphone.js">
        Microphone.initialize();
        Microphone.onready(function() {
            Microphone.enable();
            Microphone.ondata(function(data) {
                console.log(data.length); // Typically 2048 bytes.
{'fraction_non_alphanumeric': 0.10682492581602374, 'fraction_numerical': 0.01483679525222552, 'mean_word_length': 2.6486486486486487, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, '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': '4564973', 'n_tokens_mistral': 199, 'n_tokens_neox': 176, 'n_words': 38}