.numChannels);
			return;
		};
		
		var file = files[idx];
		var reader = new FileReader();
		reader.onload = function(e){
			var arr=new Uint8Array(e.target.result);
			
			//处理wav头
			if(/\.wav$/i.test(file.name)){
				console.log("发现wav文件,开始解析...");
				var o=skipWavHead(arr);
				if(o){
					arr=o.u8arr;
					wavInfo||(wavInfo=o.info);
				};
			};
			//读取文件名中的信息
			if(/(\d+)hz/i.test(file.name) && !pathInfo.sampleRate){
				pathInfo.sampleRate