You are not logged in.

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


#1 2010-10-03 20:12:59

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

Sound hotspots for directional sound

The krpano soundplayer supports directional sound:
http://krpano.com/forum/wbb/index.php?p … readID=374

I would like to see directional sound implemented in Panotour Pro.

I think this could be implemented in the Panotour Pro GUI quite easily by adding a new type of hotspot - a sound hotspot.

Sound hotspots would be placed just like other types of hotspot using the Hotspot Editor.

Directional range, looping, and other characteristics of the sound would be set via a Hotspot Properties dialogue - just as with other types of hotspot.

Last edited by mediavets (2010-10-03 20:13:38)


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

 

#2 2010-10-03 21:18:50

vincen
Moderator
From: Grenoble, France
Registered: 2009-03-13
Posts: 775
Website

Re: Sound hotspots for directional sound

good idea for a future feature smile


Blog: http://www.skivr.com
My shop for panoramic photographs: http://magasin.skivr.com
Nodal Ninja 5 R-D16 on Benro Tripod + Ultimate R1 on Nodal Ninja P2 + Nikon D3X/D3/D90/D800 + Nikkor 10.5 + Nikkor 14/24 f/2.8 + Nikkor 70/200 f/2.8 + Sigma 150-500
Panogear + Papywizard sur Neo

Offline

 

#3 2010-11-12 16:33:52

MART
Member
Registered: 2009-09-12
Posts: 21

Re: Sound hotspots for directional sound

So would I ,  built a tour in latest beta and there it is! which puzzled me as there didnt appear to be any mention of it

Offline

 

#4 2010-11-12 21:01:03

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

Re: Sound hotspots for directional sound

MART wrote:

So would I ,  built a tour in latest beta and there it is! which puzzled me as there didnt appear to be any mention of it

What am I missing...I don't see any directional sound controls.


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

 

#5 2010-11-12 21:58:56

MART
Member
Registered: 2009-09-12
Posts: 21

Re: Sound hotspots for directional sound

Put together a quick pano to show as concept of what might be done and noticed that the sound faded when panning round, as it was simply to demonstrate a pano I haven't got back to it but was puzzled that there were to settings for the  directional sound.
The horn, accelerator, and radio all have sound.
Here is a link so you can hear for yourself www.martingreig.com/chevy
Must go and figure it out as I would like some control over it as it really does add a 3D effect to the pano.If you get there first let me know.

Offline

 

#6 2010-11-13 01:05:10

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

Re: Sound hotspots for directional sound

MART wrote:

Put together a quick pano to show as concept of what might be done and noticed that the sound faded when panning round, as it was simply to demonstrate a pano I haven't got back to it but was puzzled that there were to settings for the  directional sound.
The horn, accelerator, and radio all have sound.
Here is a link so you can hear for yourself www.martingreig.com/chevy
Must go and figure it out as I would like some control over it as it really does add a 3D effect to the pano.If you get there first let me know.

OK - thanks for discovering that (nice car pano BTW)

Yes; a little experimenation, and inspection of XML files generated by Panotour Pro, shows that Panotour Pro codes sounds specified as Link/Objects for Point, Polygon and Rectangle hotspots as '3D' sounds.

Here's a snippet of XML generated by Panotour Pro for a hotspot with sound as a Link/Object:

Code:

<hotspot name="spot1" play="action(closeglobalobjects);action(closeallobjects);playsound3D(soundspot1,ptp-panonamedata/sounds/sound0.mp3,367.14,5.64854);set(onclick,stop);" onclick="action(closeglobalobjects);action(closeallobjects);playsound3D(soundspot1,ptp-panonamedata/sounds/sound0.mp3,367.14,5.64854);set(onclick,stop);" stop="stopsound(soundspot1);set(onclick,play);" url="ptp-panonamedata/graphics/spots/spot0.png" ath="367.14" atv="5.64854" /> 
- <!--  close all hotspots 
  --> 
  <action name="closeallobjects">set(hotspot[spot1].onclick,hotspot[spot1].play);</action>

The sound interface plug-in for krpano/Panotour Pro offers many different ways to handle sound - see:
http://krpano.com/forum/wbb/index.php?p … readID=374

Here are the options for '3D' sound.
    * playsound3D(id, mp3file, ath, atv, range*, volume*, loops*, oncomplete*);
          * plays a directional 3D sound
          * id = id/name of the sound (use "auto" for a automatic new id for every play)
          * mp3file = the filename/path of a sound file
          * ath = horizontal sound source position (-180 .. 180°)
          * atv = vertical sound source position (-90 .. +90°)
          * range = range of sound (in degrees, default=90) (*optional)
          * volume = sound volume (0.0 - 1.0, default=1.0) (*optional)
          * loops = number of loops, 0=endless, default=1 (*optional)
          * oncomplete = action/event that will called on complete (*optional)

You can see that currently Panotour Pro offers no controls at all over 3D sound playback via the GUI, but there are useful options that could and will I hope be offered soon via the GUI.

In the meantime you could of course edit the XML.
...........
I would like to be able to use sound as the Display/Object for a point hotspot. This would enable one to place directional (3D) sounds in a scene and have them play without the user having to click on a hotspot graphic. The sound of the waves breaking on the shore in a beach scene, for example.

In theory this is possible - Panotour Pro allows one to specify a sound as the Display/Object for a poiunt hotspot -  but it generates an error on playback when I try it.

This sort of directional sound would I think be better handled by offering a specific audio hotspot type.

Last edited by mediavets (2010-11-13 01:06:22)


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

 

#7 2010-11-15 17:25:34

ygilquin
Member
From: Challes les Eaux
Registered: 2010-09-29
Posts: 127
Website

Re: Sound hotspots for directional sound

Warning: using a sound file as display object for a point hotspot was a bug and will not be proposed as a possible choice in next versions of Panotour.
Please don't hesitate to post your ideas about the way you'd like to see Panotour offering controls over 3D sounds in "The future" topic of the forum.


--
Yann G.
www.kolor.com

Offline

 

#8 2010-11-15 17:36:06

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

Re: Sound hotspots for directional sound

ygilquin wrote:

Warning: using a sound file as display object for a point hotspot was a bug and will not be proposed as a possible choice in next versions of Panotour.
Please don't hesitate to post your ideas about the way you'd like to see Panotour offering controls over 3D sounds in "The future" topic of the forum.

This IS the Future topic!!!  roll


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-01-01 20:37:34

HansKeesom
Member
Registered: 2010-07-19
Posts: 1419
Website

Re: Sound hotspots for directional sound

May I say it sounds rather unrealistic to not hear the radio anymore when turning around my head to the back. Volume should not go to zero, butto 80 %, directional info is more then enough


Regards,  Hans Keesom
I stitch and render for other photographers see http://tinyurl.com/brxvlhg for details

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2005 Rickard Andersson