This commit is contained in:
2025-05-13 00:47:28 +03:00
parent 7aa7d3b5e6
commit 7c9b158a15
6 changed files with 82 additions and 0 deletions
+31
View File
@@ -0,0 +1,31 @@
using RushMidiLibrary;
using System;
using System.Threading;
public static class App {
public static int Main() {
var inputDevices = MidiInputDevice.Enumerate();
if(inputDevices.Length != 0 ) {
for(int i = 0; i < inputDevices.Length; ++i) {
var device = inputDevices[i];
device.Open();
device.Start();
}
while (true) {
Thread.Sleep(1000);
}
}
return 0;
}
}