Saving multiple channels in one OGG file [CLOSED]

So, I’ve been trying to save an OGG file with multiple channels.
Basically, I am trying to edit this OGG file, but can’t get it to save the way it was.
When I open the file, I get this:

https://cdn.discordapp.com/attachments/263909676238766080/268569887838830593/Capture2.PNG

So, I select everything and press OK.

https://cdn.discordapp.com/attachments/263909676238766080/268566677740978177/Capture.PNG

Now, as you can see, there are two channels visible in this screenshot (In total there’s about 18).
Each one has a different song.
What I am trying to do is save the OGG the way it was by having those multiple channels.
Every time I save through exporting, it ‘squashes’ all 18 or so channels into one, causing it to be one glob of about 18 songs at once.
If I save through export multiple, it saves each channel as a separate OGG file.
How can I save the channels/indexes in the OGG file like it was when I opened it?
I saw a thread about this, but it didn’t get a good answer, so I’m here to explain it in more detail. Person also said it was MOGG, but the format is actually OGG.
The person who replied also said to go to a gaming forum, but didn’t link any forums or anything, so it wasn’t very helpful.

Actually, I’ll opt for other formats that have multiple channels like this, I’ll try to convert it back and report my results here.

To create a multi-channel file (more than 2 channels), you need to enable the “Use custom mix” option in Preferences.
See: http://manual.audacityteam.org/man/import_export_preferences.html
and then:
http://manual.audacityteam.org/man/advanced_mixing_options.html

It’s up to you do to the research into the best forum, because if this is a MOGG file, Audacity does not support exporting as that (except for exporting multi-channel OGG). It depends where you are going to play the multi-channel OGG file that Audacity exports. It won’t work in a game, if it came from a game in the first place.

Please don’t misrepresent what I said. I mentioned Doom9 and AfterDawn forums.


Gale

Is there even an official specification for Mogg? Other than loads of pirate-ware, it only use seems to be used by Rock Band and Guitar Hero.

That’s the problem. MOGG files are usually encrypted if they come from Rock Band/Guitar Hero, so you’ve already had to use unofficial software to decrypt them into something Audacity can import. That’s why you’re probably going to have to dig deep into gaming forums, logged into a special area, if you want to figure how to repackage a MOGG after decrypting and editing it.

There is something about the MOGG-specific headers here: ScoreHero :: View topic - Mogg File Format Details.


Gale

It is an OGG, not an MOGG, and it came from a game, and the game reads the file this way.

Also, I just tried what you said, and it limits me to 32 channels and cuts off some of the game’s channels even though the OGG file in the game only has 20.
They just only have odd numbers, here’s the game’s channels:

1
3
5
7
9
11
13
15
17
19
21
23
25
27
29
31
33
35
37
39

But it thinks it’s 39 channels and only allows channels 1-32. It saves channels 1-32, but also has even numbered channels. In a weird way…
What I mean ‘in a weird way’ is, the channels of an odd number are copied to the next number to ‘fill’ in the even numbers with the previous odd number. So the channel 2 it created uses channel 1’s audio, channel 4 uses channel 3’s audio, etc, so it’s copied over.Z
How can I fix this?

If it’s from a game as we suspected, it’s a MOGG whatever it was renamed as.


Gale

To reiterate for you, Audacity supports multi-channel OGG files for playback in standard audio players.

Audacity has no way to package OGG or MOGG files that have non-standard headers and custom indices for use in games.

You may be able to “fix it” by going to the dark side of gaming forums.


Gale

Mogg files may contain multiple stereo tracks, in which case the number of each stereo track will correspond to the odd numbers of channels - the tracks being arranged as:
Track 1 left
Track 1 right
Track 2 left
Track 2 right
Track 3 left

When Audacity imports MOGG files, it ignores the non-standard headers that occur before the OGG header (provided that the non-standard headers are not too long), then imports the OGG data from the file (provided that it is valid, unencrypted audio data in a supported format). Audacity does not support the non-standard headers in MOGG files, it just ignores them.

When Audacity exports multi-channel OGG files, it writes multiple streams, one for each channel, into the OGG container. This is different from MOGG files in which the data is written as one logical stream, subdivided into tracks. Audacity support ‘normal’ mono/stereo OGG import and export, and multi-channel OGG import / export, but does not support MOGG export, and only supports MOGG import as far as it is compatible with multi-channel OGG.

Even the gaming forums have become cautious about releasing information about MOGG due to concerns about copyright infringement (see: ScoreHero :: View topic - Mogg File Format Details) so it seems very unlikely that Audacity will add support for MOGG in the near future.

Please note that this forum is about Audacity. We do not have inside information about non-standard audio formats.

Just as an ancillary note, with the example MOGG files I have, selecting none of the streams to import makes the streams append one after the other into one stereo track. It’s no use for putting back in a game, but it might be a time saver for some purposes.


Gale

Any other Audacity alternatives that can do what I’m asking for?

I am closing and locking this topic now as you don’t seem willing to accept what we are saying to you. If you are willing to risk piracy and all manner of dangers on the dark web (Tor browser) yes there may be something.

Gale