use sound file from S3

This commit is contained in:
Brad Hefta-Gaub 2016-05-29 13:56:09 -07:00
parent 1fb8f659a7
commit 2ed95542a9

View file

@ -4,7 +4,8 @@ var audioOptions = {
position: MyAvatar.position
}
var sineWave = Script.resolvePath("./1760sine.wav");
//var sineWave = Script.resolvePath("./1760sine.wav"); // use relative file
var sineWave = "https://s3-us-west-1.amazonaws.com/highfidelity-dev/1760sine.wav"; // use file from S3
var sound = SoundCache.getSound(sineWave);
var injectorCount = 0;
var MAX_INJECTOR_COUNT = 40;