diff --git a/orchestrator/templates/morse.js b/orchestrator/templates/morse.js index 120df15..b6e4c92 100644 --- a/orchestrator/templates/morse.js +++ b/orchestrator/templates/morse.js @@ -60,7 +60,7 @@ const Morse = (() => { /** * @param {Array>} signs words of letter codes, as words and joined give them. * @param {number} wpm the speed in words per minute. - * @returns {{tones: Array>, ms: number}} every tone as [start, length] in ms and the whole length in ms, each word closed by the gap between words as PARIS counts it. + * @returns {object} tones, every tone as [start, length] in ms, and ms, the whole length in ms, each word closed by the gap between words as PARIS counts it. */ function timeline(signs, wpm) { const tones = []; diff --git a/orchestrator/templates/radioset.js b/orchestrator/templates/radioset.js index da69b60..02a9f71 100644 --- a/orchestrator/templates/radioset.js +++ b/orchestrator/templates/radioset.js @@ -75,7 +75,7 @@ const RadioSet = (() => { /** * @param {object} row a radio row of the state with class, called, speaker, pitch and text. - * @returns {{kind: string, sign: string, joined: boolean, text: string, pitch: number}} the whole row keyed in Morse: the class prosign, or the called stations of a call, then DE with the sender's clear name and the full text without the hub's message mark, in the sender's pitch. + * @returns {object} the whole row keyed in Morse as kind "morse", sign, joined, text and pitch: the class prosign, or the called stations of a call, then DE with the sender's clear name and the full text without the hub's message mark, in the sender's pitch. */ function morse(row) { const {sign, joined, called} = PROSIGNS[row.class];