< Back

Final Exam Coding

This is a closed book, closed note, closed files test. You are allowed to access only the files related to your program you are writing here. You are allowed the front half of a standard 8 1/2 x 11 sheet of paper of handwritten notes.

When you are done, submit your file on inquire.


Additive Sounds

In a file called adding.py, write a function called add_sounds(sound_1, sound_2). This function should assume both sound_1 and sound_2 are of the same length (same number of samples). Your function should generate a sound which has the same duration as sound_1 and sound_2, but each sample in the new sound is the sum of the samples from sound_1 and sound_2.

Parameters

note_1.wav

note_2.wav

Result

note_3.wav

(15 points)