Using *.wav files

0 favourites
  • 6 posts
From the Asset Store
With this template you will learn how to use the GooglePlay Games native plugin
  • As I currently understand, there is no way to use a wav file in Construct 2. Is this a feature that could possibly be implemented in the future (mainly if you're using node-webkit for you game)?

    I ask this because music files don't really loop properly when using ogg, mp3, or any other format (other than aif) due to the track data - it creates a small yet noticeable gap between the loop.

    Just curious.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • You can import .wav inside C2, but since Wav is really heavy, C2 convert it, So, I don't think supporting wav is on the to do list

  • Hm.. Okay, well I have an idea that I'm having trouble implementing. Since you cannot use Waves, I'm separating my tracks into 2 parts (part 1, and part 2). I'm then trying to set the following condtion:

    IF Audio.Duration("Part 1") = 41 seconds

    PLAY Part 2

    No matter what I put receiving value at (even 1), it doesn't play. Can anyone think of another way to do this that will product the same exact result everytime?

  • *UPDATE*

    Okay I actually figured out a great way to do this. For those interested, this creates a SEAMLESS loop for your track. It does, however, take a little bit of finagling (hence the keyboard command).

    <img src="https://dl.dropboxusercontent.com/u/28104568/Mp3s.PNG" border="0" />

  • .ogg and .m4a loops still have seams in node-webkit? Agh, that sucks.

  • Well, I think it's the fact that you cannot select which file type is to be played, so it automatically chooses mp3.

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