Lieber Besucher, herzlich willkommen bei: krpano.com Forum. Falls dies Ihr erster Besuch auf dieser Seite ist, lesen Sie sich bitte die Hilfe durch. Dort wird Ihnen die Bedienung dieser Seite näher erläutert. Darüber hinaus sollten Sie sich registrieren, um alle Funktionen dieser Seite nutzen zu können. Benutzen Sie das Registrierungsformular, um sich zu registrieren oder informieren Sie sich ausführlich über den Registrierungsvorgang. Falls Sie sich bereits zu einem früheren Zeitpunkt registriert haben, können Sie sich hier anmelden.
Zitat
German to English translation from Google
Hello
is a possibility that the sound will play automatically when the hotspot (visible or not) in the field of view is? I would like, for example, turn to a tree and then one should automatically hear birds. Is that possible? Or do I always click on a hotspot?
Please help ...
GRSS
Quay
the playsoundD3 and playsound3DHS actions have a 'range' parameter,I don't know if there is just a possibility that as soon as the defined x/y point would appear on the screen to auto play the sound. and as soon as the point leaves the screen it fades out (this is working already, right?)
this 'range' setting can be used for automatic fading out when the viewer turn avoid way from the point/hotspot,
Zitat
playsound3D(id, mp3file, ath, atv, range*, volume*, loops*, oncomplete*);
playsound3DHS(id, mp3file, hotspotname, range*, volume*, loops*, oncomplete*);
|
|
Quellcode |
1 |
<hotspot name="soundsource" keep="true" ath="0" atv="0" /> |
|
|
Quellcode |
1 |
playsound3DHS(bgsnd, music.mp3, soundsource); |
|
|
Quellcode |
1 2 |
set(hotspot[soundsource].ath, 90); set(hotspot[soundsource].atv, 0); |
Benutzerinformationen überspringen
Wohnort: Netherlands
Beruf: Krpano custom coding / Virtual Tours / Photography / Musician / Recording engineer
Zitat
what kind of control?
all controllable from xml..
: https://pame.virtualtuur.com