def rhythm_heart_and_soul_left(self, chord: Chord) -> [NoteSeq]: first_note = Chord([chord.first_note.octave_shift(-1)]) left_hand_seq = [] left_hand_seq.append(first_note.stretch_dur(4 / self.subdivided)) left_hand_seq.append(first_note.stretch_dur(12 / self.subdivided)) left_hand_seq.append(first_note.stretch_dur(4 / self.subdivided)) left_hand_seq.append(first_note.stretch_dur(12 / self.subdivided)) return left_hand_seq
def rhythm_4_40_left(self, chord: Chord) -> [Chord]: first_note = Chord([chord.first_note.octave_shift(-1)]) left_hand_seq = [] silence = Chords.silence left_hand_seq.append(first_note.stretch_dur(4 / self.subdivided)) left_hand_seq.append(silence.stretch_dur(4 / self.subdivided)) left_hand_seq.append(silence.stretch_dur(4 / self.subdivided)) left_hand_seq.append(silence.stretch_dur(4 / self.subdivided)) left_hand_seq.append(silence.stretch_dur(4 / self.subdivided)) left_hand_seq.append(first_note.stretch_dur(4 / self.subdivided)) left_hand_seq.append(silence.stretch_dur(4 / self.subdivided)) left_hand_seq.append(silence.stretch_dur(4 / self.subdivided)) return left_hand_seq
def rhythm_16th_note_subdivided_right(self, chord: Chord) -> [NoteSeq]: # works best with subdivided = 20 chord = chord.stretch_dur(2 / self.subdivided) l1 = [NoteSeq([chord[0]])] + [NoteSeq([chord[1]])] l2 = [NoteSeq([chord[2]])] + [NoteSeq([chord[1]])] rhythm = [] for i in range(0, 4): rhythm += l1 + l2 return rhythm