<commit_before>define(["Tone/core/Tone", "Tone/core/Gain"], function(Tone){

	"use strict";

	/**
	 *  buses are another way of routing audio
	 *
	 *  augments Tone.prototype to include send and recieve
	 */

	/**
	 *  All of the routes
	 *
	 *  @type {Object}
	 *  @static
	 *  @private
	 */
	var Buses = {};

	/**
	 *  Send this signal to the channel name.
	 *  @param  {String} channelName A named channel to send the signal to.
	 *  @param  {Decibels} amount The amount of the source to send to the bus.
	 *  @return {GainNode} The gain node which connects this node to the desired channel.
	 *                     Can be used to adjust the levels of the send.
	 *  @example
	 * source.send("reverb", -12);
	 */
	Tone.prototype.send = function(channelName, amount){
		if (!Buses.hasOwnProperty(channelName)){
			Buses[channelName] = this.context.createGain();
		}
		amount = Tone.defaultArg(amount, 0);
		var sendKnob = new Tone.Gain(amount, Tone.Type.Decibels);
		this.connect(sendKnob);
		sendKnob.connect(Buses[channelName]);
		return sendKnob;
	};

	/**
	 *  Recieve the input from the desired channelName to the input<commit_msg>fixing typos<commit_after>define(["Tone/core/Tone", "Tone/core/Gain"], function(Tone){

	"use strict";

	/**
	 *  buses are another way of routing audio
	 *
	 *  augments Tone.prototype to include send and receive
	 */

	/**
	 *  All of the routes
	 *
	 *  @type {Object}
	 *  @static
	 *  @private
	 */
	var Buses = {};

	/**
	 *  Send this signal to the channel name.
	 *  @param  {String} channelName A named channel to send the signal to.
	 *  @param  {Decibels} amount The amount of the source to send to the bus.
	 *  @return {GainNode} The gain node which connects this node to the desired channel.
	 *                     Can be used to adjust the levels of the send.
	 *  @example
	 * source.send("reverb", -12);
	 */
	Tone.prototype.send = function(channelName, amount){
		if (!Buses.hasOwnProperty(channelName)){
			Buses[channelName] = this.context.createGain();
		}
		amount = Tone.defaultArg(amount, 0);
		var sendKnob = new Tone.Gain(amount, Tone.Type.Decibels);
		this.connect(sendKnob);
		sendKnob.connect(Buses[channelName]);
		return sendKnob;
	};

	/**
	 *  Receive the input from the desired channelName to the input
{'fraction_non_alphanumeric': 0.1221978021978022, 'fraction_numerical': 0.0026373626373626374, 'mean_word_length': 3.093525179856115, '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': '5726739', 'n_tokens_mistral': 805, 'n_tokens_neox': 729, 'n_words': 230}