Closed struck89 closed 7 years ago
Thank you!
Thanks to you for your letting me think dsp ;)
@AllenDowney Hello, thanks for sharing the great material! I was curious why two different approaches in exercise 5 in chap02soln resulted in different-looking waves. (Is this somehow related to phase?)
Yes, they have the same amplitude at every frequency, but different phases.
If you are interested, I gave a talk about this exercise: https://www.dsprelated.com/showarticle/1419.php
On Fri, Sep 2, 2022, at 11:20 AM, JaejinCho wrote:
@AllenDowney https://github.com/AllenDowney Hello, thanks for sharing the great material! I was curious why two different approaches in exercise 5 in chap02soln resulted in different-looking waves. (Is this somehow related to phase?)
— Reply to this email directly, view it on GitHub https://github.com/AllenDowney/ThinkDSP/pull/32#issuecomment-1235626914, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAOLP3NFEA63LN4OMHLUPBLV4ILNVANCNFSM4DLRAGFQ. You are receiving this because you were mentioned.Message ID: @.***>
Thank you @AllenDowney for the great pointer. I understood better after watching the video!
The first line edited is self explanatory, that is a typo. If we create a sawtooth signal, we should say "sawtooth" instead of "triangle"
The second edit is needed, since the spectrum that we are modifying is from line 440, which is before creating the new sawtooth signal. I discovered it by making changes to duration and framerate of the sawtooth signal, and when playing the two comparative audios (with just different phases) the lenghts of the audios were completely different.