<commit_before>"use strict";

var t_ring = $("#ring");//语音
var t_odg1a = $("#odg1a");//语音
var t_odg1b = $("#bgm");//背景
var t_odg1c = $("#odg1c");//名字
var canA1 = false;
var canA2 = false;
var canA3 = false;


var id = "";
var n = "";

var data = ["fls","wls","gls","gxy","lyh","hql","lyls","jh","ct","wxh","djy","lang","lwei","lchang","lj","ly","vv","qin","peng","lily","zz","tzc","wdx","wwt","wr","wyh","wwx","xx","joyce","xwl","wyj","sz","zwj","zm","zf","zxp"];
//方老师，王老师，高老师，小勇，老黄，李燕老师，金慧,老崔,老第,老董,李昂,老刘,刘畅，刘精 罗亦君 vv姐 覃爷 彭爷 lily 周折 谈则次 王鼎香 王文涛 无染 无一豪 王维希 小小 笑笑 文利老师  张文君 默默 周芳 祝小佩 王远君 嫂子

var data = [
	{id:"fls",n:"方老师"},
	{id:"wls",n:"王老师"},
	{id:"gls",n:"高老师"},
	{id:"gxy",n:"晓勇"},
	{id:"lyls",n:"李燕老师"},
	{id:"hql",n:"老黄"},
	{id:"jh",n:"金慧"},
	{id:"ct",n:"老崔"},
	{id:"wxh",n:"老弟"},
	{id:"djy",n:"老董"},
	{id:"lang",n:"李昂"},
	{id:"lwei",n:"老刘"},
	{id:"lchang",n:"刘畅"},
	{id:"lj",n:"刘菁"},
	{id:"lily",n:"Lily"},
	{id:"ly",n:"罗毅君"},
	{id:"vv",n:"VV姐"},
	{id:"qin",n:"覃爷"},
	{id:"peng",n:"彭爷"},
	{id:"zz",n:"周喆"},
	{id:"tzc",n:"谭则慈"},
	{id:"wdx",n:"王定祥"},
	{id:"wwt",n:"王文韬"},
	{id:"wr",n:"吴冉"},
	{id:"wyh",n:"吴亦豪"},
	{id:"wwx",n:"王唯希"},
	{id:"xx",n:"小小"},
	{id:"joyce",n:"笑笑"},
	{id:"xwl",n:"文莉老师"},
	{id:"zwj",n:"张文君"},
	{id:"zm",n:"默默"},
	{id:"zf",n:"周芳"},
	{id:"zxp",n:"祝晓佩"}
];



$((function() {
	
	console.log('>>========== ready');
	
	
	
	
	init();
	
	//t_ring.trigger("play");
	//t_ring.loop = true;
	
	function init() {
		
		console.log('>>========= init');
		
		getName();

		var n_path = "audio/" + id + ".mp3";
		console.log('>>n_path = ',n_path);
		
		t_odg1c.attr('src',n_path);
		
		/*$.ajax({
			url: "audio/Rec_016.mp3",
			success: function() {
				canA1 = true;
				console.log('>>>>canA1 = ',canA1);
				
				$.ajax({
					url: "audio/bg.mp3",
					success: function() {
						canA2 = true;
						console.log('>>canA2 = ',canA2);
						
						
						$.ajax({
							
							url: n_path,
							success: function() {
								canA3 = true;
								console.log('>>canA3 = ',canA3);
								
								audioReady();
							}
						})

					}
				})
			}
		})*/
		
		$.ajax({
							
			url: n_path,
			success: function() {
				canA1 = true;
				canA2 = true;
				canA3 = true;
				console.log('>>canA3 = ',canA3);
				
				audioReady();
			}
		})
	}
	
	function audioReady() {
		<commit_msg>modify when2021lao5calls<commit_after>"use strict";

var t_ring = $("#ring");//语音
var t_odg1a = $("#odg1a");//语音
var t_odg1b = $("#bgm");//背景
var t_odg1c = $("#odg1c");//名字
var canA1 = false;
var canA2 = false;
var canA3 = false;


var id = "";
var n = "";

var data = ["fls","wls","gls","gxy","lyh","hql","lyls","jh","ct","wxh","djy","lang","lwei","lchang","lj","ly","vv","qin","peng","lily","zz","tzc","wdx","wwt","wr","wyh","wwx","xx","joyce","xwl","wyj","sz","zwj","zm","zf","zxp"];
//方老师，王老师，高老师，小勇，老黄，李燕老师，金慧,老崔,老第,老董,李昂,老刘,刘畅，刘精 罗亦君 vv姐 覃爷 彭爷 lily 周折 谈则次 王鼎香 王文涛 无染 无一豪 王维希 小小 笑笑 文利老师  张文君 默默 周芳 祝小佩 王远君 嫂子

var data = [
	{id:"fls",n:"方老师"},
	{id:"wls",n:"王老师"},
	{id:"gls",n:"高老师"},
	{id:"gxy",n:"晓勇"},
	{id:"lyls",n:"李燕老师"},
	{id:"hql",n:"老黄"},
	{id:"jh",n:"金慧"},
	{id:"ct",n:"老崔"},
	{id:"wxh",n:"老弟"},
	{id:"djy",n:"老董"},
	{id:"lang",n:"李昂"},
	{id:"lwei",n:"老刘"},
	{id:"lchang",n:"刘畅"},
	{id:"lj",n:"刘菁"},
	{id:"lily",n:"Lily"},
	{id:"ly",n:"罗毅君"},
	{id:"vv",n:"VV姐"},
	{id:"qin",n:"覃爷"},
	{id:"peng",n:"彭爷"},
	{id:"zz",n:"周喆"},
	{id:"tzc",n:"谭则慈"},
	{id:"wdx",n:"王定祥"},
	{id:"wwt",n:"王文韬"},
	{id:"wr",n:"吴冉"},
	{id:"wyh",n:"吴亦豪"},
	{id:"wwx",n:"王唯希"},
	{id:"xx",n:"小小"},
	{id:"joyce",n:"笑笑"},
	{id:"xwl",n:"文莉老师"},
	{id:"zwj",n:"张文君"},
	{id:"zm",n:"默默"},
	{id:"zf",n:"周芳"},
	{id:"zxp",n:"祝晓佩"}
];



$((function() {
	
	console.log('>>========== ready');
	
	
	
	
	init();
	
	//t_ring.trigger("play");
	//t_ring.loop = true;
	
	function init() {
		
		console.log('>>========= init');
		
		getName();

		var n_path = "audio/" + id + ".mp3";
		console.log('>>n_path = ',n_path);
		
		t_odg1c.attr('src',n_path);
		
		$.ajax({
			url: "audio/Rec_016.mp3",
			success: function() {
				canA1 = true;
				console.log('>>>>canA1 = ',canA1);
				
				$.ajax({
					url: "audio/bg.mp3",
					success: function() {
						canA2 = true;
						console.log('>>canA2 = ',canA2);
						
						
						$.ajax({
							
							url: n_path,
							success: function() {
								canA3 = true;
								console.log('>>canA3 = ',canA3);
								
								audioReady();
							}
						})

					}
				})
			}
		})
		

	}
	
	function audioReady() {
		
{'fraction_non_alphanumeric': 0.3237280504277353, 'fraction_numerical': 0.013057181449797388, 'mean_word_length': 3.5522540983606556, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 33, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 6, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5209758', 'n_tokens_mistral': 2801, 'n_tokens_neox': 2540, 'n_words': 289}