<commit_before>#!/bin/sh
. `dirname "$0"`/../config.sh
wget -nc -O /tmp/machine_lullaby_1.ogg http://c3voc.mazdermind.de/testfiles/machine_lullaby_1.ogg
while true; do
	ffmpeg -y -nostdin \
		-i "/tmp/machine_lullaby_1.ogg" \
		-ac 2 \
		-af aresample=$AUDIORATE \
		-c:a pcm_s16le \
		-f matroska \
		tcp://localhost:18000
done<commit_msg>avoid reconnecting to the pipeline while the old connection isn ot yet fully closed<commit_after>#!/bin/sh
. `dirname "$0"`/../config.sh
wget -nc -O /tmp/machine_lullaby_1.ogg http://c3voc.mazdermind.de/testfiles/machine_lullaby_1.ogg
while true; do
	ffmpeg -y -nostdin \
		-i "/tmp/machine_lullaby_1.ogg" \
		-ac 2 \
		-af aresample=$AUDIORATE \
		-c:a pcm_s16le \
		-f matroska \
		tcp://localhost:18000

	sleep 1;
done
{'fraction_non_alphanumeric': 0.15111695137976347, 'fraction_numerical': 0.035479632063074903, 'mean_word_length': 3.141304347826087, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '6194363', 'n_tokens_mistral': 356, 'n_tokens_neox': 326, 'n_words': 66}