Esempio n. 1
0
    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);
    }
Esempio n. 2
0
    protected Sentence GetSentenceAtBeat(int beat)
    {
        Sentence sentenceAtBeat = SongMetaUtils.GetSentenceAtBeat(playerControl.Voice, beat);

        return(sentenceAtBeat);
    }