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

javascript - Confirm a form & display message if form is valid with JQuery -

Retrieving ETA (estimated time of arrival) with Google Distance Matrix API and public transit as transport mode -

ionic framework - Meteor - Error: Failed to execute 'insertBefore' on 'Node' -