<jupyter_start><jupyter_text>Microphone Test: Run the next cell and speak into the microphone...<jupyter_code>from subprocess import Popen, PIPE
 
process = Popen(['sox', '-q', '-b', '16', '--endian', 'little', '-c', '1', '-r', '16000', '-e', 'signed-integer', '-d', 'audio/microphone.wav', 'trim', '0', '6'], stdout=PIPE, stderr=PIPE)
stdout, stderr = process.communicate()
print (stdout, stderr)
from subprocess import Popen, PIPE
 
process = Popen(['sox', 'audio/microphone.wav', '-d'], stdout=PIPE, stderr=PIPE)
stdout, stderr = process.communicate()
print (stdout)<jupyter_output>b''
{'fraction_non_alphanumeric': 0.20578231292517007, 'fraction_numerical': 0.017006802721088437, 'mean_word_length': 6.011904761904762, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 4, '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}}
{'chain_length': '1', 'dir': 'jupyter-structured-clean-dedup', 'id': '462261', 'license': 'MIT', 'n_tokens_mistral': 228, 'n_tokens_neox': 215, 'n_words': 57, 'path': 'docs/jupyter/hello-sox-python-mac.ipynb', 'repo_name': 'wwlib/electron-typescript-robokit', 'size': '588'}