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);
        }
Exemple #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);
 }