Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
MIDI Triggers Default Port
#2
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:
Code:
Copy      Help
,rget(tls1 "midiinid" "" 0 -1)
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


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)