import arb.soundcipher.*;

SoundCipher sc = new SoundCipher(this);

float pitch = round(random(60, 80));
boolean inScale = false;

while(!inScale) {
  for(int i=0; i<sc.MINOR.length; i++) {
    if (pitch%12 == sc.MINOR[i]) inScale = true;
  }
  pitch = round(random(60, 80));
}

println(pitch);