Hello to the Forum!
It’s possible to send the MIDI message to any system MIDI Out device (e.g., Microsoft GM Wavetable Synth) by means of Win API:
DWORD dwMidiMsg;
......................................................................................
HMIDIOUT hMidiOut;
MIDIOUTCAPS midiOutCaps;
UINT uMidiOutDevID;
UINT uMidiOutNumDevs = midiOutGetNumDevs(); //Get the number of devices present in the system
for( uMidiOutDevID=0; uMidiOutDevID<uMidiOutNumDevs; uMidiOutDevID++)
{
midiOutGetDevCaps(uMidiOutDevID, &midiOutCaps, sizeof(MIDIOUTCAPS));
if(strcmp(midiOutCaps.szPname, ”Microsoft GM Wavetable Synth”)==0)
break;
}
midiOutopen(&hMidiOut, uMidiOutDevID, (DWORD)hWnd, NULL, CALLBACK_WINDOW);
midiOutShortMsg(hMidiOut, dwMidiMsg);
But does anyone know how to send the MIDI message to Finale’s SmartMusic SoftSynth?
Many Thanks.
|