Save patch

This commit is contained in:
2024-06-30 20:32:43 +02:00
parent 194857d687
commit 976328ed69
24 changed files with 1155 additions and 162 deletions

View File

@@ -74,6 +74,13 @@ object Midi {
)
}
fun setInput(id: String) {
val selected = inputs.find { it.id == id }
if (selected != null) {
setInput(selected)
}
}
fun setInput(input: MIDIInput?) {
console.log("Setting input", input)
currentInput?.close()