Ambiera Forum

Discussions, Help and Support.

Ambiera Forum > CopperCube > Programming and Scripting
looping sound dos not work

sikhoonak
Registered User
Quote
2016-01-10 09:12:02

hi , i used mp3 format for sound and set looping in playmode,but in html webgl,sound was played once !!


niko
Moderator
Quote
2016-01-10 11:58:56

There was a bug similar to that, but in Android, which was fixed in the 5.3 release. Wondering if this one is similar. How are you playing your sound? With a 3D sound node, with the scripting command, or with the "play sound" action?


sikhoonak
Registered User
Quote
2016-01-11 23:33:04

i tested in ver 5.3 and still has this problem
whit a 3d sound.


niko
Moderator
Quote
2016-01-12 04:33:28

Ok, thanks, I'll see if I can reproduce (and then fix) the problem.


sikhoonak
Registered User
Quote
2016-01-12 16:57:49

thanks a lot but how long ? no solution for fix by edit text in published files?


niko
Moderator
Quote
2016-01-13 02:11:29

You can use one of the other methods for playing back sound in the meanwhile (either using the action 'play sound' or the script command), which should work. If you can't wait, I should have a fix ready in a couple of days, if you want to edit the source yourself, but the CopperCube update wil likely take a few weeks still.


niko
Moderator
Quote
2016-02-03 08:38:26

Update: Looked into it, and the implementation is correct, it also works. Maybe you are using an older version of CopperCube, try updating to the latest version. There once as a bug like this. If this is not the case, try updating your browser, WebKit (that is Chrome, Safari and similar) and Firefox both had a problem like this in one of their older browser versions.


hgi
Registered User
Quote
2016-07-12 10:56:46

I know this is an old topic, but just in case anyone else runs in to the problem.

This isn't a coppercube issue, it's actually an mp3 issue. All mp3's have just under 1 second of silence at the start.

You'll need to use wav or ogg to get a seamless loop


Nigel
Guest
Quote
2019-06-24 11:26:54

Hi there,
I am having the same issue when using coppercube 6 when using 2d sound overlay in main menu, sound only plays once

Nigel


Nigel
Guest
Quote
2019-06-24 11:27:22

I am using .ogg by the way !


Create reply:


Posted by: (you are not logged in)


Enter the missing letter in: "In?ernational" (you are not logged in)


Text:

 

  

Possible Codes


Feature Code
Link [url] www.example.com [/url]
Bold [b]bold text[/b]
Image [img]http://www.example.com/image.jpg[/img]
Quote [quote]quoted text[/quote]
Code [code]source code[/code]

Emoticons


   






Copyright© Ambiera e.U. all rights reserved.
Privacy Policy | Terms and Conditions | Imprint | Contact