keijiro / MidiJack

MIDI input plugin for Unity
697 stars 113 forks source link

Does it work with Hololens 1 ? #51

Closed ankushmp closed 5 years ago

ankushmp commented 5 years ago

Hi

I am working on an application in which i want to get input from the yamaha keyboard and play it in Hololens. Do you think this plugin will work according to my requirements?

If not can you suggest me what to do to achieve it?

Thanks in advance

keijiro commented 5 years ago

I don't have experience with HoloLens, so I'm not sure if it works on the device. It would work if it supports native x86-64 binary.

Just out of curiosity, is it possible to connect a USB keyboard to Hololens? As far as I know, it doesn't have USB host functionality.

ankushmp commented 5 years ago

Thanks for the quick response.

Hololens 1 does support native x86 library but haven't check if it can connect to USB keyboard but USB keyboard working fine in editor. Also a bridge can be created between Keyboard and unity using Bluetooth(havent checked yet).

Just another question, Right now i am getting MIDI input in the form of messages, is there any way i can convert those messages to MIDI file so that i can play that inside unity? OR

if i can generate some sound using those MIDI messages ?

Any help would be appreciated.

keijiro commented 5 years ago

Just another question, Right now i am getting MIDI input in the form of messages, is there any way i can convert those messages to MIDI file so that i can play that inside unity? OR if i can generate some sound using those MIDI messages ?

MidiJack doesn't provide any functionality about MIDI recording or audio playback.

ankushmp commented 5 years ago

Does Unity-Midi-Input plugin provide any of this functionality ? OR

Can you give me any idea how to convert MIDI messages i am getting in unity to MIDI sound file and play it(for play i will use some MIDI player but i need to generate MIDI Sound file).

keijiro commented 5 years ago

I'm not sure what "Unity-Midi-Input plugin" is. I'd recommend searching Unity Asset Store for other MIDI solutions.

Sorry but this issue tracker is solely used for the purpose of improving the quality of MidiJack. I'm closing this issue as the original question has been answered. I'd recommend using Unity Forum or some other developer community for further discussion.

ankushmp commented 5 years ago

Thanks for the answers!!

Just a little query about the MIdi-Jack, "UnityMidiReceiver" is in two folders x86 & x86_64 but while building the application it says duplicate file found and if you delete x86_64 it re creates again. Any solution to remove one of them?

keijiro commented 5 years ago

There is no such file as UnityMidiReceiver in MidiJack. I think you are trying to use a different plugin.

keijiro commented 5 years ago

I re-close this issue ticket as the question is not relevant to the project. Please feel free to reopen it if it's actually relevant to the project.