Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

.ogg sample support #7325

Closed
Duskitten opened this issue Dec 18, 2016 · 5 comments
Closed

.ogg sample support #7325

Duskitten opened this issue Dec 18, 2016 · 5 comments

Comments

@Duskitten
Copy link

So the game im working on i have most of the sounds as .ogg files, and they arent too too long, but i'd like to keep the smaller file size when using them, would it be possible to add support in sample players for .ogg files?

@bojidar-bg
Copy link
Contributor

If they are going to be converted to .smp anyway, why bother? The idea behind using .wav is that wavs are not lossily compressed, and therefore have no artefacts in them.

@reduz
Copy link
Member

reduz commented Dec 18, 2016 via email

@freemanfromgodotengine
Copy link

@Duskitty I would convert sounds to mono, 16-bit, 44100 Hz sample resolution wav files (if they are sound effects and your game is a 2d game). And if you really need more space, I would even go with 22050 Hz sample rate.
With music I would stay with ogg format and use the streamplayer.

@akien-mga
Copy link
Member

As per the above I guess this is a wontfix.

@Calinou
Copy link
Member

Calinou commented Mar 23, 2022

In case someone lands on this page from a web search, Godot 3.0 and later supports using Ogg Vorbis samples anywhere (regardless of length or purpose): https://docs.godotengine.org/en/latest/tutorials/assets_pipeline/importing_audio_samples.html#doc-importing-audio-samples

MP3 is also supported since Godot 3.3.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants