internal override bool MidiOnDup(int pitch) { if (PedalDown) { lock (clsPlay.KBPitchList) { List <clsKBPitch> kbpl = KBPitchList.GetPitch(null, pitch); for (int i = 0; i < kbpl.Count; i++) { clsKBPitch kbp = kbpl[i]; //* if pitch is sustained, associate with this kb //* else add new kb for this pitch if (kbp.Sustained) { clsPlay.KBPitchList.Remove(kbp); } ///////////KBPitchList.Add(B[1], pitch); } } return(true); } return(false); }
internal void Remove(clsKBPitch kbp) { List.Remove(kbp); }
internal override bool MidiOff(clsKBPitch kbp) //no action { return(false); }