From e87577f93eed48538c5f4392b9413d82bb5f627a Mon Sep 17 00:00:00 2001 From: Hiroyuki Adachi Date: Thu, 11 Mar 2021 22:10:54 +0900 Subject: [PATCH] fix: #49 getting the track name and number of drum-track. --- MidiPlayerTests/SynthTests.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/MidiPlayerTests/SynthTests.cs b/MidiPlayerTests/SynthTests.cs index ebed05c..6fb4ea8 100644 --- a/MidiPlayerTests/SynthTests.cs +++ b/MidiPlayerTests/SynthTests.cs @@ -2,6 +2,7 @@ using Microsoft.VisualStudio.TestTools.UnitTesting; using static Microsoft.VisualStudio.TestTools.UnitTesting.Assert; using System; +using System.ComponentModel; using System.Threading.Tasks; using static System.Threading.Thread; @@ -79,6 +80,8 @@ public void TestInitialize() { }; Synth.OnEnd += () => { }; + Synth.OnUpdate += (object sender, PropertyChangedEventArgs e) => { + }; playSong(); Sleep(3000); }