Help with sound selecstion needed

  • I'm using a toggle button to start/pause/resume a single narrative in my panoramas.

    In a tour with several panoramas it is a bit clumsy to copy/paste/edit the same routine into each scene, and I guess it would be easier and more elegant to have just one button plugin that plays the sound that belongs to each scene.

    With my very basic knowledge of krpano coding I've tried to get that to work using code snippets from search results, but whatever I try it will not work. So I assume I'm missing some essential routines but have no idea where to look at.
    I understand that it has to be using things like for example "set currentsound,sound01" ... But I'm lost about how and when to recall such variables. The documentation won't help me here as it shows samples and syntax for single commands but not for complex tasks like these. Unfortunately I also couldn't find a solution to similar problems that I could try to adapt in the forum. Please shed some light on this and put me into the right direction.

    Hint for Klaus: I'm sure it will be much appreciated if you add a speaker button to the controlbar of your MAKEVTOUR template that does exactly this: start a sound or narrative for the specific scene. *thumbsup*

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!