public Vector12(Factory12 f, Random rand, int root) { edo = 12; factory = f; pitch = rand.Next(34); pitch += root * edo; }
public Vector12(Factory12 f, Random rand, int root, int loc) { edo = 12; factory = f; //pitch = rand.Next(21); //pitch = starting_pitch[(loc/2) % 6]; int x = loc % 40; int y = loc / 40; int xi = (x * (syntonic.Length - 1)) / 40; int yi = (y * (diesis.Length - 1)) / 12; int xp = syntonic[xi]; int yp = diesis[yi]; pitch = (xp + yp) % edo; pitch += root * edo; }
public Vector12(Factory12 f, int p) { edo = 12; factory = f; pitch = p; }