Beispiel #1
0
        private void SetCurrentSoundSequence(int targetSoundSequenceIndex)
        {
            currentSoundSequenceIndex = targetSoundSequenceIndex;
            currentSoundSequence      = currentSection.SoundSequences[currentSoundSequenceIndex];

            currentSoundSequence.ResetPosition();
            currentSoundSequence.GetNextState(ref SoundSignal.Level, out nextStateChangeCountdown);
        }
Beispiel #2
0
        public void Eject()
        {
            Stop();

            Tape        = null;
            PlayingTime = 0;
            nextStateChangeCountdown  = 0;
            currentSectionIndex       = 0;
            currentSection            = null;
            currentSoundSequenceIndex = 0;
            currentSoundSequence      = null;
        }