midimonster icon indicating copy to clipboard operation
midimonster copied to clipboard

Pass a value from a batch file

Open hellishvictor opened this issue 3 years ago • 0 comments

There's a way to use a value given by the user through a batch file and use it with a midimonster profile? For example, I get the value for the channel with this:

echo /p "chNum=Enter a channel:"

And then with something like this: midimonster profile.cfg "chX=chNum"

the "chX" strings on the profile.cfg (like: n.key.z > out.chX.note36) will equal to "chNum", and will play the note 36 on the channel 15 everytime the "z" key is pressed.

Cheers.

hellishvictor avatar Jul 06 '22 11:07 hellishvictor