audio hotspot that fades when node changes?

Q&A about the latest versions
Post Reply
DMcKinney
Posts: 59
Joined: Thu Apr 30, 2020 12:53 pm

Wondering what would be the best way to have audio fade as a node is exited. I don't want the whole audio track to keep playing to completion upon leaving, nor do I want it to cut off abruptly. Looking for a more natural effect walking from scene to scene.
User avatar
Tony
Posts: 1342
Joined: Mon Feb 15, 2010 6:54 am
Location: Adelaide, South Australia
Contact:

Hi,

Just off the top of my head you could set up a number of timers that sequentially reduce the volume by a set percentage when you click to leave the node and conversely when you enter the next node.

Haven't tested it!

Tony
Tony Redhead | Panoramic Photographer | mobile: +61438501002 | website: https://tonyredhead.com - https://redsquare.com | Pano2VR Tutorials: https://tonyredhead.com/pano2vr | instagram: https://www.instagram.com/tonyredhead/
User avatar
Tony
Posts: 1342
Joined: Mon Feb 15, 2010 6:54 am
Location: Adelaide, South Australia
Contact:

Hi,

Okay I had a quick play with the concept of using timers to fade out the audio.

AAB_10.png
AAB_10.png (122.19 KiB) Viewed 19962 times

I've created a sample tour with 2 nodes with individual Audio files on each. There are Previous and Next buttons to move from one node to the next. A "Play Audio" button and a status update of the "Fade".

If the "Play Audio" has not been selected the transition between nodes is a standard "Open next node" action.

If the "Play Audio" is active then clicking on either the Previous or Next button will. fade out the audio and at the end of the fade move to the next node where the individual audio file will play.

https://p2vr.s3.ap-southeast-2.amazonaw ... index.html

What do you think?

Tony
Tony Redhead | Panoramic Photographer | mobile: +61438501002 | website: https://tonyredhead.com - https://redsquare.com | Pano2VR Tutorials: https://tonyredhead.com/pano2vr | instagram: https://www.instagram.com/tonyredhead/
User avatar
Hopki
Gnome
Posts: 13029
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Hi Guys,
Pano2VR has the option under Transitions of teh Web Output.

Screenshot 2023-11-03 at 08.45.49.png
Screenshot 2023-11-03 at 08.45.49.png (55.62 KiB) Viewed 19947 times

Regards,
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
Tony
Posts: 1342
Joined: Mon Feb 15, 2010 6:54 am
Location: Adelaide, South Australia
Contact:

Bloody hell, you’ve done it again :-) How many more secrets does P2VR hold?
Tony Redhead | Panoramic Photographer | mobile: +61438501002 | website: https://tonyredhead.com - https://redsquare.com | Pano2VR Tutorials: https://tonyredhead.com/pano2vr | instagram: https://www.instagram.com/tonyredhead/
User avatar
Tony
Posts: 1342
Joined: Mon Feb 15, 2010 6:54 am
Location: Adelaide, South Australia
Contact:

Hi Martin

Just following up on the revelation of Transitions: Sounds; you learn something new every day, I noticed that it doesn't work with sounds added to the skin only with Pinned Sounds, and that you cannot target a specific sound. Is this correct?

If so then the initial version would be applicable to sounds stored in the skin.

Cheers,

Tony
Tony Redhead | Panoramic Photographer | mobile: +61438501002 | website: https://tonyredhead.com - https://redsquare.com | Pano2VR Tutorials: https://tonyredhead.com/pano2vr | instagram: https://www.instagram.com/tonyredhead/
User avatar
Tony
Posts: 1342
Joined: Mon Feb 15, 2010 6:54 am
Location: Adelaide, South Australia
Contact:

Hi,

Here's a version using the Transition: Sounds that Martin highlighted.

preview.jpg
preview.jpg (36.56 KiB) Viewed 19922 times

https://p2vr.s3.ap-southeast-2.amazonaw ... index.html

It has two pinned sounds and there is a crossover time of 2 seconds. You can Pause the audio and it will remained paused as you move via the Previous Next buttons until you click Play.

Tony
Tony Redhead | Panoramic Photographer | mobile: +61438501002 | website: https://tonyredhead.com - https://redsquare.com | Pano2VR Tutorials: https://tonyredhead.com/pano2vr | instagram: https://www.instagram.com/tonyredhead/
Post Reply