Пример #1
0
 public Vector87(Factory87 f, Random rand, int root)
 {
     factory = f;
     edo     = 87;
     pitch   = rand.Next(170);
     pitch  += root * 87;
 }
Пример #2
0
        public Vector87(Factory87 f, Random rand, int root, int loc)
        {
            factory = f;
            edo     = 87;

            int small = loc % 18;
            int big   = loc / 18;

            pitch = (28 * ((-6 * small + 9) / 18 + (3 * big + 9) / 18) + 51 * ((5 * small + 9) / 18 + (12 * big + 9) / 18)) % 87;

            //pitch = rand.Next(170);
            pitch += root * 87;
        }
Пример #3
0
 public Vector87(Factory87 f, int p)
 {
     factory = f;
     edo     = 87;
     pitch   = p;
 }