MIDI input test

Former-commit-id: 8ec51637782a2c4185716f3164c837477e648975
This commit is contained in:
Song Minjae
2017-03-17 23:49:48 +09:00
parent f080ee4848
commit 2ece4b7ca7
5 changed files with 333 additions and 7 deletions

View File

@@ -207,7 +207,7 @@ class TerrarumComputer(peripheralSlots: Int) {
if (!isHalted) {
driveBeepQueueManager(delta)
runBeepQueueManager(delta)
}
}
@@ -365,7 +365,7 @@ class TerrarumComputer(peripheralSlots: Int) {
private var beepQueueLineExecTimer: Millisec = 0
private var beepQueueFired = false
private fun driveBeepQueueManager(delta: Int) {
private fun runBeepQueueManager(delta: Int) {
// start emitTone queue
if (beepQueue.size > 0 && beepCursor == -1) {
beepCursor = 0