How would you concatenate a whole file in a single .mp3?

Hey guys, I’m creating a software that creates the text using openai, saves in a .txt file and reads the whole .txt file and outputs one single .mp3 file using google cloud’s text-to-speech api.

I’m struggling with running the whole text into google’s api (cause it only gets 5000 chars per time) and also the concatenating mp3 files.

Help?

(You guys rock!)

Not really a GPT-3 question but I use FFMPEG to concatenate audio files. I hope that helps.

2 Likes