spessasynth_lib 3.12.0 → 3.12.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -60,6 +60,7 @@ export function writeRMIDI(soundfontBinary, mid, soundfont, bankOffset = 0, enco
|
|
|
60
60
|
consoleColors.value,
|
|
61
61
|
consoleColors.info,
|
|
62
62
|
consoleColors.value);
|
|
63
|
+
SpessaSynthInfo("metadata", metadata);
|
|
63
64
|
// add offset to bank. See wiki About-RMIDI
|
|
64
65
|
// also fix presets that don't exists since midiplayer6 doesn't seem to default to 0 when nonextistent...
|
|
65
66
|
let system = "gm";
|
|
@@ -284,7 +285,10 @@ export function writeRMIDI(soundfontBinary, mid, soundfont, bankOffset = 0, enco
|
|
|
284
285
|
*/
|
|
285
286
|
const infoContent = [getStringBytes("INFO")];
|
|
286
287
|
const encoder = new TextEncoder();
|
|
287
|
-
|
|
288
|
+
// software
|
|
289
|
+
infoContent.push(
|
|
290
|
+
writeRIFFOddSize(RMIDINFOChunks.software, encoder.encode("SpessaSynth"))
|
|
291
|
+
);
|
|
288
292
|
// name
|
|
289
293
|
if(metadata.name !== undefined)
|
|
290
294
|
{
|