If you notice the output always comes out a sine wave regardless of the original signal try with the trumpet example 🤣. At least DFT works.