Real-time analysis of mechanical and electrical resonances with open-source sound card software. EUROPEAN JOURNAL OF PHYSICS. 2014;35(1).