From 57e64bd2c8ddc22ab86f0e5da367a5a4863e8067 Mon Sep 17 00:00:00 2001 From: Oluwatito Ebiwonjumi <31973148+ebiwonjumit@users.noreply.github.com> Date: Tue, 27 Aug 2024 23:55:04 -0500 Subject: [PATCH] Updated function Sound FX Name --- src/procedures/sound-clips/sound-clips.js | 2 +- test/procedures/sound-clips.spec.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/procedures/sound-clips/sound-clips.js b/src/procedures/sound-clips/sound-clips.js index 43585e57..bb0d650d 100644 --- a/src/procedures/sound-clips/sound-clips.js +++ b/src/procedures/sound-clips/sound-clips.js @@ -101,7 +101,7 @@ SoundClips.getSoundNames = async function ( * Get fx sounds * @returns {Array} */ -SoundClips.getFXSounds = async function () { +SoundClips.getFXSoundNames = async function () { var names = []; let queriedJSON = ""; queriedJSON = fxLibrary.fxSoundLibrary; diff --git a/test/procedures/sound-clips.spec.js b/test/procedures/sound-clips.spec.js index 4a0b11bf..2c57471a 100644 --- a/test/procedures/sound-clips.spec.js +++ b/test/procedures/sound-clips.spec.js @@ -12,7 +12,7 @@ describe(utils.suiteName(__filename), function () { ["getSoundNames", ["chords", "key", "bpm", "instrumentName"]], ["nameToSound", ["nameOfSound"]], ["getDrumOneShotNames", ["packName", "drumType"]], - ["getFXSounds"], + ["getFXSoundNames"], ]); before(async () => {