public static MidiPublisherChordifyer CreateChordsFromMidiNotes(INotePublisher publisher) { var chordifyer = new MidiPublisherChordifyer(publisher); publisher.Register(chordifyer); return(chordifyer); }
public MidiPublisherChordifyer(INotePublisher publisher) { NotesPressed = new List <int>(); Publisher = publisher; }