Image-stitching and virtual tour solutions My account Updates
It is currently Sat Oct 25, 2014 2:39 pm

All times are UTC + 1 hour




Post new topic Reply to topic  [ 8 posts ] 
Author Message
 Post subject: Spot audio 360°
PostPosted: Fri Jan 31, 2014 2:13 pm 
Offline
Member

Joined: Tue Jan 17, 2012 10:08 am
Posts: 11
Location: paris- morbihan
Bonjour,
Je voudrais que le spot audio fonctionne à 360° et non par défaut à 90°
Que faut t'il changer dans le xml?
Merci BCP


Top
 Profile  
 
 Post subject: Re: Spot audio 360°
PostPosted: Fri Jan 31, 2014 2:31 pm 
Offline
Member

Joined: Wed Nov 14, 2007 2:12 pm
Posts: 14047
Location: Isleham, Cambridgeshire, UK.
alexdziga wrote:
Bonjour,
Je voudrais que le spot audio fonctionne à 360° et non par défaut à 90°
Que faut t'il changer dans le xml?
Merci BCP


Then why not use the panorama background sound option instead.

Audio spots are specifically intended for directional sound.

........

BTW as I understand it directional sound is not supported in HTML5 tours.


Top
 Profile  
 
 Post subject: Re: Spot audio 360°
PostPosted: Fri Jan 31, 2014 3:11 pm 
Offline
Member

Joined: Tue Jan 17, 2012 10:08 am
Posts: 11
Location: paris- morbihan
Yes i Know this possibility, i want that user clic on specific spot audio and ear at 360°. See the code, where i can put the range ?
Code:
<hotspot name="spotpoint657"
           ath="49.274991" atv="28.901339"
           visible="true"
           style="Iconaudio_spot"
           descriptionid=""
           onclick="onclickspotpoint657"
           tooltip="spotpoint657_tooltip"
           />
  <action name="onclickspotpoint657">playsound3Dwhenpossible(soundspotpoint657, %$videos_sounds_path%/sounds/code1.mp3,true,49.274991,28.901339false);
  </action>


Top
 Profile  
 
 Post subject: Re: Spot audio 360°
PostPosted: Fri Jan 31, 2014 3:28 pm 
Offline
Member

Joined: Wed Nov 14, 2007 2:12 pm
Posts: 14047
Location: Isleham, Cambridgeshire, UK.
alexdziga wrote:
Yes i Know this possibility, i want that user clic on specific spot audio and ear at 360°. See the code, where i can put the range ?
Code:
<hotspot name="spotpoint657"
           ath="49.274991" atv="28.901339"
           visible="true"
           style="Iconaudio_spot"
           descriptionid=""
           onclick="onclickspotpoint657"
           tooltip="spotpoint657_tooltip"
           />
  <action name="onclickspotpoint657">playsound3Dwhenpossible(soundspotpoint657, %$videos_sounds_path%/sounds/code1.mp3,true,49.274991,28.901339false);
  </action>


Then don't use an audio hotspot, use some other form of hotspot with a style which includes a play sound action.


Attachments:
1-ptp2rc2-spot-play-spound.jpg
1-ptp2rc2-spot-play-spound.jpg [ 191.83 KiB | Viewed 337 times ]
Top
 Profile  
 
 Post subject: Re: Spot audio 360°
PostPosted: Fri Jan 31, 2014 5:07 pm 
Offline
Member

Joined: Tue Jan 17, 2012 10:08 am
Posts: 11
Location: paris- morbihan
I use exactly this method but the sound is directionally 90°, I want just change the code for sound 360° range


Top
 Profile  
 
 Post subject: Re: Spot audio 360°
PostPosted: Fri Jan 31, 2014 6:56 pm 
Offline
Member

Joined: Wed Nov 14, 2007 2:12 pm
Posts: 14047
Location: Isleham, Cambridgeshire, UK.
alexdziga wrote:
Yes i Know this possibility, i want that user clic on specific spot audio and ear at 360°. See the code, where i can put the range ?
Code:
<hotspot name="spotpoint657"
           ath="49.274991" atv="28.901339"
           visible="true"
           style="Iconaudio_spot"
           descriptionid=""
           onclick="onclickspotpoint657"
           tooltip="spotpoint657_tooltip"
           />
  <action name="onclickspotpoint657">playsound3Dwhenpossible(soundspotpoint657, %$videos_sounds_path%/sounds/code1.mp3,true,49.274991,28.901339false);
  </action>


Just change 'playsound3Dwhenpossible' to 'playsound'.

That should do it.

However it also seems to disable the menu bar stop/start sounds function. =(

..................

I think it should be an option in this case to have directional sound or not.


Top
 Profile  
 
 Post subject: Re: Spot audio 360°
PostPosted: Fri Jan 31, 2014 7:13 pm 
Offline
Member

Joined: Wed Nov 14, 2007 2:12 pm
Posts: 14047
Location: Isleham, Cambridgeshire, UK.
Or add the parameter range=360.

For example:

<!-- **** 1 Point Spots **** -->

<hotspot name="spotpoint11"
ath="-74.533552" atv="-5.606557"
visible="true"
style="IconSpotplaysound"
descriptionid=""
onclick="onclickspotpoint11"
/>
<action name="onclickspotpoint11">playsound3Dwhenpossible(soundspotpoint11, %$videos_sounds_path%/sounds/sleep_away.mp3,range=360,true,-74.533552,-5.606557false);
</action>

....................

Now the Sound icon on the toolbar seems to be able to turn off the sound but does not restart the sound, you have to click (again) on the hotspot to do that.

Weird.


Top
 Profile  
 
 Post subject: Re: Spot audio 360°
PostPosted: Mon Feb 03, 2014 9:11 am 
Offline
Administrator
User avatar

Joined: Tue Apr 09, 2013 10:59 am
Posts: 2559
Location: France
Yes mediavets it's the way.

"Stop sounds" stop the sounds and this hotspot sound is loaded on click so need to click again to open it again (for the moment).

_________________
Benjamin
http://www.kolor.com


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 8 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group