![]() ![]() The beta version allows you to generate white noise in the audio spectrum experiment (Settings, below the number of samples), so you can feed the white noise into your resonator and can see the amplified resonant frequencies in the audio spectrum. Note that the waveform is only calculated in this example to display it to the user.Īlso, you can now try a different technique that might be interesting to those of you who are working with resonances. You can find the details in our wiki ( ) and you can have a look at the configuration file of the new tone generator in the development branch on githubg ( ). There should be no clicking when changing the frequency and there should be no periodic clicking if the defined frequency does not match up with the sampling frequency. ![]() With the new audio output module, you can define the tone parametrically, so instead of actually calculating the waveform, you can directly set the frequency and phyphox takes care of maintaining the phase of the generated tone. This is not (yet) supported by the editor, but if you are comfortable with directly editing XML, you can try to use this module for synchronization. I just submitted a beta version for the next phyphox update 1.1.6 (well, it is more alpha than beta as there are not even all features for this version included), which includes a new tone generator module. Have you tried a mug?Īudio_amplitude.phyphox (Size: 97.86 KB / Downloads: 494) Here is my implementation of the code I suggest (I also changed the way the frequency is sweep for personal taste). I hope I am clear (and I hope I did not say anything wrong). So I guess we are stuck with it.Ĭoncerning 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. ![]() Ah, this is exactly the experiment I wanted to program! Thank you to both of you, Julien, Solid.Ĭoncerning the "scratches" when the frequency jumps, I tried many things, but could not avoid them. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |