Skip to content

Commit

Permalink
Fix typedoc issues with MTS conversion methods
Browse files Browse the repository at this point in the history
  • Loading branch information
frostburn committed Apr 19, 2024
1 parent b4f6922 commit 17989be
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/conversion.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down Expand Up @@ -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 {
Expand All @@ -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 {
Expand All @@ -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
*/
Expand Down

0 comments on commit 17989be

Please sign in to comment.