Given two phrases, phrase1 and phrase2, append the notes of phrase2 to phrase1. (Hint: Iterate over phrase2 notes and addNote() them to phrase1.) This is the same as Mod.append(). Given a phrase and...



Given two phrases, phrase1 and phrase2, append the notes of phrase2


to phrase1. (Hint: Iterate over phrase2 notes and addNote() them to


phrase1.) This is the same as Mod.append().



Given a phrase and a factor (a real number), stretch the duration of


each note in the phrase by that factor. (Hint: Iterate through the notes


of the phrase, and for each note multiply its duration by the factor.


You will need note functions getDuration() and setDuration().



) This


is the same as Mod.elongate().



May 26, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here