You are not logged in.

> The forum rules have been updated. Please take a moment to read them.


#1 2013-02-21 11:32:24

christa
Member
Registered: 2013-02-18
Posts: 12

Sound Delayed

Hi,

When moving from panorama to panorama in a published tour there's a delay in the sound/music coming off and on. How can I avoid this? Any advice greatly appreciated.

Maria

Offline

 

#2 2013-02-21 11:45:28

mediavets
Moderator
From: Isleham, Cambridgeshire, UK.
Registered: 2007-11-14
Posts: 9730
Website

Re: Sound Delayed

How large are your sound files?

Are they directional/spot sounds aor scene background sounds or both?

Last edited by mediavets (2013-02-21 11:46:49)


Andrew Stephens
Nikon D40, Nikkor 10.5mm fisheye, Sigma 8mm f3.5 fisheye, Nikkor 18-55/50/35mm lenses, Nodal Ninja 5 Lite, Nodal Ninja 4 with R-D16, Agno's MrotatorTCS short.
Nikon P5100, CP5000, CP995, FC-E8, WC-E63,WC-E68, TC-E2, Kaidan Kiwi 995, Bophoto pano bracket, Agno's MrotatorA.
Merlin/Orion robotic pano head + Papywizard on Nokia 770/N800/N810 and Windows 8/XP/2K.

Offline

 

#3 2013-02-21 13:50:34

christa
Member
Registered: 2013-02-18
Posts: 12

Re: Sound Delayed

Thank you very much for getting back to me. Too large probably. 6-8 MB. Background music. What's the optimal size for sound (minimum/maximum bit rate) and video? Another question on the subject of sound if I may. When clicking on a spot sound, like a talking book in a book store for instance, it doesn't cut out the background sound. However it works the other way so is there a way to make it work both ways.
Apologies for taking advantage of you replying/helping in the first instance.

Thank you.

Offline

 

#4 2013-03-03 14:53:16

hotline
Member
Registered: 2010-04-14
Posts: 20

Re: Sound Delayed

Hi,

You need to "force" to play the sound immediately AFTER your xml file is complete loaded !

Here is the code to change:

    <!-- actions to perform while loading -->
    <events onloadcomplete="onloadcompleteaction();"/>
    <action name="onloadcompleteaction">
        if(plugin[data].soundOn==false,stoppanosounds(),playpanosounds());
    </action>
    <action name="playpanosounds">
         playbackgroundsound(%BASEDIR%indexdata/sounds/sound0.mp3,0,%1);
    </action>
    <action name="stoppanosounds">
         stopbackgroundsound();
    </action>
_____________  new code __________________________________________
<!-- actions to perform while loading -->
    <events onxmlcomplete="onxmlcompleteaction();"/>
    <action name=" onxmlcompleteaction">
        if(plugin[data].soundOn==true,stoppanosounds(),playpanosounds());
    </action>
    <action name="playpanosounds">
         playbackgroundsound(%BASEDIR%indexdata/sounds/sound0.mp3,0,%1);
    </action>
    <action name="stoppanosounds">
         stopbackgroundsound();
    </action>

Last edited by hotline (2013-03-03 15:41:30)


Nikon D800E Nikkor 16mm f2.8 ; Nikon D700 Nikkor 70~200mm f2.8 VR2 Nano; TC20E III; trépieds Benro carbon ; tête panosaurus ; autopano giga 64bits 3.0.5 ; panotour pro v1.8.0 64 bits

Offline

 

#5 2013-03-03 15:37:21

mediavets
Moderator
From: Isleham, Cambridgeshire, UK.
Registered: 2007-11-14
Posts: 9730
Website

Re: Sound Delayed

hotline wrote:

Hi,

You need to "force" to play de sound immediately AFTER your xml file is complete loaded !

Thanks for the tip.

I wonder why Kolor doesn't generate that code by default?


Andrew Stephens
Nikon D40, Nikkor 10.5mm fisheye, Sigma 8mm f3.5 fisheye, Nikkor 18-55/50/35mm lenses, Nodal Ninja 5 Lite, Nodal Ninja 4 with R-D16, Agno's MrotatorTCS short.
Nikon P5100, CP5000, CP995, FC-E8, WC-E63,WC-E68, TC-E2, Kaidan Kiwi 995, Bophoto pano bracket, Agno's MrotatorA.
Merlin/Orion robotic pano head + Papywizard on Nokia 770/N800/N810 and Windows 8/XP/2K.

Offline

 

#6 2013-03-05 15:30:01

christa
Member
Registered: 2013-02-18
Posts: 12

Re: Sound Delayed

Thank you so much 'hotline' (sorry I don't know your name) for your help. Very kind. I suppose there's no way one can control the background music fading in and out? At the moment when changing from panorama and if varying the background music there's a very abrupt end to the music playing. I might be complicating things but it would be nice :-)

Christa

Offline

 

#7 2013-03-05 15:38:13

hotline
Member
Registered: 2010-04-14
Posts: 20

Re: Sound Delayed

Christa,
You know that it is easy to fade in / out with a lot of sound editor ?!
Michel


Nikon D800E Nikkor 16mm f2.8 ; Nikon D700 Nikkor 70~200mm f2.8 VR2 Nano; TC20E III; trépieds Benro carbon ; tête panosaurus ; autopano giga 64bits 3.0.5 ; panotour pro v1.8.0 64 bits

Offline

 

#8 2013-03-12 16:51:53

christa
Member
Registered: 2013-02-18
Posts: 12

Re: Sound Delayed

Sorry to be slow in saying thank you for your help hotline.

Christa

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2005 Rickard Andersson