Let's say I want to create an audio file (mp3 preferred) with some known parameters. For example:
Start with 3 seconds of silence. Then 5 seconds of 2khz tone. 1 second of silence. Then 3 seconds of 5.2 khz. Etc.
Any known modules to do this for python?
I can find a lot of audio recording and playback, but nothing for generated sounds.
source https://stackoverflow.com/questions/70386305/how-can-i-programmatically-create-an-mp3-audio-file-in-python
Comments
Post a Comment