From fef218710eaa97dbe85c4d9ccf809680093ab82c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=94=B0=E4=B8=AD=E4=BF=A1=E7=A7=8B?= Date: Fri, 12 Aug 2022 16:03:19 +0900 Subject: [PATCH] Now MIDI file plays correctly!!! --- meltysynth/synthesizer.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meltysynth/synthesizer.go b/meltysynth/synthesizer.go index 02ff04a..1be8b26 100644 --- a/meltysynth/synthesizer.go +++ b/meltysynth/synthesizer.go @@ -6,7 +6,7 @@ import ( const ( synth_channelCount int32 = 16 - synth_percussionChannel int32 = 16 + synth_percussionChannel int32 = 9 ) type Synthesizer struct {