From: Dominique F. <fo...@gr...> - 2015-12-08 08:35:19
|
Hi Chris, It might be that you’re running the C version in different context. Actually, I’m thinking of drivers setup and slots connexions: they are initialized from ini files and midishare looks for these files in various locations, including the current directory. Can you look at the C++ version folder: you should find .ini files. In this case, just copy them to the C version folder. Best — Dom ps: another solution to create the drivers ini file is to use the msDrivers application. Last you can also edit these files manually. > Hi, > I'm attempting to get a simple C MidiShare example working. The code basically sends a Note On message to an external synth and then exits. The code is based on some more complex C++ code which uses a GUI button to send a Note On message. The strange thing is, that the C++ code works properly but the C code doesn't seem to send a MIDI message. Any idea why the following C code doesn't work? > http://pastebin.com/EvZ9NXDn <http://pastebin.com/EvZ9NXDn> > I'm working on OSX (10.9.5) with MidiShare-1.93. > In addition to this, I couldn't get the msSendNote example to work either, but I can send notes if I build and run the msTutorial example. > > Cheers, > Chris |