Example #1
0
        public KeylessPitch(int i, int o, KeylessScale s, double of)
        {
            index  = i;
            octave = o;
            scale  = s;

            offset = of;
        }
Example #2
0
        public Scale(Pitch r, KeylessScale s)
        {
            root       = r.GetBasePitch();
            scale_type = s;

            pitches = scale_type.GetPitches()
                      .Convert(p => new ScalePitch(p, this))
                      .ToList();
        }
Example #3
0
 public KeylessChord(KeylessScale s, string i) : this(s, i.Convert(c => (int)c.ParseNumber()))
 {
 }
Example #4
0
 public KeylessChord(KeylessScale s, params int[] i) : this(s, (IEnumerable <int>)i)
 {
 }
Example #5
0
 public KeylessChord(KeylessScale s, IEnumerable <int> i)
 {
     scale  = s;
     indexs = new StaticOrderList <int>(i);
 }