Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pass a value from a batch file #118

Open
hellishvictor opened this issue Jul 6, 2022 · 0 comments
Open

Pass a value from a batch file #118

hellishvictor opened this issue Jul 6, 2022 · 0 comments

Comments

@hellishvictor
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant