Search found 6 matches

by JimWI
Fri Jan 08, 2021 5:06 pm
Forum: Nyquist
Topic: how to run YIN starting at sound start + 0.25s?
Replies: 17
Views: 1949

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
by JimWI
Fri Jan 08, 2021 4:18 pm
Forum: Nyquist
Topic: how to run YIN starting at sound start + 0.25s?
Replies: 17
Views: 1949

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.
by JimWI
Tue Jan 05, 2021 7:41 pm
Forum: Nyquist
Topic: how to run YIN starting at sound start + 0.25s?
Replies: 17
Views: 1949

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
by JimWI
Tue Jan 05, 2021 4:36 pm
Forum: Nyquist
Topic: how to run YIN starting at sound start + 0.25s?
Replies: 17
Views: 1949

Re: how to run YIN starting at sound start + 0.25s?

Thanks for the reply.
When I input the file, Audacity says: Mono, 44100Hz, 32-bit float
Steve: Your code works on the file, but it only gets the 1st note. It's very accurate. If I create a new file with the 1st note removed, your code works on that as well.
by JimWI
Tue Jan 05, 2021 3:53 pm
Forum: Nyquist
Topic: how to run YIN starting at sound start + 0.25s?
Replies: 17
Views: 1949

Re: how to run YIN starting at sound start + 0.25s?

Hello: I just tried your "updated" example on a file of mine with 5 mandolin notes recorded. The out I received was:
Nyquist !
%1.3f
I'd love to be able to get the frequencies and the time durations, as shown in your table.
Any suggestions?
Jim