<commit_before>var engine = require("./node-core-audio").createNewAudioEngine();

engine.addAudioCallback( function(numSamples, inputBuffer) { 
	//console.log( inputBuffer[0] );
	var outputThing = new Array();

	outputThing = inputBuffer;

	console.log( outputThing.length + " channels" );
	console.log( outputThing[0].length + " samples" );
	console.log( outputThing[1].length + " samples" );


	for( var iChannel=0; iChannel<outputThing.length; ++iChannel ) {

		for( var iSample=0; iSample<outputThing[iChannel].length; ++iSample ) {

			if( iSample % 2 )
				outputThing[iChannel][iSample] = 1.0;
			else 
				outputThing[iChannel][iSample] = -1.0;
		}
	}

	return outputThing;
});<commit_msg>Update second test, actually outputs audio<commit_after>var engine = require("./node-core-audio").createNewAudioEngine();
var outputBuffer = [];

engine.addAudioCallback( function(inputBuffer) { 
	outputBuffer = inputBuffer[0];

	for( var iSample=0; iSample<outputBuffer[0].length; ++iSample ) {
		outputBuffer[0][iSample] = iSample / outputBuffer[0].length;
	}

	return outputBuffer;
});
{'fraction_non_alphanumeric': 0.15391705069124423, 'fraction_numerical': 0.013824884792626729, 'mean_word_length': 5.101123595505618, 'pattern_counts': {'":': 0, '<': 6, '<?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': '5780274', 'n_tokens_mistral': 386, 'n_tokens_neox': 358, 'n_words': 67}