From 9400959852114785af5191ae5e29b5b25575c497 Mon Sep 17 00:00:00 2001 From: Kay Thomas Date: Thu, 26 May 2022 19:59:01 -0700 Subject: [PATCH] Fix watchable settings --- src/components/noise.js | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/components/noise.js b/src/components/noise.js index 9b0b59b..5d152d6 100644 --- a/src/components/noise.js +++ b/src/components/noise.js @@ -101,7 +101,7 @@ export default { return samples }, changeableSettings: function () { - return [ + const settings = [ this.isTimerEnabled, this.hours, this.minutes, @@ -116,9 +116,16 @@ export default { this.lfoFilterCutoffRange, this.isTremoloEnabled, this.tremoloDepth, + this.tremoloFrequency, this.isTimerEnabled, this.loadedSamples ] + + this.loadedSamples.forEach(s => { + settings.push(s.volume) + }) + + return settings } }, created () {