ambiera logo

Ambiera Forum

Discussions, Help and Support.

folder icon Ambiera Forum > CopperCube > Help with CopperCube
forum topic indicator Playing sound problem in webgl
person icon
Dieter
Guest
Quote
2023-09-02 11:02:42

That said, while you can do a lot this way, for instance alter the play speed of a sound, or set the play position, I just failed to use the original handles for setting them up for Panning (see above). Apparently Niko has already connected them in some other way, hence an error is thrown.
Anyway, I just stick with copies. AFAIK the browser keeps them only once in memory anyway, and any page using a certain same resource, accesses just an instance, so the impact on memory or download time seems close to none.

So I
-determine the path of each sound node
-load a copy
-inherit the features of the original sound node (volume,radius, xyz etc.)
-deactivate the original sound nodes (set playmode to zero)
-activate accordingly and set up for Panning/3D my copies.

And that's done automatically, in the "before first drawing" task of the scene root node.


Create reply:










 

  

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


icon_holyicon_cryicon_devilicon_lookicon_grinicon_kissicon_monkeyicon_hmpf
icon_sadicon_happyicon_smileicon_uhicon_blink   






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