The original version of this page can be found at : http://forum.makemusic.com/default.aspx?f=11&m=319965
Posted By : davido - 3/2/2011 4:13 PM

 

 

  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.

 

 

 


Posted By : Jari Williamsson - 7/16/2012 7:11 AM
I don't think the softsynth is a true Windows MIDI device.


Jari Williamsson

Windows XP, Pentium 4
2.40 GHz, 4 GB RAM

www.finaletips.nu - The Finale Productivity Tips site