<commit_before># Polymer audio-elements

audio-processor (mic)
audio-visualizer<commit_msg>update md<commit_after># Polymer audio elements

  - audio-processor(mic only)
  - audio-vizualize(svg waveform)

#audio-processor
####Usage

````
    <audio-processor id="processor1"></audio-processor>
````
Use **id** for identity processor for further using.

##API
####Properties
```
properties: {
        fps: { //frame rate per second
            type: Number,
            value: 60
        },
        fftSize: { //fft size [32-2048]
            type: Number,
            value: 2048
        }
    },
```

####Events
 - processedData (Uint8Array buffer)


#audio-visualizer
####Usage
```
    <audio-visualizer processor-id="processor1"></audio-visualizer>
```
Use **id** to specify audio-processor.
##API

####Properties
```
        processorId: String,
        //size of svg
        width: {
            type: Number,
            value: 500
        },
        height: {
            type: Number,
            value: 300
        }
```

####Custom properties
- --bg: #212121; //svg background
- --wave-fill: none;
- --wave-stroke: #E91E63; 

####Mixins
- --svg-mix
- --wave-mix
{'fraction_non_alphanumeric': 0.1605465414175918, 'fraction_numerical': 0.026473099914602904, 'mean_word_length': 2.1847826086956523, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, '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': '2508480', 'n_tokens_mistral': 394, 'n_tokens_neox': 355, 'n_words': 89}