		resA=new Int16Array(res.length/2);
		resB=new Int16Array(res.length/2);
		for(var i=0;i<resA.length;i++){
			resA[i]=res[i*2];
			resB[i]=res[i*2+1];
		};
	};
	
	
	//降低采样率
	if(sampleRate>sampleRateNew){
		resA=Recorder.SampleData([resA],sampleRate,sampleRateNew).data;
		resB=Recorder.SampleData([resB],sampleRate,sampleRateNew).data;
		sampleRate=sampleRateNew;
	};
	
	//截取
	if(subA||subB){
		resA=resA.subarray(Math.round(subA*sampleRate/1000),subB?Math.round(subB*sampleRate/