Modify key2note_env.m to include a second and third harmonic. Be sure to apply the envelope to all
Fantastic news! We've Found the answer you've been seeking!
Question:
Modify key2note_env.m to include a second and third harmonic. Be sure to apply the envelope to all three components of the note. Choose the relative amplitude of the second and third harmonics so the note sounds good to you, but remember that the relative amplitudes must be less than one. Call your new function key2note_fancy.m. (Using Matlab)
Here is the key2note_env.m:
X represents the amplitude, and getADSR is the function that synthesizes the envelope to the key2note_env..
You can choose the amplitude of the second and third harmonics less than 1.
Related Book For
Analysis and Design of Analog Integrated Circuits
ISBN: 978-0470245996
5th edition
Authors: Paul R. Gray, ? Paul J. Hurst Stephen H. Lewis, ? Robert G. Meyer
Posted Date: