Question: I need help with this questions in python, please. Thanks. EXERCISE 4: Notes Synthesis Note Frequency (Hz) A 220 e B 0 0 0 220

 I need help with this questions in python, please. Thanks. EXERCISE4: Notes Synthesis Note Frequency (Hz) A 220 e B 0 0

I need help with this questions in python, please. Thanks.

EXERCISE 4: Notes Synthesis Note Frequency (Hz) A 220 e B 0 0 0 220 - 212 C# 220 - 212 A B C# D E F# G# D 220 * 212 For this exercise we will synthesize 8 notes for A-Major scale shown above E 220 * 212 2 Using the generate_sine() function, synthesize 8 notes that make up A-Major scale. Each note should last 1 second. F# 220 - 212 G G# For each note, use sampling rate fs = 8000 and amplitude = 1 220 +212 . A 440 Once all 8 notes are constructed, concatenate them into a single 1D array. Play the concatenated notes using simpleaudio and write it into an audio file with name "a_major_scale.wav". EXERCISE 5: Chord Synthesis Note Frequency (Hz) A 220 Chord 1 = A + C# Chord 2 Chord 4 + Chord 6 O A Chord 2 =B+D B 220 - 212 0 0 Chord 3 = C# + E 0 C# 220 +217 Chord 4 = D + F# A B C# D E F# G# A Chord 5 = E + G# D 220 * 212 Chord 6 = F# + A + Chord 5 Chord 1 Chord 3 E 220 - 212 For this exercise, we will expand upon exercise 4 to synthesize music chords - i.e. set of pitches consisting of multiple notes F# 220 + 212 For example, a chord could be A + B or B + C# + D, etc G# 220 * 212 440 Generate 6 chords as shown above figure - each chord consists of addition of two notes and should last for 1s with sampling frequency of 8000Hz. . Make sure you normalize the amplitude of the chord between-1 and 1 to be compatible with simpleaudio standard. Concatenate 6 chords into a single 1D array and write into audio file with a name 6_chords.wav

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!