how to run YIN starting at sound start + 0.25s?
Forum rules
If you require help using Audacity, please post on the forum board relevant to your operating system:
Windows
Mac OS X
GNU/Linux and Unix-like
If you require help using Audacity, please post on the forum board relevant to your operating system:
Windows
Mac OS X
GNU/Linux and Unix-like
Re: how to run YIN starting at sound start + 0.25s?
If it helps, I put 2 test files here:
https://chambersislandusa.com/mando/aud ... tnotes.wav (4 secs long)
https://chambersislandusa.com/mando/aud ... enotes.wav (12 secs)
https://chambersislandusa.com/mando/aud ... tnotes.wav (4 secs long)
https://chambersislandusa.com/mando/aud ... enotes.wav (12 secs)
Re: how to run YIN starting at sound start + 0.25s?
Yes.
When I record in Audacity I'm collecting stereo data but delete one of the channels before running my scripts on mono data.
Re: how to run YIN starting at sound start + 0.25s?
Results from "testones.wav"JimWI wrote: ↑Tue Jan 05, 2021 4:49 pmIf it helps, I put 2 test files here:
https://chambersislandusa.com/mando/aud ... tnotes.wav (4 secs long)
https://chambersislandusa.com/mando/aud ... enotes.wav (12 secs)
Code: Select all
time frequency RMS
0.000 5512.501 0.002
0.500 441.234 0.041
1.000 495.712 0.104
1.500 495.898 0.042
2.000 556.505 0.117
2.500 554.872 0.028
3.000 590.785 0.026
3.500 659.309 0.092
4.000 659.394 0.022
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)
Re: how to run YIN starting at sound start + 0.25s?
Please post the full code that you are using.
When posting, use the "code tags" from the "</>" button around the code like this:
[code]
code goes here
[/code]
When you run the code in the Nyquist prompt, click the "Debug" button rather than the "OK" button.
After the code has run, the debug window will open. Copy the contents of the debug window and include it (in "code" tags) in your reply.
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)
Re: how to run YIN starting at sound start + 0.25s?
Steve and steveneb:
Thanks!! Both files are mono.
Got it. Had to run it using the Nyquist prompt. I was running it from the Analyze tab.
Is there an 'easy' way to save the output to a file?
Thanks again!
Jim
Thanks!! Both files are mono.
Got it. Had to run it using the Nyquist prompt. I was running it from the Analyze tab.
Is there an 'easy' way to save the output to a file?
Thanks again!
Jim
Re: how to run YIN starting at sound start + 0.25s?
Saving can be written into the Nyquist script, but the "easy" way:
Now that you have it working.
1. "Help menu > Diagnostics > Show Log"
2. In the log window, click "Clear"
3. Run the Nyquist script again, but use the "OK" button this time.
Notice that the output appears in the Audacity log window.
You can now either "Save" the contents of the log window, or copy and paste from the log window.
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)
Re: how to run YIN starting at sound start + 0.25s?
I got the output window to show on both my test files. I noticed that the output shows frequencies in 0.5 sec intervals. What do I change to get frequencies to show in smaller intervals, as 0.1 sec? Does it have something to do with the "dur' variable?
Thanks in advance.
Thanks in advance.
Re: how to run YIN starting at sound start + 0.25s?
I found it. I wasn't looking very hard. It's the "window-time" variable.
Thanks for all the help.
Jim
Thanks for all the help.
Jim