예제 #1
0
 internal clsKeyTicks(int midikey, string scale, int ticks)
 {
     Init(scale, ticks);
     MidiKey    = midikey;
     KeyNoteStr = NoteName.MidiKeyToKeyStr(midikey, Scale);
     KeyNote    = NoteName.MidiKeyToPitch(midikey, scale);
 }
예제 #2
0
        internal bool?TransposeNamesSharp = null; //#/b/null for transposed names keys (not these keys!)

        //internal List<string> Desc = new List<string>;
        //private clsMTime MTime;

        internal clsKeyTicks(int keynote, string scale, int ticks, bool indkeynote)
        {
            if (!indkeynote)
            {
                LogicError.Throw(eLogicError.X014);
            }
            Init(scale, ticks);
            KeyNote    = keynote;
            MidiKey    = NoteName.PitchToMidiKey(KeyNote, scale, null);
            KeyNoteStr = NoteName.MidiKeyToKeyStr(MidiKey, Scale);
        }