Esempio n. 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;
 }
Esempio n. 2
0
 public MelodyReversed(MelodyBase melodyBase)
 {
     Debug.Assert(!melodyBase.Anacrusis.Any());
     Debug.Assert(melodyBase.StartPause.p == 0);
     this.melodyBase = melodyBase;
 }
Esempio n. 3
0
 public MelodyDiffEnd(MelodyBase melodyBase, IEnumerable <NoteWithDuration> end)
 {
     this.end        = end.ToList();
     this.melodyBase = melodyBase;
 }
Esempio n. 4
0
 public MelodySequencer(MelodyBase melody, params NoteSequence[] sequence)
 {
     sequences   = sequence.ToList();
     this.melody = melody;
 }