<commit_before><style>

input { text-align: center; 
}
.city-input {
  padding: 10px;
  padding-left: 25px;
  border: solid 5px #c9c9c9;
  transition: border 0.3s;
  width: 400px;
  font-size: 14pt;
  border-radius: 30px;
}
.city-input:focus,
.city-input.focus {
  border: solid 5px #969696;
  border-radius: 30px;
}
.style-2 {
	padding: 10px;
  	border: solid 5px #c9c9c9;
}
#form{
	padding: 20px;
}
.headername{
	color: #c52d2f;
	font-size: 30pt;
}
#result{
	width: 100%;
	background-color: #c52d2f;
	color: #fff;
}
.res-table{
	border: 0px;
	color: #fff;
	width: 100%;
	text-align: center;
}
</style>
<html>
<head>
	<meta charset="utf-8">
	<title>Urban Sounds</title>
	<link rel="stylesheet" href="http://js.arcgis.com/3.14/esri/css/esri.css">
	<!-- core CSS -->
    <link href="css/bootstrap.min.css" rel="stylesheet">
    <link href="css/animate.min.css" rel="stylesheet">
    <link href="css/prettyPhoto.css" rel="stylesheet">
    <link href="css/main.css" rel="stylesheet">
    <link href="css/responsive.css" rel="stylesheet">
</head>
<body class="homepage">

<header id="header">
    <div class="top-bar">
        <div class="container">

			<!--<p class="headername">Urban Sounds</p>--> <div id="form"></div>
		</div>
	</div>
</header>

<div id="result"></div>
<div id="map" style="width:100%; height: 100%"></div>

<script src="cities.js"></script>
<script src="js/synaptic.min.js"></script>
<script src="http://js.arcgis.com/3.14/"></script>
<script>

/*** NETS ****/
var synaptic = require('synaptic');
network = new synaptic.Architect.Perceptron(4, 6, 6);

var weights = [ 0.13779229  0.42899536  0.72150488  1.1405436   0.129561    0.24574537
 							-0.86968961 -0.99577228 -1.34728125 -1.5863265  -1.49176571 -0.99014237
  						-0.84643509  0.08132015  1.11205184 -0.47902786 -0.17223208  0.19379138
	 						-0.55426943  0.10749825 -0.01165068 -0.31454738  0.93515874  0.03495541
	  					-0.68351535  0.37987862 -0.20904491 -0.37329112 -0.04754734 -0.31818147
		  				 0.45610296 -0.9795869   0.79590094 -1.15980189 -1.31070128 -1.35667531
			 				-0.4305098   0.55016967  0.98454992  1.01128292  0.22428675 -0.18659682
			  			-0.22211843  0.38178407  0.36319017 -0.70839547  0.21330593  0.28675841
				 			-0.64215684 -0.33262234  0.13730018 -0.46372333  0.50179133  0.18198072
				  		-0.60195195 -0.98793303 -0.85496104 -0.53825072  0.82121837 -0.2400036
					 		-0.5758121   0.43660466  1.04667061  0.66505417  0.34907884  0.00758897
					  	-0.24615171  1.22581099 -0.05599957 -1.31825281  1.25805682 -0.23666399];

/*** AUDIO ****/

function createSynth(){
	var synth = {};
	var ac = new AudioContext();
	var o1 = ac.createOscillator();
	var o2 = ac.createOscillator();
	var g1 = ac.createGain();
	var g2 = ac.createGain();
	o1.connect(g1);
	o2.connect(g2);
	var filter = ac.createBiquadFilter();
	g1.connect(filter);
	g2.connect(filter);
	filter.connect(ac.destination);
	var waves = ['sine', 'square', 'sawtooth', 'triangle'];

	synth.setParameters = function(mix, o1wave, o2wave, ressonance, cutoff, detune) {
		var freq = 440; //? mix???
		o1.type = waves[o1wave]; 
		o2.type = waves[o2wave]; 
		o1.frequency.value = freq; 
		o2.frequency.value = freq + detune;
		filter.frequency = cutoff * 22050;
		filter.q = ressonance;
		//filter.type = ; ??
		//g1.value = ;<commit_msg>Adds commas to weights<commit_after><style>

input { text-align: center; 
}
.city-input {
  padding: 10px;
  padding-left: 25px;
  border: solid 5px #c9c9c9;
  transition: border 0.3s;
  width: 400px;
  font-size: 14pt;
  border-radius: 30px;
}
.city-input:focus,
.city-input.focus {
  border: solid 5px #969696;
  border-radius: 30px;
}
.style-2 {
	padding: 10px;
  	border: solid 5px #c9c9c9;
}
#form{
	padding: 20px;
}
.headername{
	color: #c52d2f;
	font-size: 30pt;
}
#result{
	width: 100%;
	background-color: #c52d2f;
	color: #fff;
}
.res-table{
	border: 0px;
	color: #fff;
	width: 100%;
	text-align: center;
}
</style>
<html>
<head>
	<meta charset="utf-8">
	<title>Urban Sounds</title>
	<link rel="stylesheet" href="http://js.arcgis.com/3.14/esri/css/esri.css">
	<!-- core CSS -->
    <link href="css/bootstrap.min.css" rel="stylesheet">
    <link href="css/animate.min.css" rel="stylesheet">
    <link href="css/prettyPhoto.css" rel="stylesheet">
    <link href="css/main.css" rel="stylesheet">
    <link href="css/responsive.css" rel="stylesheet">
