Home » Developing U++ » U++ Developers corner » Read MIDI Event and Device
Read MIDI Event and Device [message #33612] |
Tue, 30 August 2011 19:56  |
proyb2
Messages: 4 Registered: August 2011
|
Junior Member |
|
|
Is it possible to detect MIDI events through USB input? Do I need a made ready MIDI DLL/Source code to work with U++?
Done MIDI work on Java but looking to work on U++.
Please advice a tutorial in U++ since I have already got a little familiar with U++ syntax.
I wonder if it possible to invoke DLL function from U++ too.
[Updated on: Tue, 30 August 2011 19:57] Report message to a moderator
|
|
|
|
|
|
|
Re: Read MIDI Event and Device [message #33619 is a reply to message #33617] |
Wed, 31 August 2011 08:29   |
Tom1
Messages: 1301 Registered: March 2007
|
Ultimate Contributor |
|
|
Hi,
I do not wish to mix up your conversation, but still want to point out something: While DLI is great for software controlled conditional loading of DLL, you can still have the operating system automatically link the DLL at program start-up: Just add the import library of your MIDI DLL to your package as a library dependency and include the corresponding header in your C++ source.
Best regards,
Tom
[EDIT:] Mirek was faster to reply!
[Updated on: Wed, 31 August 2011 08:32] Report message to a moderator
|
|
|
|
Re: Read MIDI Event and Device [message #33699 is a reply to message #33612] |
Tue, 06 September 2011 10:38  |
arkady_c
Messages: 14 Registered: December 2010 Location: Polska
|
Promising Member |
|
|
maybe this will help
libusb-1.0 libusb.org
http://libusb.org/wiki/windows_backend
in mingw load file
#include <libusb-1.0/libusb.h>
handle = libusb_open_device_with_vid_pid(NULL, vID, pID);
if (handle == NULL)
{
LOG ("Connection failed");
return;
}
...
My device "own production" runs on Win and Lin
u + + is great
2a7aff6be3f76940495be32258777636
|
|
|
Goto Forum:
Current Time: Tue Apr 29 08:21:00 CEST 2025
Total time taken to generate the page: 0.11884 seconds
|