Exemplo n.º 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);
        }
Exemplo n.º 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);
 }