protected Note GetNoteAtBeat(int beat) { Sentence sentenceAtBeat = GetSentenceAtBeat(beat); Note noteAtBeat = SongMetaUtils.GetNoteAtBeat(sentenceAtBeat, beat); return(noteAtBeat); }
protected void FirePitchEvent(BeatPitchEvent pitchEvent, int fallbackBeat) { int beat = pitchEvent != null ? pitchEvent.Beat : fallbackBeat; Sentence sentenceAtBeat = SongMetaUtils.GetSentenceAtBeat(playerControl.Voice, beat); Note noteAtBeat = SongMetaUtils.GetNoteAtBeat(sentenceAtBeat, beat); playerControl.PlayerMicPitchTracker.FirePitchEvent(pitchEvent, beat, noteAtBeat, sentenceAtBeat); }