Can Silverlight communicate with a MIDI instrument connected to the machine running the Silverlight application? In- or out-browser.
Can Silverlight communicate with a MIDI instrument connected to the machine running the Silverlight
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
It appears that this is not possible in Silverlight. To communicate with a MIDI device, you would have to PInvoke methods in
winmm.dll, and this (apparently) cannot be done in Silverlight. See:http://forums.silverlight.net/forums/t/123673.aspx
This could be done easily in a WPF or WinForms application. It could also be done in a browser with XBAP, although you would need elevated permissions to access the
winmmAPI, which would require a certificate. You can also still make ActiveX controls with .Net, but I think you would still need a certificate for this to get the proper permissions (although it might work with just a scary security confirmation dialog).