From 05ce50dec4b2eb923823a7b8351012af78433896 Mon Sep 17 00:00:00 2001 From: Dragon Fire Date: Thu, 4 Apr 2024 23:03:58 -0400 Subject: [PATCH] Fix --- commands/voice/morse.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/commands/voice/morse.js b/commands/voice/morse.js index 147aff0f..16659f6d 100644 --- a/commands/voice/morse.js +++ b/commands/voice/morse.js @@ -52,11 +52,11 @@ module.exports = class MorseCommand extends Command { const processedScript = this.processScript(str); const data = []; const sampleFreq = 8000; - const dotSecs = 0.065; + const dotSecs = 0.06; const dotSamples = Math.floor(dotSecs * sampleFreq); - const dashSecs = 0.185; + const dashSecs = 0.18; const dashSamples = Math.floor(dashSecs * sampleFreq); - const breakSecs = 0.5; + const breakSecs = 0.75; const breakSamples = Math.floor(breakSecs * sampleFreq); let skip = false; for (let cIndex = 0; cIndex < processedScript.length; cIndex++) {