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

MidiAccess inputs sometimes have incorrect devices #57

Open
allendotson opened this issue Nov 2, 2019 · 4 comments
Open

MidiAccess inputs sometimes have incorrect devices #57

allendotson opened this issue Nov 2, 2019 · 4 comments

Comments

@allendotson
Copy link

There is no recipe for this one. Sometimes the devices are right, sometimes they are wrong. If I run the program enough times, the correct devices will show up and connect.

I'm on macOS. Sometimes they just show up as __Source0 and __Source1. I am wondering if these names are gathered when the application is ran. I have tried resetting the MidiAccessManager on an interval to refresh the device IDs, but that didn't seem to work.

@atsushieno
Copy link
Owner

On which framework are you on? Xamarin.Mac, or other .NET desktop (mono net4x or netcoreapp) ? I'm asking because non-XamMac implementation is kind of hack that I wrote by myself to mimic XamMac API.

@allendotson
Copy link
Author

Thank you for getting back to me. Actually, this is just a .NETCore console app. The only framework that is showing is "Microsoft.NETCore.App (3.0.0)". Tomorrow I am going to try to develop this in windows and see if I get the same result or not.

@allendotson
Copy link
Author

You're right. The Xamarian one works flawlessly. I guess I will just learn this instead :-)

@atsushieno
Copy link
Owner

Cool. I just noticed that Xamarin.Mac.dll can be used on mono net4x environment https://docs.microsoft.com/en-us/xamarin/mac/app-fundamentals/console so I will be adding that support at some stage. It does not resolve your problem on .NET Core at all though :p

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants