Back to Browse

Recording Sound with Python

14.4K views
Apr 18, 2022
11:06

Recording sound with Python can be tricky. In this video, you'll learn about the libraries necessary to record sound in Python (PortAudio, PyAudio), and how to implement a recorder class. Code: https://github.com/musikalkemist/recorder PyAudio: https://people.csail.mit.edu/hubert/pyaudio/docs/ PortAudio: http://www.portaudio.com/docs.html =============================== Interested in hiring me as a consultant/freelancer? https://valeriovelardo.com/ Join The Sound Of AI Slack community: https://valeriovelardo.com/the-sound-of-ai-community/ Connect with Valerio on Linkedin: https://www.linkedin.com/in/valeriovelardo Follow Valerio on Facebook: https://www.facebook.com/TheSoundOfAI Follow Valerio on Twitter: https://twitter.com/musikalkemist​ =============================== Content: 0:00 Intro 0:43 I/O in Python with PortAudio + PyAudio 2:32 Installing PortAudio + PyAudio in Ubuntu 3:30 Design of recorder system 4:30 Implementing StreamParams dataclass 5:03 Implementing Recorder class 8:54 Recodring audio with the Recorder 10:15 Possible improvements 10:51 Outro

Download

1 formats

Video Formats

360pmp419.2 MB

Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.

Recording Sound with Python | NatokHD