Audio Trouble

  • I have an mp3 file that I would like to play, but I am running into some trouble with C2's Ogg & AAC converter. Unfortunately I only have the file in mp3 format, so can't try importing it as a wav.

    I did a search and couldn't find anything that helped.

    The file I want to import:

    incompetech.com/m/c/royalty-free/index.html

    The error I get:

    <img src="http://i.imgur.com/VLXZW.jpg" border="0" />

    If I can't get it to work in C2 I'll have to find an external converter but it would be much more convenient to just import directly.

    Any ideas what I should try? Can anybody try importing the mp3 into their project and tell me if it works?

  • Have you tried converting the mp3 file into wav in an external software (audacity for example) and importing the wav in C2 so C2 could handle the final conversion ?

    Mp3 is an unsupported file format for C2.

  • Thanks, but I'm still a little confused.

    There must be SOME mp3 support because C2 was able to convert my file from mp3->aac. I tested the converted aac file in Winamp and it plays fine.

    I know that C2 can't PLAY mp3, it's just the converting I'm interested in. I'd really like to avoid complicating my pipeline with audacity etc since I'm not the audio guy and all the placeholder files I'm adding will be replaced by my audio pro later (who will handle conversion for those).

    Still hopeful I'll find a way to do it directly in C2 <img src="smileys/smiley1.gif" border="0" align="middle" />

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • im having similar trouble, i finally managed to import some music files and play them on the game, but i still cant get certain wav files to convert to ogg the wavs are mono files, open fine and play fine in audacity and in media player

  • You should get in to the habit of only importing PCM .wav files to Construct 2. I've just recently added a relevant article to the manual on the Import Audio dialog which has relevant info.

    The AAC encoder supports the .mp3 format, but the Ogg Vorbis encoder does not support it, so it only gets imported as AAC. The article I linked to also describes how .m4a is a backup to an .ogg file (so .oggs take priority) which is why you can't select just an .m4a in the event system.

    Construct 2 could decode MP3 and re-encode it to .ogg but this degrades quality, and encoders are complicated, difficult to deal with, and if used in commercial software like Construct 2 sometimes incurs some hefty fees for us, so we just totally avoid it. You should use your own audio encoding software to decode your MP3 to .wav if you must, but it's really best to just import PCM .wav files all the time for everything. I nearly took out the option to import formats like MP3 at all, but I thought we may as well leave it in if the encoder is capable.

  • Okay, thanks for the insight. I hope you become successful enough that this conversion can be included some day. Especially since C2 is otherwise so beginner-friendly that I think it would be a valuable addition not having to go through another program.

    I always use WAV when possible.. but sometimes it's simply not an option because I don't have access to a WAV version. <img src="smileys/smiley26.gif" border="0" align="middle" />

  • As mentioned in another thread, there's a free program called Format Factory. That converts one thing into another, I use it all the time. :)

  • Thanks, look promising I'll download and give it a go!

  • I always use audio player Aimp (free analog of winamp, but better). He can convert any of audio-format to any.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)