optimal method for pitch period estimation in scilab.