Python code with GUI to record bird song using the sound card of a computer