Skip to content

Comments

Add MIDI OUT feature (Win x64)#40

Closed
Nagitch wants to merge 41 commits intokeijiro:masterfrom
Nagitch:master
Closed

Add MIDI OUT feature (Win x64)#40
Nagitch wants to merge 41 commits intokeijiro:masterfrom
Nagitch:master

Conversation

@Nagitch
Copy link

@Nagitch Nagitch commented Mar 10, 2019

(this PR is closed for change compare branch. to #46)

Hi, I added MIDI Out feature (only Win x64) and examples for this.
implemented additional API, and MIDI Jack Window shows MIDI Out device and messages.

MIDI In API has no effect, even API specification. completely additional logic for code.

accordingly, project is migrated 2018.3.6f1 and README.md is modified.

thank you for care this PR with many changes. ;)


MIDI OUT の機能を実装しました。(Win x64のみ)
追加のAPIとサンプルシーン、MIDI Jack WindowにMIDI Out デバイスとメッセージが表示されるように修正しています。

元々のMIDI IN 機能に関しては影響を受けないように実装しています。もちろんですがMIDI INはAPI仕様に変更なく、MIDI OUTのロジックを追加する形で実装しています。
またそれに伴い、プロジェクトを 2018.3.6f1 にマイグレーションしたのと、
README.md もマージ後の内容に合わせて修正しました。

大幅な変更になるのでレビューが大変かと思いますが、動作確認含め見ていただけると嬉しいです。
よろしくお願いいたします。

@AndreaDiPiPietro
Copy link

Hello I'm really interested in making a VR Virtual Instrument using Reaktor, should I use a MIDI Bridge, make MidiJack recognize it and bridge the MidiJack messages to Reaktor for it to work? Or is there a more straightforward way to do so? If the first option is correct, do you recommend a functioning bridge that maybe you used to test out the Midi Out functions? Thanks for all the work, I appreciate every single effort you guys put into this!

@Nagitch
Copy link
Author

Nagitch commented Mar 24, 2019

@AndreaDiPiPietro
Hi, I seemed the requirement for your project is send MIDI message from your VR application to Reaktor.
If Reaktor is recognized as MIDI OUT device with general DAW, this PR will help.

launch Assets/Example Send/ExampleSend.unity
In this PR, then select Midi out device to Reaktor and play with software keyboard is available, then might to be ready for advance.

Hope success :)

@AndreaDiPiPietro
Copy link

I managed to send MIDI messages from Unity to Reaktor using a MIDI bridge I downloaded, as Reaktor is not considered as a driver, but just as a program that receives or sends MIDI data. Interestingly enough if I play a note from a button in Unity it's fine, Reaktor sees the message and plays that note, if I input the message from, say, a keyboard, the message is recognized as a In and sent as an Out, but then feedbacks In and Out and crashes Unity and the MIDI bridge mutes itself as the result of a feedback. I still have to find a workaround for this (maybe muting the bridge as an input, but only an output?) Thanks for your reply! I'll probably update you on this github page for ableing me to make my graduation project :P

@Nagitch
Copy link
Author

Nagitch commented Mar 24, 2019

Bridge is needed for recognize Reaktor?
perhaps Reaktor throughs Midi in -> out and it causes feedback issue.

Happy for if it makes help you.

@AndreaDiPiPietro
Copy link

Yes it's needed, Reaktor does not have drivers, it's just an application as it may be Cubase.

@Nagitch Nagitch mentioned this pull request Apr 23, 2019
@Nagitch
Copy link
Author

Nagitch commented May 16, 2019

close this PR for change compare branch. to #46

@Nagitch Nagitch closed this May 16, 2019
@kymo-bit
Copy link

I managed to send MIDI messages from Unity to Reaktor using a MIDI bridge I downloaded, as Reaktor is not considered as a driver, but just as a program that receives or sends MIDI data. Interestingly enough if I play a note from a button in Unity it's fine, Reaktor sees the message and plays that note, if I input the message from, say, a keyboard, the message is recognized as a In and sent as an Out, but then feedbacks In and Out and crashes Unity and the MIDI bridge mutes itself as the result of a feedback. I still have to find a workaround for this (maybe muting the bridge as an input, but only an output?) Thanks for your reply! I'll probably update you on this github page for ableing me to make my graduation project :P

Hi AndreaDiPiPietro,

I am trying to do the same thing in a project for fun! I am not having much success. Is there any way you could share a sample Unity scene so that I can figure it out? I'm trying to send MIDI from Unity to my hardware synthesizer. Thank you so much!

@AndreaDiPiPietro
Copy link

AndreaDiPiPietro commented Jul 28, 2020 via email

@kymo-bit
Copy link

kymo-bit commented Jul 28, 2020 via email

@AndreaDiPiPietro
Copy link

AndreaDiPiPietro commented Jul 28, 2020 via email

@kymo-bit
Copy link

kymo-bit commented Jul 28, 2020 via email

@AndreaDiPiPietro
Copy link

AndreaDiPiPietro commented Jul 28, 2020 via email

@kymo-bit
Copy link

kymo-bit commented Jul 28, 2020 via email

@AndreaDiPiPietro
Copy link

AndreaDiPiPietro commented Jul 28, 2020 via email

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

Successfully merging this pull request may close these issues.

3 participants