Anthropology homework help

Anthropology homework help. Hello. Attached is my assignment. Basically there are 3 procedures to do: 1) create a song using sine functions at different frequencies 2) use an ADSR envelope to vary the volume and 3) overlap the notes. I have attached my codes so far at the end of the attachment that works.. I finished 1 and 2 but I am just completely stuck on the last procedure!! I’ve been working on it for 2 days. Could you please help 🙁

Anthropology homework help