Audio Formats?

Place to get help with not working mods / modding interface.
User avatar
RalleYTN
Long Handed Inserter
Long Handed Inserter
Posts: 55
Joined: Wed Feb 01, 2017 7:14 am
Contact:

Audio Formats?

Post by RalleYTN »

Just wanted to ask which audio formats for sound effects are valid. I looked at the base mod and could only see .OGG files. now I wanted to know if other formats are allowed too and if yes which formats
I'm currently working on a tool that will allow everyone to create mods for Factorio without having to learn any of the complicated stuff.
Follow the development here: viewtopic.php?f=137&t=40830.
User avatar
Kayanor
Global Moderator
Global Moderator
Posts: 566
Joined: Sat May 10, 2014 7:20 am
Contact:

Re: Audio Formats?

Post by Kayanor »

I recommend using OGG as audio format for modding purposes.
OGG has the big advantage that it can have the same quality as a high quality MP3 file while OGG uses a way smaller bitrate.
Former moderator
User avatar
RalleYTN
Long Handed Inserter
Long Handed Inserter
Posts: 55
Joined: Wed Feb 01, 2017 7:14 am
Contact:

Re: Audio Formats?

Post by RalleYTN »

Kajanor wrote:I recommend using OGG as audio format for modding purposes.
OGG has the big advantage that it can have the same quality as a high quality MP3 file while OGG uses a way smaller bitrate.
ok. just wanted to know if I should include an audio converter in a project. :D
I'm currently working on a tool that will allow everyone to create mods for Factorio without having to learn any of the complicated stuff.
Follow the development here: viewtopic.php?f=137&t=40830.
Bilka
Factorio Staff
Factorio Staff
Posts: 3386
Joined: Sat Aug 13, 2016 9:20 am
Contact:

Re: Audio Formats?

Post by Bilka »

Seems like this shows up in some search results and I just documented this, so here is the answer:
Support sound file formats are .ogg, .wav and .voc.
I'm an admin over at https://wiki.factorio.com. Feel free to contact me if there's anything wrong (or right) with it.
User avatar
Stargateur
Filter Inserter
Filter Inserter
Posts: 258
Joined: Sat Oct 05, 2019 6:17 am
Contact:

Re: Audio Formats?

Post by Stargateur »

Bilka wrote: Fri Oct 08, 2021 6:30 pm Seems like this shows up in some search results and I just documented this, so here is the answer:
Support sound file formats are .ogg, .wav and .voc.
where did you document it ? Can't find anything in wiki or doc
Bilka
Factorio Staff
Factorio Staff
Posts: 3386
Joined: Sat Aug 13, 2016 9:20 am
Contact:

Re: Audio Formats?

Post by Bilka »

Stargateur wrote: Tue Jun 03, 2025 4:43 pm
Bilka wrote: Fri Oct 08, 2021 6:30 pm Seems like this shows up in some search results and I just documented this, so here is the answer:
Support sound file formats are .ogg, .wav and .voc.
where did you document it ? Can't find anything in wiki or doc
On the sound type: https://lua-api.factorio.com/latest/typ ... l#filename

In the meantime we dropped support for .voc.
I'm an admin over at https://wiki.factorio.com. Feel free to contact me if there's anything wrong (or right) with it.
User avatar
Stargateur
Filter Inserter
Filter Inserter
Posts: 258
Joined: Sat Oct 05, 2019 6:17 am
Contact:

Re: Audio Formats?

Post by Stargateur »

Bilka wrote: Tue Jun 03, 2025 5:01 pm On the sound type: https://lua-api.factorio.com/latest/typ ... l#filename
Thanks, I start from play_sound of runtime doc, then realize I needed to add my audio file in data stage. Since `play_sound` need a `path` I was using `__mymod__` directly and the game just quit :lol:. Then I define my sound in data.lua but I didn't expect filename doc would contain the file supported format, I was searching at the top of sound doc, wiki or in concept or auxiliary topic.
Bilka wrote: Tue Jun 03, 2025 5:01 pm In the meantime we dropped support for .voc.
:lol: My source audio file are in mp3 but I was expecting it would not be supported and.... never ever hear about .voc
Post Reply

Return to “Modding help”