Exemplo n.º 1
0
 public static Measure halfNoteRoot(Measure sustainedChords) {
   Measure newMeasure = new Measure();
   for (Beat currentBeat : sustainedChords.getBeats()) {
     for (VoiceElement currentChord : currentBeat.getVoiceElements()) {
       addHalfNoteBass(newMeasure, (Chord) currentChord);
     }
   }
   return newMeasure;
 }
Exemplo n.º 2
0
 public static Measure arpegiattedBass(Measure sustainedChords) {
   Measure newMeasure = new Measure();
   for (Beat currentBeat : sustainedChords.getBeats()) {
     for (VoiceElement currentChord : currentBeat.getVoiceElements()) {
       addArpegiattedBass(newMeasure, (Chord) currentChord);
     }
   }
   return newMeasure;
 }
Exemplo n.º 3
0
 public static Measure quarterNoteBass(Measure sustainedChords) {
   Measure newMeasure = new Measure();
   for (Beat currentBeat : sustainedChords.getBeats()) {
     for (VoiceElement currentChord : currentBeat.getVoiceElements()) {
       Beat newBeat = new Beat();
       newBeat.addChord(new Chord(((Chord) currentChord).getTriad(), BeatDuration.Quarter));
       for (int i = 0; i < 2; i++) newMeasure.addBeat(newBeat);
     }
   }
   return newMeasure;
 }