This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Measurement of the resonance curve (Acoustics)
#21
Ah, this is exactly the experiment I wanted to program! Thank you to both of you, Julien, Solid.

I played a bit with the phyphox program.

Concerning the "scratches" when the frequency jumps, I tried many things, but could not avoid them. So I guess we are stuck with it.

Concerning the offset between the measurement and the frequency, I think the reason is that you do not save the data at the right time in your analysis cylce: if I understand correctly, the audio_input that is used was filled with sound from the frequency of the previous analysis cycle, so you should couple the frequency of the previous cycle (before you calculate the new currentF) with the measure of the audio amplitude of the current analysis cycle.

I hope I am clear (and I hope I did not say anything wrong). Here is my implementation of the code I suggest (I also changed the way the frequency is sweep for personal taste).

Now let us look for things to measure... Have you tried a mug?

Cheers,

Fred


Attached Files
.phyphox   audio_amplitude.phyphox (Size: 97.86 KB / Downloads: 762)
Reply


Messages In This Thread
RE: Measurement of the resonance curve (Acoustics) - by fbouquet - 04-17-2020, 06:50 PM

Forum Jump: