You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To anyone who may be able to help, I am looking for a way to set a custom name on the inputs and outputs that are created by RtMidi. I am using this library in multiple projects that run simultaneously and I cannot differentiate the connections because they all have the same name.
I see in the RtMidi source code that it has some support for setting a client name.
The openPort() method appears to take an optional portName as a second argument
a. How can I pass this parameter from NodeMidi to RtMidi?
b. RtMidi.cpp#930
There are also two methods that are not exposed via NodeMidi. I am not entirely clear on what the difference is, but perhaps one of them is what I am looking for.
a. setClientName() in RtMidi.cpp#2064
b. setPortName() in RtMidi.cpp#2072
I'm not at all familiar with CPP, Nan, uv, or v8 to make these changes, so I am looking for some help implementing this feature. Any help would be greatly appreciated.
Thanks for looking,
Chris
The text was updated successfully, but these errors were encountered:
Hello,
To anyone who may be able to help, I am looking for a way to set a custom name on the inputs and outputs that are created by RtMidi. I am using this library in multiple projects that run simultaneously and I cannot differentiate the connections because they all have the same name.
I see in the RtMidi source code that it has some support for setting a client name.
openPort()
method appears to take an optionalportName
as a second argumenta. How can I pass this parameter from NodeMidi to RtMidi?
b. RtMidi.cpp#930
a.
setClientName()
in RtMidi.cpp#2064b.
setPortName()
in RtMidi.cpp#2072I'm not at all familiar with CPP, Nan, uv, or v8 to make these changes, so I am looking for some help implementing this feature. Any help would be greatly appreciated.
Thanks for looking,
Chris
The text was updated successfully, but these errors were encountered: