SoundDevice, PyAudio and pydub
Record and play audio (SoundDevice, PyAudio) and edit audio files simply (pydub).
Easy
AudioSegment.from_mp3("a.mp3")[:5000].export("clip.wav", format="wav").
Spotted a mistake or want to add detail? Suggest an improvement — Content Contributors' edits are reviewed by editors before they go live.
Discussion (0)
Sign in or join free to ask questions and discuss this topic.