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