- Edited
I modified the code to play the sine tone and try to use a mic (Sparkfun sound detector) to pick up the signal. I found this. I can see the envelope is my sine wave but I want to know the physics behind it. I mean what is happening here?
I modified the code to play the sine tone and try to use a mic (Sparkfun sound detector) to pick up the signal. I found this. I can see the envelope is my sine wave but I want to know the physics behind it. I mean what is happening here?
that looks like there is an error somewhere either in your code or in the backend. Can you post your code and describe the wiring?
giuliomoro By changing the sample rate (n/2), I managed to get the desired plot. Thanks a lot.