Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MIDI Connection Delay #299

Open
thomas-rndr opened this issue Mar 23, 2023 · 2 comments
Open

MIDI Connection Delay #299

thomas-rndr opened this issue Mar 23, 2023 · 2 comments
Labels
bug Something isn't working

Comments

@thomas-rndr
Copy link

Operating System

Mac

OPENRNDR version

0.4.2

ORX version

0.4.2

Java version (if applicable)

No response

Describe the bug

My midi controller is repeatedly taking over 12 seconds to load.

Steps to reproduce the bug

Here is the code I'm running that produces this information

program {
    println("MidiTransceiver.fromDeviceVendor() begin:  ${System.currentTimeMillis()}")
    val controller = MidiTransceiver.fromDeviceVendor("Arturia MiniLab mkII","Arturia")
    println("Controller created:  ${System.currentTimeMillis()}")

this outputs
MidiTransceiver.fromDeviceVendor() begin: 1679591166978
Controller created: 1679591179802

@thomas-rndr thomas-rndr added the bug Something isn't working label Mar 23, 2023
@hamoid
Copy link
Member

hamoid commented Mar 24, 2023

I don't know why this can be, but maybe it's useful to know if it's an M1 CPU.

Does it also happen when running the program from the command line with ./gradlew run.?

@hamoid
Copy link
Member

hamoid commented Mar 24, 2023

Is

MidiDeviceDescription.list().forEach {
    println("${it.name}, ${it.vendor} r:${it.receive} t:${it.transmit}")
}

also slow?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants