numChannelsNew==2){
				offset+=2;
				data.setInt16(offset,resB[i],true);
			};
		};
	};
	
	
	var blob=new Blob([data.buffer],{type:"audio/wav"});
	var name=fileName+"-"+duration+"ms"+"-"+bitRateNew+"bit-"+sampleRate+"hz-"+numChannelsNew+"ch.wav";
	var url=(window.URL||webkitURL).createObjectURL(blob);
	
	var id=++rnd;
	pcms[id]={
		name:fileName
		,pcm:resA
		,sampleRate:sampleRate
		,bitRate:bitRateNew
		,duration:duration
		
		,blob:blob
	};
	console.log(pcms[id]);
	
	var html=id