Recording Sound with Python @ValerioVelardoTheSoundofAI
Recording Sound with Python  @ValerioVelardoTheSoundofAI
Uploaded April 2022 | Updated November 2026, 17 hours ago
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:
github.com/musikalkemist/recorder

PyAudio:
https://people.csail.mit.edu/hubert/pyaudio/docs/

PortAudio:
portaudio.com/docs.html

===============================

Interested in hiring me as a consultant/freelancer?
valeriovelardo.com

Join The Sound Of AI Slack community:
valeriovelardo.com/the-sound-of-ai-community

Connect with Valerio on Linkedin:
linkedin.com/in/valeriovelardo

Follow Valerio on Facebook:
facebook.com/TheSoundOfAI

Follow Valerio on Twitter:
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
Recording Sound with Python18- Long Short Term Memory (LSTM) Networks Explained EasilyMusicLM Generates Music From Text [Paper Breakdown]Using Python + Text-To-Speech to Keep Up-to-Date with ResearchI released an album of piano music...Generating Sound Digits with a Variational AutoEncoderDriving the Voice AI Revolution || SoundHoundBuild a Spotify-Like Music Recommender System in Python11.  Markov Chains - Generative Music AI CoursePyTorch for Audio + Music Processing: Course OverviewHow to Create an Effective AI (Audio) Portfolio to Land a Job9.  Generative Grammars for Music Generation - Generative Music AI Course
Valerio Velardo - The Sound of AI |

Recording Sound with Python

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER