Title: getSamplevOC
Author: 킽ȂׂCmiahmie

͂ȂɁH

WaveSoundBuffer ɌpNAjp̂߂̃Tv擾̋@\ǉ܂B


g

manual.tjs Q


gpiVj

	// soundBuffer : 炵ĂTEhobt@
	var voiceLevel; // pNx
	var a = soundBuffer.sampleValue;
	//dm("{CXl: "+soundBuffer.position+" : %0.3f".sprintf(a));
	if      (a > 0.3 ) voiceLevel = 2;
	else if (a > 0.03) voiceLevel = 1;
	else               voiceLevel = 0;
	// voiceLevelɂ킹Č̃Ajݒ


CZX

̃vOC̃CZX͋gg{̂ɏĂB
