I am using the pitch function on short audio files of speech utterences (usually less than 1 second long).
p = pitch(aud,app.recObj.SampleRate,'WindowLength',round(fs*.05));
However, when I do this, I usually get an output with a very low sampling rate that is rich with artifacts.
How can I make it so I it outputs at a higher sampling rate (I'm recording at 44100Hz), and remove artifacts? I've tried using a smaller window, but that usually ends up with the error "Invalid window length".
An example is provided below.