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 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

![MusicLM Generates Music From Text [Paper Breakdown]
MusicLM has taken the Music AI community by storm. The model published by Google is a step ahead towards text-based music generation in the audio realm. By leveraging a clever combination of deep learning base models, MusicLM generates convincing short music clips with good audio fidelity.
Join The Sound of AI Slack Community:
https://valeriovelardo.com/the-sound-of-ai-community/
MusicLM paper:
https://arxiv.org/abs/2301.11325
MusicLM demo:
https://google-research.github.io/seanet/musiclm/examples/
Music AI talent recruitment:
https://thesoundofai.com/
Interested in hiring me as a consultant/freelancer?
https://thesoundofai.com/consulting.html
The Sound of AI Academy:
https://the-sound-of-ai-academy.teachable.com/
Advanced Python Programming:
https://the-sound-of-ai-academy.teachable.com/p/advanced-python-programming
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:45 Text-to-music
2:15 MusicLM demo
3:31 Riffusion and Mubert AI
4:37 MusicLM architecture
6:08 Components overview
7:40 SoundStream
8:20 w2v-BERT
8:51 MuLan
10:51 Training
16:18 Inference
19:52 Experiments
21:52 Limitations
24:40 Thoughts on research procedure MusicLM Generates Music From Text [Paper Breakdown]](https://i.ytimg.com/vi/eaqO5uT0G9Q/mqdefault.jpg)








