How do I loop audio seamlessly

Get help using Construct 2

Post » Wed Jan 06, 2016 9:25 am

Hi all,

Apologies for this question if it's answered elsewhere, however, on searching for an answer I seem to be going in circles (loops?) to no avail.

I'm aware that both mp3 and ogg do not loop seamlessly, and there is no support for wav (which as far as I'm aware does loop nicely). Does anyone know of a work around for this? This is for use with nw.js

Thanks in advance,

Dan
B
16
S
6
G
2
Posts: 7
Reputation: 2,150

Post » Wed Jan 06, 2016 10:54 am

@Dan, I think that the problem with audio loop is where you cut (finish) it and not the type of file (wav, ogg or mp3). If you cut it in the place that when start again will not sounds ugly, will merge/loop perfect.
B
18
S
4
G
1
Posts: 143
Reputation: 1,868

Post » Wed Jan 06, 2016 5:12 pm

I can't notice any gaps for looped music in a project of mine and would agree with frcol ( http://strategy-investor.de/mgz10/vnengine/ this has 3 short loops on menu, load and game screen). An example showcasing the problem would be helpful.
Visual Novel 'Engine' in 100 Events
if you ever have to choose between buying Construct 2 on scirra.com or on Steam, read this: Review
B
22
S
9
G
1
Posts: 787
Reputation: 3,786

Post » Thu Jan 07, 2016 12:19 am

Thank you both for your replies, and thankfully after a little messing about I've fixed the looping problem.

If you import either ogg or wav in as music, then trigger this as looping, there is a slight delay between each loop.

If you import either ogg or wav in as a sound, and trigger as looping, it works absolutely perfectly.

I've uploaded a quick video to YouTube of both imports. This probably wasn't the ideal loop to use, but it does demonstrate it working one way and not the other

https://youtu.be/JY4x8ERbrXY

Thanks again,

Dan
B
16
S
6
G
2
Posts: 7
Reputation: 2,150

Post » Thu Jan 07, 2016 8:21 pm

Kind of weird, since it works seamless for me in either category. Well, audio sometimes is weird, maybe we use different browsers and because of this notice different behaviors.
Visual Novel 'Engine' in 100 Events
if you ever have to choose between buying Construct 2 on scirra.com or on Steam, read this: Review
B
22
S
9
G
1
Posts: 787
Reputation: 3,786


Return to How do I....?

Who is online

Users browsing this forum: fisholith and 8 guests