Skip to content

Commit

Permalink
fix sysEx type and debug text info
Browse files Browse the repository at this point in the history
  • Loading branch information
spessasus committed Oct 18, 2024
1 parent a9ae146 commit 83e1ea4
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
5 changes: 3 additions & 2 deletions src/spessasynth_lib/synthetizer/synthetizer.js
Original file line number Diff line number Diff line change
Expand Up @@ -725,7 +725,8 @@ export class Synthetizer

/**
* Sends a MIDI Sysex message to the synthesizer
* @param messageData {IndexedByteArray} the message's data (excluding the F0 byte, but including the F7 at the end)
* @param messageData {number[]|ArrayLike|Uint8Array} the message's data
* (excluding the F0 byte, but including the F7 at the end)
*/
systemExclusive(messageData)
{
Expand All @@ -752,7 +753,7 @@ export class Synthetizer

/**
* sends a raw MIDI message to the synthesizer
* @param message {ArrayLike<number>} the midi message, each number is a byte
* @param message {number[]|Uint8Array} the midi message, each number is a byte
*/
sendMessage(message)
{
Expand Down
2 changes: 1 addition & 1 deletion src/spessasynth_lib/synthetizer/worklet_processor.min.js

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ export function systemExclusive(messageData, channelOffset = 0)
);
}
SpessaSynthInfo(
`%cSingle Note Tuning. Program: %c${tuningProgram}%c Keys affected: ${numberOfChanges}`,
`%cSingle Note Tuning. Program: %c${tuningProgram}%c Keys affected: %c${numberOfChanges}`,
consoleColors.info,
consoleColors.recognized,
consoleColors.info,
Expand Down

0 comments on commit 83e1ea4

Please sign in to comment.