Example #1
0
 public static IEnumerable <MIDIEvent> MergeBuffer(this IEnumerable <MIDIEvent> seq, FastList <MIDIEvent> buffer)
 {
     return(Mergers.MergeWithBuffer(seq, buffer));
 }
Example #2
0
 public static IEnumerable <T> MergeAllTracks <T>(this IEnumerable <IEnumerable <T> > seqs)
     where T : MIDIEvent
 {
     return(Mergers.MergeSequences(seqs));
 }
Example #3
0
 public static IEnumerable <T> MergeWith <T>(this IEnumerable <T> seq, IEnumerable <T> seq2)
     where T : MIDIEvent
 {
     return(Mergers.MergeSequences(seq, seq2));
 }
Example #4
0
 public static IEnumerable <T> MergeWith <T>(this IEnumerable <T> seq, IEnumerable <T> seq2)
     where T : Note
 {
     return(Mergers.MergeSequences(new[] { seq, seq2 }));
 }
Example #5
0
 public static IEnumerable <T> MergeAllMany <T>(this IEnumerable <IEnumerable <T> > seq)
     where T : Note
 {
     return(Mergers.MergeManySequences(seq));
 }
Example #6
0
 public static IEnumerable <MIDIEvent> ExtractEvents(this IEnumerable <Note> seq, FastList <MIDIEvent> buffer)
 {
     return(Mergers.MergeWithBuffer(NoteConversion.EncodeNotes(seq), buffer));
 }