shopify analytics ecommerce tracking
VR Tourviewer Forum

Audio Element with 'keep'

Audio Element with 'keep'
« on: February 10, 2020, 18:03:15 »
Hi,

I have a Pano2VR project that I'm exporting to an Oculus Go via VRTourViewer. On the first equirectangular image, I have placed an audio element and selected the 'keep' option (and endless looping) because it is a piece of narration that I want to run throughout the whole project, no matter which images the user is viewing.

This all works absolutely fine except that if the user leaves the first image and then returns to it, another instance of the same audio is created, so you get two voices speaking over the top of each other. Do you have any idea how I might fix this? I obviously only want to trigger that sound file to play once.

Thanks very much for your help.

Ruud van Reenen

  • Developer
  • *****
  • 110
    • View Profile
    • 3DV - artist impressions & animations
Re: Audio Element with 'keep'
« Reply #1 on: February 10, 2020, 18:21:05 »
Thanks for reporting this issue, I'll look into it.

As a workaround you could set the audio as 'Background sound' in the Input Properties of your first panorama, with loop = 0 (endless looping). If all backgrond sounds in your other panoramas are empty, it should keep playing the sound from the first panorama.


Re: Audio Element with 'keep'
« Reply #2 on: February 12, 2020, 11:59:40 »
Thanks very much for this super speedy and very helpful reply Ruud. I am happy to confirm that your suggestion works and is a perfectly acceptable workaround for now  :)

Ruud van Reenen

  • Developer
  • *****
  • 110
    • View Profile
    • 3DV - artist impressions & animations
Re: Audio Element with 'keep'
« Reply #3 on: February 12, 2020, 12:09:57 »
Great! Thanks for reporting this issue, it will be fixed in the next update.