Skip to main content
Question

Combine Audio files with FME - depending of User parameters

  • December 11, 2019
  • 4 replies
  • 37 views

philippeb
Enthusiast
Forum|alt.badge.img+18

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.

4 replies

gazza
Contributor
Forum|alt.badge.img+6
  • Contributor
  • December 12, 2019

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


sigtill
Supporter
Forum|alt.badge.img+24
  • Supporter
  • December 12, 2019

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


gazza
Contributor
Forum|alt.badge.img+6
  • Contributor
  • December 12, 2019
sigtill wrote:

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.


gazza
Contributor
Forum|alt.badge.img+6
  • Contributor
  • December 12, 2019

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


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings