OK, so I used pyaudio too, but from the fact that I was looking at the wave module, I could probably help me here.
So, I'm trying to add a trim function to my program, I mean, I'm trying to allow the user to find wav parts. that he / she does not like and has the ability to cut the wave file if he wants it.
so far I have used pyaudio for simple playback, and pyaudio is very simple when it comes to recording from an input device.
I searched on pyaudio for everything I could to trim the audio, but I really found something that could help me. Although on the built-in wave module, I see that there are ways to set the position.
Do I have to have a loop or instruction so that the program knows which positions to record, and then either pyaudio or the wave module for recording a song from user positions (start, end)? Will my program work efficiently if I approach it like this?
source
share