You are not logged in.

Dear visitor, welcome to krpano.com Forum. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

  • "benjamin ziegler" started this thread

Posts: 55

Location: FRance

Occupation: rock clinbing, scuba diving, motorbike....

  • Send private message

1

Wednesday, June 24th 2009, 12:54pm

directionalsound in video

I was wondering if there is a parameters that allows to define the min volume ?
Actually it is fully 0 when video is on my back.
I whish i could set it to 0.1 for exemple ;)


Possible ?
Pro website : www.bziegler.com
Blog : blog.bziegler.com

michel

Professional

Posts: 1,153

Location: ANDORRA

Occupation: TV

  • Send private message

2

Wednesday, June 24th 2009, 2:33pm

Hi Benjamin,

Try changing the value of the range="" parameter into your hotspot[video] with a bigger number than the default one (90)..

Videoplayer Documentation :

Quoted

range
  • range of the directional sound
  • 1 - 360, default="90"
Hope this can help.

Salut.

  • "benjamin ziegler" started this thread

Posts: 55

Location: FRance

Occupation: rock clinbing, scuba diving, motorbike....

  • Send private message

3

Wednesday, June 24th 2009, 2:52pm

Thanks but it wont do what i need !

I've set an range of 90. So sound volume is at max in this area.
If i get out theses 90°, sound = 0 :(
Wish i could set it to 0.1 for example .

Clear ?

thanks
Pro website : www.bziegler.com
Blog : blog.bziegler.com

michel

Professional

Posts: 1,153

Location: ANDORRA

Occupation: TV

  • Send private message

4

Wednesday, June 24th 2009, 3:36pm

Hi Benjamin,

range="90" is the default value... this is why the sound volume is to 0 when video is on your back.
Try a greater value... 150 or 200 for example.

Salut.

  • "benjamin ziegler" started this thread

Posts: 55

Location: FRance

Occupation: rock clinbing, scuba diving, motorbike....

  • Send private message

5

Wednesday, June 24th 2009, 5:28pm

hum i may not be that clear ;)
sounds should never be lower than 0.1 or 0.2.
What ever the angle you set.
Pro website : www.bziegler.com
Blog : blog.bziegler.com

michel

Professional

Posts: 1,153

Location: ANDORRA

Occupation: TV

  • Send private message

6

Wednesday, June 24th 2009, 5:53pm

Hi Benjamin,

I think I am not clear on my answer... ;-)

Try to put a value of 360 to the range parameter

Source code

1
range="360"

... and listen what happens.... the sound have the same level every where you look to !!!

Try now a smaller value like 180... You can then listen the sound level going down until the back view where there is no sound at all !!!

I think a value of 200 may be good for your needs..

Source code

1
range="200"


Hope I am understood... ;-)

Salut.

  • "benjamin ziegler" started this thread

Posts: 55

Location: FRance

Occupation: rock clinbing, scuba diving, motorbike....

  • Send private message

7

Wednesday, June 24th 2009, 6:04pm

Hi Benjamin,

. You can then listen the sound level going down until the back view where there is no sound at all !!!


as you just said : until the back view where there is no sound at all
I want at least 0.1 !

here is a bad looking shema !


in front of the video it should be the max sound level
going up to the defined range angle, it should lower progressively to another level like (lowvolume).

out of the range the volume shouldn't be lower than the set llowvolume.

better ?
Pro website : www.bziegler.com
Blog : blog.bziegler.com

michel

Professional

Posts: 1,153

Location: ANDORRA

Occupation: TV

  • Send private message

8

Wednesday, June 24th 2009, 6:27pm

Hi Benjamin,

Look at the videoplayer plugin (beta) documentation.... what you are looking for , a parameter named (lowvolume) does not exist... So it seems that this is not possible by now...

A very similar parameter that does something like what you expect is the range parameter !!!

Please, try to set it to 200... I think it must be OK... *thumbsup* TRY IT *attention*

Salut

  • "benjamin ziegler" started this thread

Posts: 55

Location: FRance

Occupation: rock clinbing, scuba diving, motorbike....

  • Send private message

9

Wednesday, June 24th 2009, 6:33pm

Hi Benjamin,

Look at the videoplayer plugin (beta) documentation.... what you are looking for , a parameter named (lowvolume) does not exist... So it seems that this is not possible by now...

A very similar parameter that does something like what you expect is the range parameter !!!

Please, try to set it to 200... I think it must be OK... *thumbsup* TRY IT *attention*

Salut



Alleady tryed !

Hope this could be added as a new feature soon ;)
Pro website : www.bziegler.com
Blog : blog.bziegler.com

10

Wednesday, June 24th 2009, 9:33pm


as you just said : until the back view where there is no sound at all
I want at least 0.1 !

here is a bad looking shema !


in front of the video it should be the max sound level
going up to the defined range angle, it should lower progressively to another level like (lowvolume).

out of the range the volume shouldn't be lower than the set llowvolume.
Hi,

great graphic!

I haven't thought about such, but adding that would be a work of minutes

what would be a good a self-explaining name for this parameter?
I think "lowvolume" is not the best, what do you think about "outofrangevolume" or so?

just let me know and I will upload a version with that parameter

best regards,
Klaus

11

Wednesday, June 24th 2009, 9:58pm

I have done it now

I have added two new parameters to the videoplayer plugin:
  • outofrangevolume
    • the volume when the video hotspot is out of the "range"
    • default="0.0"
  • rangefalloff
    • a parameter to control the volume fall off
    • it's the power of the distance (volume = distance ^ rangefalloff)
    • default="1.0"
    • values lower then "1.0" will cause a slower fall off of the volume (e.g. "0" will be no fall off as long the hotspot is in "range)
    • values higher then "1.0" will cause quicker volume fall off
download it here:
krpano-videoplayer-plugin-2009-06-24.zip
(it will be also included in the next release)

best regards,
Klaus

  • "benjamin ziegler" started this thread

Posts: 55

Location: FRance

Occupation: rock clinbing, scuba diving, motorbike....

  • Send private message

12

Wednesday, June 24th 2009, 10:40pm

you are my lord ;)

Lord of the VR :)
Pro website : www.bziegler.com
Blog : blog.bziegler.com

  • "benjamin ziegler" started this thread

Posts: 55

Location: FRance

Occupation: rock clinbing, scuba diving, motorbike....

  • Send private message

13

Wednesday, June 24th 2009, 10:45pm

just implemented it on my tour :)

so cool !

can't show it now but it uses a lot of beta features and it is really cool to have them :)
Pro website : www.bziegler.com
Blog : blog.bziegler.com