Hi, I was wondering if the code that is given for the fundamental frequency computation can be sent to me as a java file because many errors come up when I try to copy and paste it on to java. Thank you, Ashley~

Dear Ashley, the code provided here is for Matlab. Java is a different language. If you want to copy and paste code for Java, you will need to find a site that provides Java code examples. But I would recommend re-coding the examples anyway; that helps you to understand the algorithm and the code. The Matlab code should be easy enough to read.

Dear Alexander, Can this code – running within Matlab, I assume – be used to compute fundamental frequency on microphone input, or does it work only on files? I am interested to find a way to report fundamental frequency as feedback to the performer in real time, but am not sure if Matlab can even access the computer microphone, or whether this code can compute fundamental frequency continuously on input. If it can, I would purchase Matlab in order to try it out. If not, can you suggest another way? Thank you very much. Michael

Dear Michael, all code on this website is not really intended for usage, and is not coded for real-time applications. You can browse through the packages listed under software; you may also consider a tool such as Max/MSP, PD, or SuperCollider. It sounds like these tools are more what you are after.

Hi,

I was wondering if the code that is given for the fundamental frequency computation can be sent to me as a java file because many errors come up when I try to copy and paste it on to java.

Thank you,

Ashley~

Dear Ashley,

the code provided here is for Matlab. Java is a different language. If you want to copy and paste code for Java, you will need to find a site that provides Java code examples.

But I would recommend re-coding the examples anyway; that helps you to understand the algorithm and the code. The Matlab code should be easy enough to read.

Have fun,

Alexander

Dear Alexander,

Can this code – running within Matlab, I assume – be used to compute fundamental frequency on microphone input, or does it work only on files? I am interested to find a way to report fundamental frequency as feedback to the performer in real time, but am not sure if Matlab can even access the computer microphone, or whether this code can compute fundamental frequency continuously on input. If it can, I would purchase Matlab in order to try it out. If not, can you suggest another way?

Thank you very much.

Michael

Dear Michael, all code on this website is not really intended for usage, and is not coded for real-time applications. You can browse through the packages listed under software; you may also consider a tool such as Max/MSP, PD, or SuperCollider. It sounds like these tools are more what you are after.

Hope that helps,

Alexander