From 5efe88bee780a842f468a8994e2a44f0046e6915 Mon Sep 17 00:00:00 2001 From: Christoph Meyer <49758642+soirju@users.noreply.github.com> Date: Fri, 4 Feb 2022 09:31:41 +0100 Subject: [PATCH] change default instrument for channel to align with usual defaults in MIDI players --- js/midi/gm.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/midi/gm.js b/js/midi/gm.js index 2e1278ca..fc0109f4 100644 --- a/js/midi/gm.js +++ b/js/midi/gm.js @@ -130,7 +130,7 @@ var channels = {}; for (var i = 0; i < 16; i++) { channels[i] = { // default values - instrument: i, + instrument: 0, pitchBend: 0, mute: false, mono: false, @@ -158,4 +158,4 @@ } })(); -})(MIDI); \ No newline at end of file +})(MIDI);