Background audio for each scene

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

Background audio for each scene

Post by Chu » Thu Nov 20, 2014 12:45 pm

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.0 pro 64bit
build 17841/5.12.2

fancybox v3.2.5
Windows 10 v1709
Human Brain v1.0

Image

Artwork
  • Aerosol
  • Design
  • Screen
Specialist
  • 360°
  • Stereoscopy
  • Illusions
Concept
  • Consultancy
  • Campaigns
  • Data
  • Education
est.1971

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

Re: Background audio for each scene

Post by Hopki » Thu Nov 20, 2014 3:18 pm

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

User avatar
Chu
Posts: 89
Joined: Tue Jan 10, 2012 1:59 pm
Location: London, UK
Contact:

Re: Background audio for each scene

Post by Chu » Mon Nov 24, 2014 9:13 pm

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.0 pro 64bit
build 17841/5.12.2

fancybox v3.2.5
Windows 10 v1709
Human Brain v1.0

Image

Artwork
  • Aerosol
  • Design
  • Screen
Specialist
  • 360°
  • Stereoscopy
  • Illusions
Concept
  • Consultancy
  • Campaigns
  • Data
  • Education
est.1971

User avatar
Chu
Posts: 89
Joined: Tue Jan 10, 2012 1:59 pm
Location: London, UK
Contact:

Re: Background audio for each scene

Post by Chu » Tue May 10, 2016 3:47 pm

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
2016-05-10 14_19_00-sickboy_tour-v2.p2vr - Pano2VR.png
I have added the alternative .ogg format too
2016-05-10 14_19_00-sickboy_tour-v2.p2vr - Pano2VR.png (8.8 KiB) Viewed 900 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 900 times
2016-05-10 14_19_43-sickboy_tour-v2.p2vr - Pano2VR.png
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 900 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.
Photo-2016-05-10-14-39-35_3439.PNG
NB: The whirring wheel of boredom
Photo-2016-05-10-14-39-35_3439.PNG (71.58 KiB) Viewed 900 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.0 pro 64bit
build 17841/5.12.2

fancybox v3.2.5
Windows 10 v1709
Human Brain v1.0

Image

Artwork
  • Aerosol
  • Design
  • Screen
Specialist
  • 360°
  • Stereoscopy
  • Illusions
Concept
  • Consultancy
  • Campaigns
  • Data
  • Education
est.1971

User avatar
Chu
Posts: 89
Joined: Tue Jan 10, 2012 1:59 pm
Location: London, UK
Contact:

Re: Background audio for each scene

Post by Chu » Wed May 11, 2016 1:51 pm

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.0 pro 64bit
build 17841/5.12.2

fancybox v3.2.5
Windows 10 v1709
Human Brain v1.0

Image

Artwork
  • Aerosol
  • Design
  • Screen
Specialist
  • 360°
  • Stereoscopy
  • Illusions
Concept
  • Consultancy
  • Campaigns
  • Data
  • Education
est.1971

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

Re: Background audio for each scene

Post by Hopki » Wed May 11, 2016 3:27 pm

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

User avatar
Chu
Posts: 89
Joined: Tue Jan 10, 2012 1:59 pm
Location: London, UK
Contact:

Re: Background audio for each scene

Post by Chu » Wed May 11, 2016 3:36 pm

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.0 pro 64bit
build 17841/5.12.2

fancybox v3.2.5
Windows 10 v1709
Human Brain v1.0

Image

Artwork
  • Aerosol
  • Design
  • Screen
Specialist
  • 360°
  • Stereoscopy
  • Illusions
Concept
  • Consultancy
  • Campaigns
  • Data
  • Education
est.1971

Post Reply

Who is online

Users browsing this forum: panox and 8 guests