Just about every Wav file I create using Audacity causes C2 to hang when importing them. The progress bar comes up completes the process and then just hangs - Task Manager has to be used to end C2.
So wondering about any other programs that are out there...
Its probably the hz. Try exporting a little lower.
Yes looks like hz is the culprit.
Thanks for the reply newt.
Many thanks <img src="smileys/smiley20.gif" border="0" align="middle" />
Well spoke too soon!
Works sometimes, but have to drop hz to 8000 (looses much clarity of original file), and then it is hit and miss if C2 converts it successfully.
Does THIS post from Ashley help?
What format are you using exactly? .wav isn't a single format, there are a wide range of variants. Importing 44.1KHz 16-bit PCM .wavs should work fine, but the encoder tools we use might not be able to deal with other formats (like a-law or u-law instead of PCM; other sample rates, possibly including 48 KHz; other bit depths like 32-bit float, etc.)
Ashley, format is 44100hz 16-bit PCM only 9kb in size.
That is exacrly the problem I am having. But the issue is not just with one particular file, but with almost every file I edit\create.
I have used a number of apps besides Audacity and the result is the same, so it is not Audacity.
The files are originally MP3 files I have recorded, then cleaned and trimmed, and saved as 16-Bit PCM 44100hz Wav files.
The weird thing is, if I convert the original files to Wav using <font color=green>Free Audio Conveter</font> they import into C2 as expected.
But if I edit them, then C2 either freezes(almost every time), does not create the OGG file, or says the format is not recognised, when trying to import them.
At present it is looking like I will be unable to create my own audio files, which makes including credits for other peoples work a nightmare.
Develop games in your browser. Powerful, performant & highly capable.
Construct 2 doesn't actually encode or convert the files itself, we call some third party tools to do that. So if it hangs unfortunately it's an encoder problem, and we don't directly control or maintain them so we can't fix problems with them.
It might be that the file is too short - some formats need padding with extra silence to meet a minimum length in order to encode correctly. Does that help? A 9kb mono PCM WAV at 44.1KHz would only be about 100ms long, or 50ms if stereo.
Good morning Ashley,
Thanks for the reply and tip.
The above mentioned file was 00:00:00 in lenght, I added some padding to make it 00:00:01 in lenght and it imported successfully.
I will keep that in mind and post back here later when I have completed a few more imports.
So it's true - you learn something new every day!
FYI: Free Audio Converter converts all the files to OGG and AAC without any problems.
Thanks for your help.
Ashley, I have spent all day creating\importing sounds in C2 and it seams short files were the problem.
I have been padding all files with silence so they are at least 00;00:001 in length and they all import correctly.
Thanks everyone for help and tips.