Pitch detection on high tempo

Hello everyone!
I am thinking about doing a hobby project using this framework that involves pitch detection. Before I invest time into understanding this framework and sound theory, I would like to ask if it’s even possible to de accurate pitch detection for notes played in high tempo? That is above 300 notes per minute (e.g. eight notes). from a recording of a single instrument or live using a non-professional mic, e.g. mic in phone, webcam etc. ?