Audio plays once then just stops, please help
Yes I am trying to figure this out too. How do you loop audio? Does anyone know?
Right now, there’s no simple way to loop audio. However, there is a bit of a hack.
Creating a clip, and placing the sound inside the clip on the timeline, then placing that clip on the frame in question will work.
Here’s an example:
loopingSounds-Dec7-2018-2.00PM.html (826.5 KB)
Is there any upates for alpha version, regarding the audio loops? I dont understand how to do the above steps. Can you help out?
Like I created a clip, I went to its timeline and put the audio in a timeframe there. But still the audio stops after sometime.
Update: Having more than one timeFrame in the clips timeline layer, causes the loop effect , got it !!
I know this topic is old, but is there any way to modify
the sound file being played via playSound()?
It appears to have a lot of other properties for
altering the volume and letting the audio loop, but there’s
as far as I can see, no way of accessing them.
Hey all,
Internally, Wick is using howler.js to play and load sounds. So adding features like volume and looping is just a matter of wrapping howler’s sound options in the playSound function.
You can see the full list of options in the howler.js docs - I’ll try to get around to adding these options in soon.
Would you mind explaining how to do so?
(Sorry, I’m kinda inexperienced so I don’t know how I’d begin to do this.)
Good news! I just added looping to the API.
You can use it like so:
playSound("sound.mp3", {loop: true})
You can also change some other options as well:
playSound("sound.mp3", {loop: true, volume: 0.5})
Awesome, I love the flexibility! Thanks!
Many thanks for adding this!
I was wondering though if there’s any way to do this in the Legacy editor. I have a project that I’m building in the Legacy editor and I can’t find a decent way to loop of alter volume in it.
If this is impossible to do could you let me know?
Thanks again in advance!
Edit:
I just had a play with this in the Alpha, and it works beautifully!
The Alpha in general feels a lot more polished since the last time I used it.
That old bug where the layers disappeared is gone as well.
Nice work guys!
Thanks for the help!
I just tested it, and it doesn’t work well. I think I need help.
Edit: Nevermind, I got it working!