From 17989be721e253e2260682b879c1f581e0640f26 Mon Sep 17 00:00:00 2001 From: Lumi Pakkanen Date: Fri, 19 Apr 2024 16:24:51 +0300 Subject: [PATCH] Fix typedoc issues with MTS conversion methods --- src/conversion.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/conversion.ts b/src/conversion.ts index 8bc555e..42017a7 100644 --- a/src/conversion.ts +++ b/src/conversion.ts @@ -84,7 +84,7 @@ export function ftom(frequency: number): [number, number] { /** * Convert MTS pitch value to 3-byte representation - * @param number MTS pitch value + * @param mtsValue MTS pitch value * @returns Uint8Array 3-byte of 7-bit MTS data */ export function mtsToMtsBytes(mtsValue: number): Uint8Array { @@ -113,7 +113,7 @@ export function frequencyToMtsBytes(frequency: number): Uint8Array { /** * Convert 3-byte MTS value to frequency - * @param Uint8Array of 3-bytes of 7-bit MTS values + * @param mtsBytes Uint8Array of 3-bytes of 7-bit MTS values * @returns frequency Frequency in Hertz */ export function mtsBytesToMts(mtsBytes: Uint8Array): number { @@ -131,7 +131,7 @@ export function mtsBytesToMts(mtsBytes: Uint8Array): number { /** * Convert 3-byte MTS value to frequency - * @param Uint8Array of 3-bytes of 7-bit MTS values + * @param mtsBytes Uint8Array of 3-bytes of 7-bit MTS values * @returns frequency Frequency in Hertz */ export function mtsBytesToFrequency(mtsBytes: Uint8Array): number { @@ -141,7 +141,7 @@ export function mtsBytesToFrequency(mtsBytes: Uint8Array): number { } /** Convert MTS Data value into readable hex string - * @param Uint8Array of 3-bytes of 7-bit MTS values + * @param mtsBytes Uint8Array of 3-bytes of 7-bit MTS values * @returns String representation of MTS value in hexadecimal * can be used in MIDI messages */