Python Audio Processing Basics - How to work with audio files in Python
AssemblyAI AssemblyAI
130K subscribers
51,284 views
0

 Published On May 26, 2022

Learn how to work with audio files in Python in this Python Audio Processing Tutorial. Learn about:

- mp3, wave, flac file
- sampling rate
- wave module Python
- plot waveform with matplotlib
- record microphone with Python
- PyAudio Tutorial
- PyDub Tutorial

Get your Free Token for AssemblyAI Speech-To-Text API 👇https://www.assemblyai.com/?utm_sourc...

Resources:
PyAudio: http://people.csail.mit.edu/hubert/py...

M1 PyAudio Installation command:
python -m pip install --global-option='build_ext' --global-option='-I/opt/homebrew/Cellar/portaudio/19.7.0/include' --global-option='-L/opt/homebrew/Cellar/portaudio/19.7.0/lib' pyaudio

▬▬▬▬▬▬▬▬▬▬▬▬ CONNECT ▬▬▬▬▬▬▬▬▬▬▬▬

🖥️ Website: https://www.assemblyai.com
🐦 Twitter:   / assemblyai  
🦾 Discord:   / discord  
▶️ Subscribe: https://www.youtube.com/c/AssemblyAI?...
🔥 We're hiring! Check our open roles: https://www.assemblyai.com/careers

▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬

Timestamps:
00:00 Intro
00:27 signal parameters
03:18 wave module
10:44 plot waveform matplotlib
15:40 record microphone with PyAudio
21:50 load mp3 with PyDub

Headphones icons created by photo3idea_studio - Flaticon: https://www.flaticon.com/free-icons/h...
Microphone icons created by Freepik - Flaticon: https://www.flaticon.com/free-icons/m...

#Python #PyAudio

show more

Share/Embed