You are not logged in.

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


#1 2010-10-06 00:44:29

f7
Member
Registered: 2010-03-20
Posts: 60

button of on/of of sound in the panoramic ones

The incursion in the graphical interface of the option to add a button would be interesting to stop the general sound of the panoramic one. There are people who visit Internet listening their own music and is annoying, however others is to him pleasant. greetings

PD:I have looked for another better translator, I hope that now a little is understood to me better, if he is not thus decidmelo please, thanks

Offline

 

#2 2010-10-06 05:22:20

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

Re: button of on/of of sound in the panoramic ones

f7 wrote:

The incursion in the graphical interface of the option to add a button would be interesting to stop the general sound of the panoramic one.

I agree.


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 2010-10-16 00:53:37

marco.lanciani
Member
From: Italy - Roma
Registered: 2006-02-23
Posts: 200
Website

Re: button of on/of of sound in the panoramic ones

I do agree!

Offline

 

#4 2011-03-16 22:39:13

Nelg
New member
Registered: 2010-10-15
Posts: 2

Re: button of on/of of sound in the panoramic ones

On off control for the sound on the final product and a means to control volume of input sound when building the tour.  Quiet background music is what most people request for tours.

Offline

 

#5 2011-03-16 23:10:50

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

Re: button of on/of of sound in the panoramic ones

Nelg wrote:

On off control for the sound on the final product and a means to control volume of input sound when building the tour.  Quiet background music is what most people request for tours.

Welcome to the forum...

I like your ideas.


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 2011-03-16 23:50:18

klausesser
Member
From: Düsseldorf, Germany
Registered: 2006-05-22
Posts: 6436
Website

Re: button of on/of of sound in the panoramic ones

f7 wrote:

The incursion in the graphical interface of the option to add a button would be interesting to stop the general sound of the panoramic one. There are people who visit Internet listening their own music and is annoying, however others is to him pleasant. greetings

PD:I have looked for another better translator, I hope that now a little is understood to me better, if he is not thus decidmelo please, thanks

On the KRPano/site forum you´ll find help and examples: http://www.krpano.com/forum/wbb/index.php?l=1 There is an English speaking form also.

best, Klaus


If you want something you´ve never had,
then you´ve got to do something you´ve never done.

Offline

 

#7 2011-03-17 11:14:24

MikeMcFarlane
Member
From: Moscow, Russia
Registered: 2011-02-26
Posts: 55
Website

Re: button of on/of of sound in the panoramic ones

f7 wrote:

The incursion in the graphical interface of the option to add a button would be interesting to stop the general sound of the panoramic one. There are people who visit Internet listening their own music and is annoying, however others is to him pleasant. greetings

PD:I have looked for another better translator, I hope that now a little is understood to me better, if he is not thus decidmelo please, thanks

Hi

In the meantime, if you want to add such a button:

Please note the following is to setup directional 3D sound using two sounds, whose id's are s1 and s2. If you want a single sound only then check out the link Klaus kindly provided. The tag would be playsound rather than the playsound3D I have used.

The main command we are introducing to toggle the sound on/off is pausesoundtoggle(id).

1. Go to Templates>Menu and open the XML you are using (in PTP) e.g. navigation-rotation-help

2. Paste the following code in, below the other button code:

Code:

<!-- plugin to toggle sounds on and off -->
    <!-- Don't forget to add in playsounds tag into each pano xml. -->
    <!-- Assumes that all panos will have sound ID of s1 and s2. -->
    <plugin name="SoundOFF"
            url="$(STYLEDIR)/btn_SoundOFF.png"
            width="40"
            height="prop"
            customColor="true"
            blendmode="normal"
            keep="true"
            align="bottom"
            x="220"
            y="$(MARGIN)"
            onclick="set(visible,false); set(plugin[SoundON].visible,true); pausesoundtoggle(s1); pausesoundtoggle(s2);"
            onhover="showtext(Turn sounds off.);"
            crop="0|0|65|65"
            onovercrop="0|65|65|65"
            visible="true"
            devices="desktop"
    />    
    
    <plugin name="SoundON"
            url="$(STYLEDIR)/btn_SoundON.png"
            width="40"
            height="prop"
            customColor="true"
            blendmode="normal"
            keep="true"
            align="bottom"
            x="220"
            y="$(MARGIN)"
            onclick="set(visible,false); set(plugin[SoundOff].visible,true); pausesoundtoggle(s1); pausesoundtoggle(s2);"
            onhover="showtext(Turn sounds on.);"
            crop="0|0|65|65"
            onovercrop="0|65|65|65"
            onover=""
            onout=""
            visible="false"
            devices="desktop"
    />

You will need to set the x= value to the right position where you want the button.

3. Goto Templates>Themes>graphics and into the style you are modifying. Modify an existing button png or create a new one to create files called btn_SoundOff.png and btn_SoundOnn.png. Save them.

4. Build your project in PTP.

5. Go to the project dir and open the xml file for the pano, not the main xml file.

6. Replace the line at the start beginning:

Code:

<events onloadcomplete=blah blah

With:

