How to generate a sound file based on several others sounds files?

Hi,

I’ve got several short sounds files (.m4a) in my app and I would like to add this functionality :  

users could generate 1 long file composed with some of these short files.

media.newRecording is not the solution, because I don’t need the microphone, and I don’t want the quality of the files to be altered. 

In short, is it possible to “do” this in Corona :

File_1.m4a  +  File_2.m4a  +  File_3.m4a  =   newFile.m4a

Thank you for your help :slight_smile:

Best,

Olivier

Any idea?

Corona Staff?

Thanks :slight_smile:

Best,

O.

Hi @Olivier,

At this time it’s not possible to combine/edit sound files inside Corona. I assume you’d want this, for example, to have the user “compose a song” and then export it as one sound file to a web server or something?

Best regards,

Brent

Hi Brent

Thank you for your mail!

Yes that is exactly what I want to do.

So it’s not possible in Corona…

Do you plan to add these editing functionalities for sounds shortly?

Thanks

Best,

Olivier

Hi Olivier,

Unfortunately, I don’t think these kind of advanced audio editing/combining/saving features are on our road map. This type of functionality would be achievable under Enterprise, I believe, if you wanted to investigate that option.

Best regards,

Brent

Here’s a possible workaround that may be “good enough” for what you want – as long as you have an online server available.

Allow the user to combine the sound files the way they want, and then tell your server the order of the files. Your server will already have the same files so all you need to send is “ABDFC” (or whatever) to tell it the order. Using FFMPEG or similar it joins the specified sound files together and passes back the new audio file for you to download back to the device.

So it requires a round-trip to a server, but you’re only sending an actual audio file for one leg of that.

Just an idea. :slight_smile:

 Jay

Any idea?

Corona Staff?

Thanks :slight_smile:

Best,

O.

Hi @Olivier,

At this time it’s not possible to combine/edit sound files inside Corona. I assume you’d want this, for example, to have the user “compose a song” and then export it as one sound file to a web server or something?

Best regards,

Brent

Hi Brent

Thank you for your mail!

Yes that is exactly what I want to do.

So it’s not possible in Corona…

Do you plan to add these editing functionalities for sounds shortly?

Thanks

Best,

Olivier

Hi Olivier,

Unfortunately, I don’t think these kind of advanced audio editing/combining/saving features are on our road map. This type of functionality would be achievable under Enterprise, I believe, if you wanted to investigate that option.

Best regards,

Brent

Here’s a possible workaround that may be “good enough” for what you want – as long as you have an online server available.

Allow the user to combine the sound files the way they want, and then tell your server the order of the files. Your server will already have the same files so all you need to send is “ABDFC” (or whatever) to tell it the order. Using FFMPEG or similar it joins the specified sound files together and passes back the new audio file for you to download back to the device.

So it requires a round-trip to a server, but you’re only sending an actual audio file for one leg of that.

Just an idea. :slight_smile:

 Jay