pitch analysis halfway working. todo: multiple runs with incremental notching. better trajectory cohesion (connect neighbouring trajectories if shortly interrupted)