Skip to main content

The other day my colleague asked me if I would be able to merge audio files into one, depending of parameters defined in advance (with public parameters by exemple). I thought it would be a great idea to do it with FME!

Let's say I want to create this audio sentence : ? ? December 24th, New York City ? ?

I define the user parameters with MONTH, DAY, CITY.

FME would detect my audio file "December" and combine it with "24th" audio file. The New York part would be combine with the rest. That way I could create my own sentences from a database audio files, depending of the values I define into the parameters. Each audio file contain only one word.

Anyone tried that? I read this article but I'm not sure if it's what I need.

You should be able to do it by building up a command to call ffmpeg through a SystemCaller transformer.


See in this thread there is a workspace from @gazza doing exactly that @philippeb https://knowledge.safe.com/questions/103955/holiday-hackathon-2019.html


See in this thread there is a workspace from @gazza doing exactly that @philippeb https://knowledge.safe.com/questions/103955/holiday-hackathon-2019.html

That one uses the SystemCaller to play an MP3 using MPG123. It might achieve what you are after instead of using ffmpeg to join them into a single MP3.


Or you could call a web service like https://cloud.google.com/text-to-speech/docs/create-audio

That sounds like a candidate for the Holiday Hackathon


Reply