You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems Spoke was updated recently resulting in a new structure for audio params when you export a glb. Heres an example blob from an audio object I converted with my latest Spoke.
Which makes every positional turn into a global. I could get around this by checking for distanceModel as well as the type, but I suspect that this is an issue with Spoke and maybe even Hubs Cloud branch only. Making the issue here to track it.
The text was updated successfully, but these errors were encountered:
It seems Spoke was updated recently resulting in a new structure for audio params when you export a glb. Heres an example blob from an audio object I converted with my latest Spoke.
{"MOZ_hubs_components":{ "audio-params":{ "gain":0.55,"distanceModel":"linear","rolloffFactor":1,"refDistance":1,"maxDistance":3}, "audio": {"src":"https://sxp-meeting-space-assets.sxp-meeting-space.xpxr.rest/files/1a26d956-e94f-499a-9c71-fd02464cf278.mp3", "controls":true, "autoPlay":true, "loop":true }
Notice it no longer has
audioType
property. Fallback in our logic is:audioEmitter._type = audioParams.audioType === "pannernode" ? "positional" : "global";
Which makes every positional turn into a global. I could get around this by checking for
distanceModel
as well as the type, but I suspect that this is an issue with Spoke and maybe even Hubs Cloud branch only. Making the issue here to track it.The text was updated successfully, but these errors were encountered: