public Melody12Tone(MelodyBase melodyBase, TwelveToneSet toneset, int key = 0, int tempo = 60) { this.melodyBase = melodyBase; this.toneset = toneset; this.key = key; this.tempo = tempo; }
public MelodyReversed(MelodyBase melodyBase) { Debug.Assert(!melodyBase.Anacrusis.Any()); Debug.Assert(melodyBase.StartPause.p == 0); this.melodyBase = melodyBase; }
public MelodyDiffEnd(MelodyBase melodyBase, IEnumerable <NoteWithDuration> end) { this.end = end.ToList(); this.melodyBase = melodyBase; }
public MelodySequencer(MelodyBase melody, params NoteSequence[] sequence) { sequences = sequence.ToList(); this.melody = melody; }