Updates to Python audio and JS pitch detection