Lessons learnt building a real-time audio application in Python