08-05-2011, 11:37 AM
MIDI devices are identified by device ID, which is a number 0, 1, 2 and so on. The dialog stores it in the registry. By default it is 0.
This code in function MT_Dialog gets ID from the registry and stores in variable tls1:
Here 0 is default port, used if it is not found in the registry. You can replace it with 18.
If you need ID to be always 18, replace this line with
tls1=18
This code in function MT_Dialog gets ID from the registry and stores in variable tls1:
Here 0 is default port, used if it is not found in the registry. You can replace it with 18.
If you need ID to be always 18, replace this line with
tls1=18
