mirror of
https://thingvellir.net/git/overte
synced 2025-03-27 23:52:03 +01:00
replaced sound url for example entity
This commit is contained in:
parent
85ddb7100c
commit
3acc077bbd
2 changed files with 2 additions and 1 deletions
|
@ -178,6 +178,7 @@ function checkForSoundPropertyChanges(currentProps, newProps) {
|
|||
currentProps.playbackGapRange = newProps.playbackGapRange;
|
||||
currentProps.currentPlaybackGap = currentProps.playbackGap + randFloat(-currentProps.playbackGapRange, currentProps.playbackGapRange);
|
||||
currentProps.currentPlaybackGap = Math.max(MIN_PLAYBACK_GAP, currentProps.currentPlaybackGap);
|
||||
currentProps.readyToPlay = true;
|
||||
}
|
||||
if (currentProps.volume !== newProps.volume) {
|
||||
currentProps.volume = newProps.volume;
|
||||
|
|
|
@ -23,7 +23,7 @@ var center = Vec3.sum(MyAvatar.position, Vec3.multiply(3, Quat.getFront(orientat
|
|||
var SOUND_DATA_KEY = "soundKey";
|
||||
var userData = {
|
||||
soundKey: {
|
||||
url: "https://s3-us-west-1.amazonaws.com/hifi-content/eric/Sounds/dove2.wav",
|
||||
url: "http://hifi-content.s3.amazonaws.com/DomainContent/Junkyard/Sounds/ClothSail/cloth_sail3.L.wav",
|
||||
volume: 0.3,
|
||||
loop: false,
|
||||
playbackGap: 2000, // In ms - time to wait in between clip plays
|
||||
|
|
Loading…
Reference in a new issue