kshoji / unity-midi-plugin-supports Goto Github PK
View Code? Open in Web Editor NEWDocuments and issues for Unity MIDI Plugin
Documents and issues for Unity MIDI Plugin
I'm having an issue where the sample scene stops working after a couple of plays. It seems to stop receiving events, because devices are no longer listed, and MIDI keyboard key presses stop showing up. I haven't tried yet with a scene other than the sample scene, but I assume that receiving MIDI events would be broken regardless of the scene used.
(EDIT: I realized that this probably isn't an issue for production applications, so I can work around this issue during development just by periodically restarting the Unity editor.)
To reproduce:
Restarting Unity does reset the scene so it works again, but it will stop working again after a bit.
First run:
Fourth run:
After following your implementation guide things are unclear and furthermore there is a lot more in the IMidiAllEventsHandler interface that needs to be implemented.
Can you provide a barebones template of a class that just works?
Thanks
Hi there
Is there a way to get the keyboard size?
Not sure if this is even possible.
It looks like all midi keyboards start with C but it'll be nice to know how many keys are available in the keyboard.
Thanks
Hi, on android the MTU is limited to 20/23 bytes.
Would it be possible to add a way of requesting a higher value via the plugin?
Hello, I have a need to just playback a midi file, there are a lot of options in the package that I don't need at the moment, can you give me just a couple of lines of code to playback a midi file that is in unity (not from a url)
Hi! Any plans to add USB Midi support for iOS? I’m guessing it would be fairly easy since you’ve already hooked into the iOS Core Midi to support BLE? Or is there some other reason for not supporting usb midi on iOS?
Hi, we can get the plugin to work on Android but when building for iOS it doesn't work. The Midi device is detected and attached as both inputand output device, but no messages we send seem to reach the device on the other end. It works fine when we build for Android using the same computer and Unity project, but not when switching to iOS.
No error messages when using USB, but when using BLE we get this message in the Xcode console [CoreBluetooth] XPC connection invalid
after the app says it has found the device and attached to it. Not sure if it's relevant to this issue or not.
I have also tried listening to the messages sent from the app on the computer using Midi Monitor, attaching the app to it as an output device and sending messages, but nothing gets sent there either so I'm pretty sure it's not the hardware device that's the problem but rather the plugin doesn't seem to send the messages on these platforms.
Any idea what could be going wrong or how I could troubleshoot what's actually happening within the plugin code? It's compiled so I can't see what happens beyoud calling the SendMidiData()
method which then sends the message in native compiled plugin code.
I'm using Xcode 14.1, Unity 2021.3.16f1, Plugin version 1.3.0, iOS 16.2
Hey, I'm having an issue with connecting the midi feed to my quest 2 via cable. I am using a USB-B to USB-C cable to directly connect from a YAMAHA Dgx-640 piano. I get no pop-up or event that the midi device was attached.
I tried connecting the piano to my phone the same way to test if the cable or piano are broken, but it works perfectly then.
I am also able to connect with no issues via the Yamaha UD-BT01 Bluetooth Midi adapter.
Perhaps you have some suggestions? Thanks in advance
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.