</head>
<body class="homepage">

<header id="header">
    <div class="top-bar">
        <div class="container">

			<!--<p class="headername">Urban Sounds</p>--> <div id="form"></div>
		</div>
	</div>
</header>

<div id="result"></div>
<div id="map" style="width:100%; height: 100%"></div>

<script src="cities.js"></script>
<script src="js/synaptic.min.js"></script>
<script src="http://js.arcgis.com/3.14/"></script>
<script>

/*** NETS ****/
var synaptic = require('synaptic');
network = new synaptic.Architect.Perceptron(4, 6, 6);

var weights = [ 0.13779229,  0.42899536,  0.72150488,  1.1405436,   0.129561,    0.24574537,
 				-0.86968961, -0.99577228, -1.34728125, -1.5863265,  -1.49176571, -0.99014237,
  				-0.84643509,  0.08132015,  1.11205184, -0.47902786, -0.17223208,  0.19379138,
	 			-0.55426943,  0.10749825, -0.01165068, -0.31454738,  0.93515874,  0.03495541,
	  			-0.68351535,  0.37987862, -0.20904491, -0.37329112, -0.04754734, -0.31818147,
 				 0.45610296, -0.9795869,   0.79590094, -1.15980189, -1.31070128, -1.35667531,	 
 				-0.4305098,   0.55016967,  0.98454992,  1.01128292,  0.22428675, -0.18659682,
			  	-0.22211843,  0.38178407,  0.36319017, -0.70839547,  0.21330593,  0.28675841,
				-0.64215684, -0.33262234,  0.13730018, -0.46372333,  0.50179133,  0.18198072,
		  		-0.60195195, -0.98793303, -0.85496104, -0.53825072,  0.82121837, -0.2400036,
				-0.5758121,   0.43660466,  1.04667061,  0.66505417,  0.34907884,  0.00758897,
				-0.24615171,  1.22581099, -0.05599957, -1.31825281,  1.25805682, -0.23666399];

/*** AUDIO ****/

function createSynth(){
	var synth = {};
	var ac = new AudioContext();
	var o1 = ac.createOscillator();
	var o2 = ac.createOscillator();
	var g1 = ac.createGain();
	var g2 = ac.createGain();
	o1.connect(g1);
	o2.connect(g2);
	var filter = ac.createBiquadFilter();
	g1.connect(filter);
	g2.connect(filter);
	filter.connect(ac.destination);
	var waves = ['sine', 'square', 'sawtooth', 'triangle'];

	synth.setParameters = function(mix, o1wave, o2wave, ressonance, cutoff, detune) {
		var freq = 440; //? mix???
		o1.type = waves[o1wave]; 
		o2.type = waves[o2wave]; 
		o1.frequency.value = freq; 
		o2.frequency.value = freq + detune;
		filter.frequency = cutoff * 22050;
		filter.q = ressonance;
		//filter.type = ; ??
		//g1.value = ;
{'fraction_non_alphanumeric': 0.18699309101832381, 'fraction_numerical': 0.2201862421147492, 'mean_word_length': 3.3409387222946547, 'pattern_counts': {'":': 0, '<': 79, '<?xml version=': 0, '>': 79, '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': '1392657', 'n_tokens_mistral': 3855, 'n_tokens_neox': 2924, 'n_words': 531}