audio - Is there a python library that will allow me to piece together and export an mp3 file from a custom list of waveforms? -


here's problem. have huge number of waveform files of same phrases in different languages , want write python script can choose phrase , language combinations , script build , export mp3 file waveform phrases next each other. outputted file example, have phrase 'nice meet you' in english followed it's equivalent in japanese after pause of 2 seconds, followed next item in list it's equivalent in japanese. want know if there library need or whether can written standard python library. can help.

you can try using dictionaries so, y = {"hello":"hola","etc"} , when 1 called can convert sound file. example, if on mac can

from os import system system('say '+ hello) 

this works on mac though.

i hope helped however, didn't mention have tried, can't anymore specific.


Comments

Popular posts from this blog

Command prompt result in label. Python 2.7 -

javascript - How do I use URL parameters to change link href on page? -

amazon web services - AWS Route53 Trying To Get Site To Resolve To www -