Beispiel #1
0
        protected void updateShifts(float detected, float shifted, int targetNote)
        {
            if (shifts.Count >= numshifts)
            {
                shifts.Dequeue();
            }
            PitchShift shift = new PitchShift(detected, shifted, targetNote);

            Debug.WriteLine(shift);
            shifts.Enqueue(shift);
        }
Beispiel #2
0
 protected void updateShifts(float detected, float shifted, int targetNote)
 {
     if (shifts.Count >= numshifts) shifts.Dequeue();
     PitchShift shift = new PitchShift(detected, shifted, targetNote);
     Debug.WriteLine(shift);
     shifts.Enqueue(shift);
 }