Changing default MIDI port

I’m playing about with some of the MIOS32 tutorials, currently looking at Tutorial #19 MIDI file player, seems that its sending lots of commands via the USB into MIOS Studio, but how do I change this so that the MIDI gets sent to the MIDI port?

Thanks

S

With [MIOS32_MIDI_DefaultPortSet](http://www.midibox.org/mios32/manual/group m_i_o_s32 m_i_d_i.html#g5af4acfccb4960ae8fb5ed5fab3356e0)

Alternatively you can redirect the MIDI events to a hook and send MIDI events to any port (also multiple ports) from there.

Example: http://svnmios.midibox.org/filedetails.php?repname=svn.mios32&path=%2Ftrunk%2Fapps%2Fcontrollers%2Fmidio128_v3%2Fsrc%2Fseq.c

search for Hook_MIDI_SendPackage

Best Regards, Thorsten.

Thank you so much, that worked perfectly.

Looks like lots more reading for me…

S