<commit_before>/**
 * Object that we can throw audio data into and have it drain out.
 *
 * @todo better timing!
 * @todo resample input
 */
function AudioFeeder(channels, rate) {
	// assume W3C Audio API
	
	var AudioContext = window.AudioContext || window.webkitAudioContext;
	if (!AudioContext) {
		// stub it out
		console.log("No W3C Web Audio API available");
		this.bufferData = function(samplesPerChannel) {};
		this.close = function() {};
		this.mute = function() {};
		this.unmute = function() {};
		this.stub = true;
		return;
	}
	
	
	var context = window.audioContext = new AudioContext(),
		bufferSize = 1024,
		node,
		buffers = [],
		muted = false;<commit_msg>may or may not help with AudioContext setup failures<commit_after>/**
 * Object that we can throw audio data into and have it drain out.
 *
 * @todo better timing!
 * @todo resample input
 */
function AudioFeeder(channels, rate) {
	// assume W3C Audio API
	
	var AudioContext = window.AudioContext || window.webkitAudioContext;
	if (!AudioContext) {
		// stub it out
		console.log("No W3C Web Audio API available");
		this.bufferData = function(samplesPerChannel) {};
		this.close = function() {};
		this.mute = function() {};
		this.unmute = function() {};
		this.stub = true;
		return;
	}
	
	
	var context = new AudioContext(),
		bufferSize = 1024,
		node,
		buffers = [],
		muted = false;
{'fraction_non_alphanumeric': 0.12747252747252746, 'fraction_numerical': 0.008791208791208791, 'mean_word_length': 3.5838926174496644, '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': '6094233', 'n_tokens_mistral': 467, 'n_tokens_neox': 423, 'n_words': 134}