internal clsKeyTicks(int midikey, string scale, int ticks) { Init(scale, ticks); MidiKey = midikey; KeyNoteStr = NoteName.MidiKeyToKeyStr(midikey, Scale); KeyNote = NoteName.MidiKeyToPitch(midikey, scale); }
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); }