[SOLVED] Audio cutting out randomly

So, I recorded some audio for Age Of Error, it worked… but the audio would always cut out half way through for some reason. I adjusted the duration a little and it still cut out at the same time. I do not know what is going on.

Hi @secretscience! Can you share the project and name of the audio file please?

Here is the project PlayCanvas | HTML5 Game Engine and the audio file is named
ambiance_1 also the audio stopped working completely.

There is probably a problem with how you export the file from your sound editor, because the file in your project has no duration length. I fixed the file for you and I also removed the mouse clicks at start and end. You can download the file from the project below. (Please let me know when you are done, so I can delete the project).

https://playcanvas.com/editor/scene/1465957

1 Like

It… sort of worked. The music plays, but it still cuts out at around four seconds into the track.

I checked your project again and this is because your duration is longer than the actaul duration of the track. Weird result by the way, this may be a bug. If you change the duration to for example 19 it should be fine.

image

image

1 Like

It worked!

1 Like
1 Like