LabHints2 - Lab Exercise Hints (Worksheet 2): ...

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

View Full Document Right Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: Lab Exercise Hints (Worksheet 2): MATLAB Digital Audio Synthesis: Subtractive and FM Synthesis MATLAB Digital Audio Synthesis: Subtractive and FM Synthesis 1. Use the demo code and the given synth.m to test subtractive synthesis. 2. White noise can be created with simple random number generator, for N samples: y = rand(N, 1); Then follow the same process as (1). 3. Produce a wave shaping function f following ADSR definition and with the same length as the input signal y. The same length is achieved by adjusting the duration of sustain (refer to the lecture notes for ADSR). Use y .* f to produce the ADSR reshaped waveform. 4. Modify the given demo code as in the lab sheet. 5. Modify the given demo code as in the lab sheet. 1 ...
View Full Document

This note was uploaded on 01/26/2012 for the course CM 0340 taught by Professor Davidmarshall during the Fall '09 term at Cardiff University.

Ask a homework question - tutors are online