How do I OGG good?

Get help using Construct 2

Post » Tue May 09, 2017 1:13 pm

Message: YLivay can only post plain text URLS until they have 500 rep. 1 URLS modified. Why?
Hello!

I know this has been discussed countless times, ogg is not supported in html5 exports and that is fine,
but I read here music-dont-work-under-edge_t152506 that:
Construct 2 will automatically encode the AAC files (.m4a) for you, ensuring IE + Edge compatibility for audio.

When exactly does this conversion happen?
Does it actually include the .m4a files in the export or does it convert the .ogg sounds on the fly after downloading the assets?

My issue is that HTML5 builds that use .ogg files attempt to download the music as .m4a in the url. These files obviously don't exist in the build so playing music on Edge doesn't work.
B
3
Posts: 5
Reputation: 185

Post » Tue May 09, 2017 1:20 pm

https://www.scirra.com/manual/52/import-audio

If you import a WAV file, C2 will create a .ogg and a .m4a file for you. Both are included in the project. If you are doing it manually, you have to import both formats.
ImageImageImage
B
71
S
22
G
248
Posts: 3,758
Reputation: 138,067

Post » Tue May 09, 2017 1:25 pm

YLivay wrote:Hello!

I know this has been discussed countless times, ogg is not supported in html5 exports and that is fine,
but I read here music-dont-work-under-edge_t152506 that:
Construct 2 will automatically encode the AAC files (.m4a) for you, ensuring IE + Edge compatibility for audio.

When exactly does this conversion happen?
Does it actually include the .m4a files in the export or does it convert the .ogg sounds on the fly after downloading the assets?

My issue is that HTML5 builds that use .ogg files attempt to download the music as .m4a in the url. These files obviously don't exist in the build so playing music on Edge doesn't work.



The majority of what you are asking is covered here:https://www.scirra.com/manual/52/import-audio

As the manual states, C2 will encode both ogg and .m4a files if the file imported is a .wav and your OS is Windows 7 and above.

You can also use software such as Audacity to encode and convert between formats prior to import.
If your vision so exceeds your ability, then look to something closer.
Moderator
B
136
S
31
G
86
Posts: 5,487
Reputation: 59,760

Post » Tue May 09, 2017 1:27 pm

Thanks! The problem is definitely
Construct 2 will not trans-code .m4a files to .ogg nor .ogg files to .m4a
. I'm assuming the dev imported .ogg files directly so they stayed only as ogg files.

Browser compatibility is a female dog, eh?
B
3
Posts: 5
Reputation: 185


Return to How do I....?

Who is online

Users browsing this forum: AnD4D and 27 guests