protected override bool OnMicrophoneSinging(MicrophonePitchingEvent e) { var pitch = e.CurrentState.Microphone.Voice.Pitch; Y = -(pitch - 50); BoxText.Text = "Pitching : " + pitch; return(base.OnMicrophoneSinging(e)); }
protected override bool OnMicrophoneSinging(MicrophonePitchingEvent e) { var decibel = e.CurrentState.Microphone.Voice.Decibel; Y = -(decibel - 50) * 5; BoxText.Text = "Decibel : " + decibel; return(base.OnMicrophoneSinging(e)); }
protected virtual bool OnMicrophoneSinging(MicrophonePitchingEvent e) { background.Colour = Color4.Blue; return(false); }