Skip to content

Pass a value from a batch file #118

Open
@hellishvictor

Description

@hellishvictor

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions