LabHints3

# LabHints3 - Lab Exercise Hints(Worksheet 3: MATLAB...

This preview shows page 1. Sign up to view the full content.

This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: Lab Exercise Hints (Worksheet 3): MATLAB Digital Audio Synthesis: Sample ­based, Additive Wavetable, Granular and Physical Modelling Synthesis MATLAB Digital Audio Synthesis: Sample ­based, Additive Wavetable, Granular and Physical Modelling Synthesis 1. Use the demo code and the given synth.m to test subtractive synthesis. 2. Use synth.m provided on the Blackboard to generate further waves. Simply add different waves together to test additive synthesis. 3. This can be easily implemented using Fast Fourier Transform (FFT). Computer fft of the original audio, separate in the frequency domain different bands and manipulate them in the frequency domain, use ifft (inverse FFT) to get the produced audio. Note that f(1) is 0 ­ frequency (DC component), f(2) and f(N) correspond to the same frequency (as MATLAB array starts with index 1). For more details, see Lab Sheet 3, Part II , Question 10. 4. Simply take out a portion of the sample vector and duplicate multiple times for looping. The refinement problem can be implemented by finding the local window with minimal average amplitude. 5. Modify the code such that when randomness is imposed you restrict the possible offset to a given upper limit. 6. Change D to alter the frequency and change N to alter the duration. Concatenate each note to form a sequence. 1 ...
View Full Document

{[ snackBarMessage ]}

Ask a homework question - tutors are online