Hey everyone,
I'm attempting to create a powerful UI through OSC for operating my various Cubase Projects for Video game composition, mixing and music production.
Since Cubase does not allow to insert a specific effect when receiving a midi remote command, I have to use AutoHotKey to create script that would react to button in OSC that just inserts the effect on the channel.
But! AutoHotKey does not receive Midi as far as I can tell, so I probably have to use Bome's Midi Translator to get a midi message from OSC and activate the AutoHotKey Script.
The Question is, how can I send a midi message to Bome's from OSC regarding the PreArgs?
My plan after that was to use the image search in AutoHotKey to automate the menu browsing in Cubase, And bypass the problem that way.
Just to clarify: The end goal is to press one button in OSC, send the message to Bome's, activate an AutoHotKey Script with it, and have a pre-chosen VST effect applied in the insert slot on a cubase Track
I'm new here, Thank you so much for your help
Daniel
Welcome, Daniel!
To send a midi message to Bome you need to use a virtual MIDI port. On my MAC the server's console looks like this (see picture below). So, in my case, the target of different widgets must look like this:
midi:Bome MIDI Translator 1
my O-S-C console (picture)
In Bome you'll have to check the virtual port for the input (incoming):
Bome - incoming tab (picture)
Thank you for the reply. I'm working on a PC and the port for Bome Doesn't seem to appear in my console:
What might I do to help them recognize one another?
Open the settings window in Bome. Make sure that the virtual port is activated.
Settings window (Bome)
After doing that, and changing the address in OSC respectively, Bome Still gets no data for some reason. could it have anything to do with the fact that every time I press the button it says the connection with the server has been disturbed?
Most probably yes, check the launcher window for errors and paste them here. What are your button's on
, preArgs
, address
and target
properties ?
I changed the target on the button in OSC to : BMT1
PreArgs: [
1,
2
]
and the error is:
(INFO) Server started, app available at
http://192.168.1.18:7500
http://127.0.0.1:7500
(ERROR) A JavaScript error occurred in the main process:
RangeError [ERR_SOCKET_BAD_PORT]: Port should be >= 0 and < 65536. Received 0.
at validatePort (dgram.js:342:11)
at Socket.send (dgram.js:595:12)
at osc.UDPPort.p.sendRaw (E:\OSC\open-stage-control-1.9.4-win32-x64\open-stage-control-1.9.4-win32-x64\resources\app\server\node_modules\osc\src\platforms\osc-node.js:124:1)
at osc.UDPPort.p.send (E:\OSC\open-stage-control-1.9.4-win32-x64\open-stage-control-1.9.4-win32-x64\resources\app\server\node_modules\osc\src\osc-transports.js:60:1)
at OscServer.sendOsc (E:\OSC\open-stage-control-1.9.4-win32-x64\open-stage-control-1.9.4-win32-x64\resources\app\server\src\server\osc\index.js:114:1)
at Object.send (E:\OSC\open-stage-control-1.9.4-win32-x64\open-stage-control-1.9.4-win32-x64\resources\app\server\src\server\osc\index.js:237:1)
at Object.sendOsc (E:\OSC\open-stage-control-1.9.4-win32-x64\open-stage-control-1.9.4-win32-x64\resources\app\server\src\server\callbacks.js:377:1)
at Socket. (E:\OSC\open-stage-control-1.9.4-win32-x64\open-stage-control-1.9.4-win32-x64\resources\app\server\src\server\server.js:195:1)
at Socket.emit (events.js:203:13)
at Socket.receive (E:\OSC\open-stage-control-1.9.4-win32-x64\open-stage-control-1.9.4-win32-x64\resources\app\server\src\server\ipc\client.js:92:1)
What did you type here (see screenshot below)?
Launcher's configuration form (MIDI side screenshot)
OSC:4,0
It's a port I opened for OSC with a pc software called loopMIDI
@DanielYehe you did not anwser my question completely, the error suggests a problem in the target property (which should look like "midi:OSC" or "midi:BMT", not just "OSC" or "BMT").
You should also add the Bome port! (be careful to type it correctly; is it "BMT 1"? or "BMT1"?)
I'm sorry! Let me write it all-
address: /control
Target: midi:BMT1
PreArgs: [
1,
2
]
Thanks, @theodor_the_1st is right, "BMT1" must be defined in your midi config. Just in case, a screenshot of your launcher window would help too.
1 Like
Thank you! I'll try that! what is the common format for seperating ports on that list? just a coma?
I will now try to run it, and see what happens.
Your send option is set to 127.0.0.1:0000
, 0000
is not a valid port, that's what causes the above error message. If you only want to send midi messages you can leave this option empty.
Fantastic! No I got received as soon as the send option was left empty! but, will I be able to activate OSC with my Tablet without that send filled in?