content/hifi-content/robin/dev/domains/korea/Instruments/Gayageum/GayageumClone.js
2022-02-14 02:04:11 +01:00

25 lines
757 B
JavaScript

// GayageumClone.js
//
// Copyright 2018 High Fidelity, Inc.
// Created by Robin Wilson 7/5/2018
//
// Utilizes InstrumentClone.js constructor to create Gayageum that plays when held.
//
// Distributed under the Apache License, Version 2.0.
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
(function () {
var clone = Script.require(Script.resolvePath("../InstrumentClone.js?v" + Math.random()));
var InstrumentClone = clone.instrumentClone;
var MUSIC_URLS = [
"Gayageum/Sounds/gayageum1.wav",
"Gayageum/Sounds/gayageum2.wav",
"Gayageum/Sounds/gayageum3.wav"
];
var instrument = new InstrumentClone(MUSIC_URLS);
return instrument;
});