Code:

    <events onloadcomplete="playsound3D(s1,saltburn_1data/sounds/rain.mp3,-100,10,270,1,0,0,); playsound3D(s2,saltburn_1data/sounds/thunder.mp3,80,40,180,1,0,0,);"/>

You will need to understand the values for playsound3D to tweak it for your pano. Again, follow Klaus's link. Save and close.

7. In the project dir copy your sounds into the sound directory. In the above example the mp3 files are called rain and thunder, but you can use your own files. Don't forget to tweak the code above to match the file names. And filenames are case sensitive.

I think you are then good to go. I hope this helps.

Kind regards

Mike

Last edited by MikeMcFarlane (2011-03-17 11:19:08)


Bio: Generation fluxer - farmer, mechatronics engineer, project manager, climbing shop manager, landscape photographer, programmer, virtual panographer, cyclist, life lover.
Twitter: MikeJMcFarlane
email: moo@moosooboo.com
www: www.moosooboo.com

Offline

 

#8 2011-03-17 11:26:35

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

Re: button of on/of of sound in the panoramic ones

MikeMcFarlane wrote:

I hope this helps.

Kind regards

Mike

Not as much as would the ability to specify a sound on/off button as part of the nav bar via themes from within the PTP GUI!

It's a pretty basic requirement and I feel that Kolor should have provided this functionality from the outset.

I hope they will add it soon.

Of course there remains the issue that krpano/PTP doesn't yet offer support for audio or video on iDevices when making mobile compatible tours.

krpano has the capability of offering different functionality depending on playback device. As far as I know PTP currently makes little or no use of this capability. Perhaps futire versions will do so?

Last edited by mediavets (2011-03-17 11:38:27)


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

 

#9 2011-03-17 11:41:13

MikeMcFarlane
Member
From: Moscow, Russia
Registered: 2011-02-26
Posts: 55
Website

Re: button of on/of of sound in the panoramic ones

mediavets wrote:

MikeMcFarlane wrote:

I hope this helps.

Kind regards

Mike

Not as much as would the ability to specify a sound on/off button as part of the nav bar via themes from within PTP!

It's a pretty basic requirement and I think Kolor should have provide this functionality from the outset.

I hope they will add it soon.

Of course there remains the issue that krpano/PTP doesn't yet offer support for audio or video on iDevices when making mobile compatible tours.

krpano has the capability of offering different functionality depending on playback device. As far as I know PTP currently makes little or no use of this capability. Perhaps futire versions will do so?

Hi Mike
Yes, I really think they need to add it too, soon.
I'm still trying to get my head around sound on iDevices. On the (hidden?) page http://krpano.com/plugins/soundinterface/
It states some sound functionality is present, but only if the user triggers it first.
Hopefully Kolor will add in better sound/video support, and ensure that the code produced is also targeted correctly to multiple devices.
Mike


Bio: Generation fluxer - farmer, mechatronics engineer, project manager, climbing shop manager, landscape photographer, programmer, virtual panographer, cyclist, life lover.
Twitter: MikeJMcFarlane
email: moo@moosooboo.com
www: www.moosooboo.com

Offline

 

#10 2011-03-17 12:08:04

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

Re: button of on/of of sound in the panoramic ones

MikeMcFarlane wrote:

Hopefully Kolor will add in better sound/video support, and ensure that the code produced is also targeted correctly to multiple devices.
Mike

I have previously suggested an audio hotspot type.

This would allow the user to place directional sounds and select audio control parameters via the PTP Hotspot Editor GUI - what do you think?

Last edited by mediavets (2011-03-17 12:08:25)


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

 

#11 2011-03-18 11:20:27

MikeMcFarlane
Member
From: Moscow, Russia
Registered: 2011-02-26
Posts: 55
Website

Re: button of on/of of sound in the panoramic ones

mediavets wrote:

MikeMcFarlane wrote:

Hopefully Kolor will add in better sound/video support, and ensure that the code produced is also targeted correctly to multiple devices.
Mike

I have previously suggested an audio hotspot type.

This would allow the user to place directional sounds and select audio control parameters via the PTP Hotspot Editor GUI - what do you think?

Morning
Yes, to do it as a hotspot would be perfect as it is easy and controllable. The code is pretty straightforward so it would be relatively easy to add into PTP.
Would need to be able to have a hidden hotspot type so there was no icon showing.
Mike


Bio: Generation fluxer - farmer, mechatronics engineer, project manager, climbing shop manager, landscape photographer, programmer, virtual panographer, cyclist, life lover.
Twitter: MikeJMcFarlane
email: moo@moosooboo.com
www: www.moosooboo.com

Offline

 

#12 2011-05-04 00:23:37

f7
Member
Registered: 2010-03-20
Posts: 60

Re: button of on/of of sound in the panoramic ones

thanks to all
but I still think the sound track should be easy, a button from the main menu and you're without our cause complications.

Customers complain they have no music and when requested puts a button, and programming is difficult and entertaining.

For when KOLOR??


PD: English is translated with google, sorry inconsistencies
Greetings

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2005 Rickard Andersson