Background audio for each scene

Q&A about the latest versions
Post Reply
User avatar
Chu
Posts: 97
Joined: Tue Jan 10, 2012 1:59 pm
Location: London, UK
Contact:

So, I'm back in the muddy topic of background audio.

I'm trying to create a sort of Jukebox scenario. At the moment each scene contains a media element, each scene's element has identical names (bg_audio) and the skin calls this name.

It works fine in flash but (what a surprise) not well in HTML5.

Is there a final workflow for including 'audio track per scene' in HTML5 or should I rely on some other jukebox-like script?
Using:
Pano2VR PRO 6.1.15 pro 64bit
build 18116/5.12.2

Windows 10 x64
Human Brain v1.3

Image

est.1971
User avatar
Hopki
Gnome
Posts: 13015
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Hi,
You are probably better to add each sound to each node using the static sound mode.
Then tag each pano.
Use a node marker for each pano and use actions:

active, play media, sound1,
deactivate, stop media, sound1

Then add another node marker to react to the tag for the next pano.

active, play media, sound2
deactivate, stop media, sound2

As you enter a node the node marker activates the sound, as you leave it stops it, but when enter the next node, its node marker plays its sound.

Note, make sure all sound loops are set to -1.
Regards,
Hopki
Garden Gnome Support
If you send an e-mail to support please send a link to the forum post for reference.
support@ggnome.com
https://ggnome.com/wiki/documentation/
User avatar
Chu
Posts: 97
Joined: Tue Jan 10, 2012 1:59 pm
Location: London, UK
Contact:

Hopki wrote:Use a node marker for each pano
Thanks Hopki, I'm a little 'old school' and completely forgot about the node markers...

I'll give it a whirl
Cheers
Using:
Pano2VR PRO 6.1.15 pro 64bit
build 18116/5.12.2

Windows 10 x64
Human Brain v1.3

Image

est.1971
User avatar
Chu
Posts: 97
Joined: Tue Jan 10, 2012 1:59 pm
Location: London, UK
Contact:

Hi Hopki,
I've been toying with this audio tour for some time now, with differing results dependent on browser and version of P2VR.
Currently I use v5 and it seems to work very similar to where I left it with v4.5

1. I add an audio media element (audio01) to the first node in the tour, so as to use it throughout the other nodes. This node is the only one with audio elements
I have added the alternative .ogg format too
I have added the alternative .ogg format too
2016-05-10 14_19_00-sickboy_tour-v2.p2vr - Pano2VR.png (8.8 KiB) Viewed 2806 times
2. I call this element with a 'Mouse Click' action in the skin, and refer to the $ud placeholder for the node
2016-05-10 14_20_13-Skin Editor.png
2016-05-10 14_20_13-Skin Editor.png (2.85 KiB) Viewed 2806 times
The audio element unique ID is drawn from the Description entry - i know about the typo in the Title entry
The audio element unique ID is drawn from the Description entry - i know about the typo in the Title entry
2016-05-10 14_19_43-sickboy_tour-v2.p2vr - Pano2VR.png (2.39 KiB) Viewed 2806 times
3. Expected behaviour in Firefox (desktop & mobile) yet no audio at all plays in portable Chrome or iOS Safari

4. iOS seems to 'preload' all of the audio (spinning wheel in task bar on iPhone between Wi-Fi & time), yet I haven't waited to find out if it downloads the ~100Mb audio file, it just doesn't stream.
NB: The whirring wheel of boredom
NB: The whirring wheel of boredom
Photo-2016-05-10-14-39-35_3439.PNG (71.58 KiB) Viewed 2806 times
I'm not sure how to inform the tour of ONE audio track on the above mentioned mobile browsers, have you got any information which would support the above workflow with v5?
Many thanks in advance Hopki, or any Gnome who can help
Using:
Pano2VR PRO 6.1.15 pro 64bit
build 18116/5.12.2

Windows 10 x64
Human Brain v1.3

Image

est.1971
User avatar
Chu
Posts: 97
Joined: Tue Jan 10, 2012 1:59 pm
Location: London, UK
Contact:

Chu wrote:3. Expected behaviour in Firefox (desktop & mobile) yet no audio at all plays in portable Chrome or iOS Safari
Also - expected behaviour in Chrome Desktop
Using:
Pano2VR PRO 6.1.15 pro 64bit
build 18116/5.12.2

Windows 10 x64
Human Brain v1.3

Image

est.1971
User avatar
Hopki
Gnome
Posts: 13015
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Hi Chu,
Just to let you know I had a meeting with the developers yesterday regarding sound.
The dev's have said they will look into this as it really does need a tidy up.
Regards,
Hopki
Garden Gnome Support
If you send an e-mail to support please send a link to the forum post for reference.
support@ggnome.com
https://ggnome.com/wiki/documentation/
User avatar
Chu
Posts: 97
Joined: Tue Jan 10, 2012 1:59 pm
Location: London, UK
Contact:

Thanks for getting back to me Hopki, always keen to hear your wisdoms on any topic.
Hopki wrote:I had a meeting with the developers yesterday regarding sound
Now you're making me jealous. It is certainly an area which needs their attention.
More than happy to assist.

Does this mean there is no alternative but to resist the urge to make it iOS & mChrome friendly?
Using:
Pano2VR PRO 6.1.15 pro 64bit
build 18116/5.12.2

Windows 10 x64
Human Brain v1.3

Image

est.1971
Post Reply