(question) mixing multiple sound files into a 5.1 (surround) file

Pleng

Custom Title
OP
Member
Joined
Sep 14, 2011
Messages
2,455
Trophies
2
XP
2,884
Country
Thailand
I recently was lucky enough to have a 5.1 speaker system installed. Yea, I'm a bit late to the surround sound party, it seems.

Never mind... the good thing about coming in late to a mature technology is that it should be super simple to create my own content in the format, right? It could be quite fun I guess to mess about with and see what "experiences" I might be able to create.

One rather silly idea was to get the attract mode music for a few notable arcade games, map 1 to each of the 6 channels, and see if it can use the file to recreate the illusion of being in an arcade while playing games.

So I started looking for software that would let me do this. According to ChatGPT, the first 5.1 capable sound card came out TWENTY FOUR YEARS ago. Surely by now there will be a wide variety of free and paid for tools to achieve this by now, right?

Mother is the assumption of all evil and, as far as I can tell, there's actually no free software to do this easily.... I certainly haven't been able to find anything. Adobe Premiere and Logic (which I think is now mac exclusive) were suggested but they are well out of budget; especially as right now I'm only playing around out of curiosity.

So I went to ChatGPT and asked for a FFMpeg command that might work. After a LOT of the usual ChatGPT nonsense, I finally was given a command that would actually output a file without failing. When I import the said file into audacity it shows up with 5 different streams. But whenever I try and play it using Audacity or with VLC on the computer (connected via bluetooth), or VLC on my Android box (connected via optical cable), all I hear is all five separate tracks playing at the same time on ALL speakers; the sounds are not distributed as I had hoped for.

Here is the command I was given which produces the misbehaving file:

Code:
ffmpeg -i fl.mp3 -i fr.mp3 -i c.mp3 -i rl.mp3 -i rr.mp3 -filter_complex "[0:a][1:a][2:a][3:a][4:a]amerge=inputs=5,pan=5.1|FL=c0|FR=c1|FC=c2|BL=c3|BR=c4|LFE=c5[out]" -map "[out]" -ac 6 output_5.1.mp3

Does anybody here have any insight into fixing the command so it will create a genuine 5.1 recording? Or does anybody know of any free tools (or at least inexpensive ones with a free trial) that will enable me to make 5.1 sound mixes?
 

JuanMena

90's Kid, Old Skull Gamer & Artist
Member
Joined
Dec 17, 2019
Messages
5,037
Trophies
2
Age
30
Location
the 90's 💙
XP
10,758
Country
Mexico
I thought audio drivers played a huge role in audio reproduction.

If I'm not mistaken, your Audio Card seems to be the problem here. You can try to force whatever audio file or system you want but the Audio Card is responsible of decoding and converting the Audio data.

Have you checked if your Audio Card has support for 5.1 Surround, and if it does, whether or not there's a Driver update for your Audio Card?
 

BigOnYa

Has A Very Big
Member
Joined
Jan 11, 2021
Messages
3,392
Trophies
1
Age
50
XP
8,040
Country
United States
You can use a DAW (digital audio workstation) to do what you want. Not sure if any free ones will but I use Logic pro and it does surround sound. Ableton Live also does it -
 
  • Like
Reactions: Pleng

Pleng

Custom Title
OP
Member
Joined
Sep 14, 2011
Messages
2,455
Trophies
2
XP
2,884
Country
Thailand
@BigOnYa

Hi. Yes thanks.

I am familiar with DAWs, having used both Logic and Sonar back in the day to mix stereo sounds.

However I have not found many that advertise this feature and searching online gives the typical "10 great free and paid audio mixing software packages" type of results. And none of the listings in these generic lists actually specify if they have 5.1 support or not.

I was aware that Logic Pro can do it but it's expensive and Mac only.

I will have a look into Abletron Live. It doesn't look too pricy and hopefully there's a trial version.
Post automatically merged:

I thought audio drivers played a huge role in audio reproduction.

If I'm not mistaken, your Audio Card seems to be the problem here. You can try to force whatever audio file or system you want but the Audio Card is responsible of decoding and converting the Audio data.

Have you checked if your Audio Card has support for 5.1 Surround, and if it does, whether or not there's a Driver update for your Audio Card?

Both the computer and the Android box are capable of playing other 5.1 streams, so I don't believe that is the issue.
 
  • Like
Reactions: BigOnYa

Pleng

Custom Title
OP
Member
Joined
Sep 14, 2011
Messages
2,455
Trophies
2
XP
2,884
Country
Thailand
@RedColoredStars

Thanks for the suggestion. Unfortunately when I set things up using the Mux wizard and press encode I get a window flash up for, like, a millisecond then disappear with no information on what it doesn't like :(

Oh well, maybe I'll give the Abletron demo a go if I have a bit more time later down the line
 

RedColoredStars

Well-Known Member
Member
Joined
Aug 14, 2022
Messages
1,264
Trophies
1
Location
Angoche
XP
1,707
Country
Mozambique
@RedColoredStars

Thanks for the suggestion. Unfortunately when I set things up using the Mux wizard and press encode I get a window flash up for, like, a millisecond then disappear with no information on what it doesn't like :(

Oh well, maybe I'll give the Abletron demo a go if I have a bit more time later down the line

The installer version doesn't work for me no matter what I've tried. I know it's a GUI for the Aften A/52 audio encoder, but no matter where I placed those files the GUI would never convert and just flash like you stated.

The portable version worked for me first try. :)

Scroll down the page just a bit and download:
Windows 64-bitPortable8.0EncWAVtoAC3-8.0-x64.zip

Or via direct link:
https://github.com/wieslawsoltes/wavtoac3encoder/releases/download/8.0/EncWAVtoAC3-8.0-x64.zip

Then when you start the program... change the "Engine" dropdown to Aften x64. (Assuming you're on a x64 OS. If not, use the 32-bit portable version and don't change the Engine.)
 
Last edited by RedColoredStars,

Grant-Wolter

New Member
Newbie
Joined
Jun 29, 2024
Messages
1
Trophies
0
Age
29
XP
3
Country
United States
@BigOnYa @k0walski @RedColoredStars

I am trying to do something similar to the OP instead however with a “live” output I guess. All your suggestions for the OP were great and helpful info I will use for other scenarios. I’m hoping you might have a helpful suggestion for me.

I have the pre-outs of my avr for L,C,R,RL,RR going into a 6 channel input audio interface in my PC. Now I need to encode those six channels assigned to there perspective speakers as either LPCM or AC3 to be output either the hdmi (has support for both formats) or the SP/DIF (has support for AC3). I need to be able to monitor this audio, in other words have the avrs live output, input into the pc then output live from the pc.

I guessing I will have to do this with some DAW software. What would be the simplest to setup and use for this simpler task. Can I do this with Ableton? From the video in this thread he was doing something different but makes it seem like it has the capability to do what I need. I just would still need some guidance on how to set it up correctly.
 

k0walski

Well-Known Member
Member
Joined
Aug 10, 2021
Messages
101
Trophies
1
XP
801
Country
Lithuania
@Grant-Wolter,
Ableton probably will work (if you already have it). You could, probably, use Reaper (https://www.reaper.fm/index.php). I'm not sure about its demo version (if it exists). However I hadn't time to set-up all the things with Ableton yet (read the manual? heh :) ), so I can't tell more, sorry.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    BigOnYa @ BigOnYa: I've seen my Nieghbors dog come in my back yard and eat my dogs poop.