<commit_before>var snare = Myo.create();
var kick = Myo.create(1);


snare.on('fist', function(edge){
    //Edge is true if it's the start of the pose, false if it's the end of the pose
    if(edge){
        snare.zeroOrientation();
    }
});


snare.on('imu', function(data){

	if( (Math.abs(data.accelerometer.y)>1.3) && Math.abs(data.accelerometer.y)<1.9 ){

		pubsub.publish('hitDrum', 's');

	} else if(Math.abs(data.accelerometer.y)>2) {

		pubsub.publish('hitDrum', 's');
	}
	  
});


kick.on('imu', function(data){

 	if(data.accelerometer.y > 0.5){

    	pubsub.publish('hitDrum', 'k')
        
    }
});<commit_msg>decrease snare and kick sensitivity<commit_after>var snare = Myo.create();
var kick = Myo.create(1);


snare.on('fist', function(edge){
    //Edge is true if it's the start of the pose, false if it's the end of the pose
    if(edge){
        snare.zeroOrientation();
    }
});


snare.on('imu', function(data){

	if( (Math.abs(data.accelerometer.y)> 1.9) && Math.abs(data.accelerometer.y)<5.1 ){

		pubsub.publish('hitDrum', 's');

	// } else if(Math.abs(data.accelerometer.y)>2) {

	// 	pubsub.publish('hitDrum', 's');
	// }
	  }
});


kick.on('imu', function(data){

 	if(data.accelerometer.y > 1.2){

    	pubsub.publish('hitDrum', 'k')
        
    }
});
{'fraction_non_alphanumeric': 0.20031176929072486, 'fraction_numerical': 0.012470771628994544, 'mean_word_length': 3.2098360655737705, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 9, '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': '450984', 'n_tokens_mistral': 548, 'n_tokens_neox': 500, 'n_words': 95}