I'm trying to write some code that will a. take in sound from my computer's microphone and b. output what frequency (ie. pitch) the sound is. It does not have to be very precise, but has to work. I have spent many hours perusing various fora on this subject and have found that they all ought to be very useful except and would be too if I had more knowledge on the subject. However, I am not a particularly experienced coder and most of the answers I've seen go over my head. I understand that I may have bitten off more than I can chew, considering my novice, but if anyone could give a really down-to-earth easy to understand walkthrough of how I should go about implementing this, I would be verrry appreciative. Please forgive my basic question :).

I was looking to write it in Java but have experience in python and swift as well.