Yamaha O2R EQ fuctions

Hi,

I want to use my O2r Eq controllers with cubase but I can't write the proper code's for it.

This is the code from the gain controller from the O2r:

from 0.0 gain to -18 dB: ( in cubase they use _ / + 24dB)

F0 43 10 3D 00 06 20 00 00 F7 F0 43 10 3D 00 06 20 0F 0F F7 F0 43 10 3D 00 06 20 0F 0E F7 F0 43 10 3D 00 06 20 0F 0D F7 F0 43 10 3D 00 06 20 0F 0C F7 F0 43 10 3D 00 06 20 0F 0B F7 F0 43 10 3D 00 06 20 0F 0A F7 F0 43 10 3D 00 06 20 0F 09 F7 F0 43 10 3D 00 06 20 0F 08 F7 F0 43 10 3D 00 06 20 0F 07 F7 F0 43 10 3D 00 06 20 0F 06 F7 F0 43 10 3D 00 06 20 0F 05 F7 F0 43 10 3D 00 06 20 0F 04 F7 F0 43 10 3D 00 06 20 0F 03 F7 F0 43 10 3D 00 06 20 0F 02 F7 F0 43 10 3D 00 06 20 0F 01 F7 F0 43 10 3D 00 06 20 0F 00 F7 F0 43 10 3D 00 06 20 0E 0F F7 F0 43 10 3D 00 06 20 0E 0E F7 F0 43 10 3D 00 06 20 0E 0D F7 F0 43 10 3D 00 06 20 0E 0C F7 F0 43 10 3D 00 06 20 0E 0B F7 F0 43 10 3D 00 06 20 0E 0A F7 F0 43 10 3D 00 06 20 0E 09 F7 F0 43 10 3D 00 06 20 0E 08 F7 F0 43 10 3D 00 06 20 0E 07 F7 F0 43 10 3D 00 06 20 0E 06 F7 F0 43 10 3D 00 06 20 0E 05 F7 F0 43 10 3D 00 06 20 0E 04 F7 F0 43 10 3D 00 06 20 0E 03 F7 F0 43 10 3D 00 06 20 0E 02 F7 F0 43 10 3D 00 06 20 0E 01 F7 F0 43 10 3D 00 06 20 0E 00 F7 F0 43 10 3D 00 06 20 0D 0F F7 F0 43 10 3D 00 06 20 0D 0E F7 F0 43 10 3D 00 06 20 0D 0D F7 F0 43 10 3D 00 06 20 0D 0C F7 F0 43 10 3D 00 06 20 0D 0D F7

from 0.0 gain to +18dB

F0 43 10 3D 00 06 20 00 00 F7 F0 43 10 3D 00 06 20 00 01 F7 F0 43 10 3D 00 06 20 00 02 F7 F0 43 10 3D 00 06 20 00 03 F7 F0 43 10 3D 00 06 20 00 04 F7 F0 43 10 3D 00 06 20 00 05 F7 F0 43 10 3D 00 06 20 00 06 F7 F0 43 10 3D 00 06 20 00 07 F7 F0 43 10 3D 00 06 20 00 08 F7 F0 43 10 3D 00 06 20 00 09 F7 F0 43 10 3D 00 06 20 00 0A F7 F0 43 10 3D 00 06 20 00 0B F7 F0 43 10 3D 00 06 20 00 0C F7 F0 43 10 3D 00 06 20 00 0D F7 F0 43 10 3D 00 06 20 00 0E F7 F0 43 10 3D 00 06 20 00 0F F7 F0 43 10 3D 00 06 20 01 00 F7 F0 43 10 3D 00 06 20 01 01 F7 F0 43 10 3D 00 06 20 01 02 F7 F0 43 10 3D 00 06 20 01 03 F7 F0 43 10 3D 00 06 20 01 04 F7 F0 43 10 3D 00 06 20 01 05 F7 F0 43 10 3D 00 06 20 01 06 F7 F0 43 10 3D 00 06 20 01 07 F7 F0 43 10 3D 00 06 20 01 08 F7 F0 43 10 3D 00 06 20 01 09 F7 F0 43 10 3D 00 06 20 01 0A F7 F0 43 10 3D 00 06 20 01 0B F7 F0 43 10 3D 00 06 20 01 0C F7 F0 43 10 3D 00 06 20 01 0D F7 F0 43 10 3D 00 06 20 01 0E F7 F0 43 10 3D 00 06 20 01 0F F7 F0 43 10 3D 00 06 20 02 00 F7 F0 43 10 3D 00 06 20 02 01 F7 F0 43 10 3D 00 06 20 02 02 F7 F0 43 10 3D 00 06 20 02 03 F7 F0 43 10 3D 00 06 20 02 04 F7

Can someone help me with this?

Do you want to convert it to a CC value 0-127?

Yes I think cubase reads cc 0- 127

Hi,

Does your o2r have v2 firmware? I see it oneBay for $50.Because sysex cannot have any data in between the f0 and f7.

Also with sysex it seems some parameters are of very limited resolution.

I made a hui/MCP converter using mtp. Well,with a ton oif help from Florian and dvlsadvocate.

V2 software has a hui layer..and more….and would be a loteasier than what I think your trying…and with mtp would be way more flexable IMHO.

Well one thing that confuses me is that you have a few duplicate values in your input message. Last 3 lines on 0 to -18. With that said, this should get you pretty close

 

Input

Raw Midi

F0 43 10 3D 00 06 20 pp qq F7

Rules

//pp = msb
//pp=2
//qq = lsb
//qq=4
// value byte rr
rr=pp<<4
rr=rr|qq
if rr>127 then ss=rr-220
if rr<=127 then ss=rr+34
/// Now lets convert the range
ss=ss*1000
ss=ss*128
ss=ss/70
ss=ss/1000
if ss>127 then ss=127

Output

CC # xx value ss

 

 

 

I have the V2 version. Since i allready been pritty far for remote. Steve has been helping mee really nice, with writing the correct code’s.
Only the eq section has to be done.
But still a problem getting pan center in cubase.

Can I try your hui/mcp converter?
I am using mtp
Maybe it make’s everything easyer

Hi,
Absolutely…its up already in the old forum, but I’ll save a version that doesn’t have any experimental stuff I’ve added for my d8b.
Does cubase support hui? I use reaper and have used logic.
I hope I’m not butting in ..Steve..and sbtevoortwis.
If I’m not mistaken, there is a pro tools setting in the o2r? That would be hui.
If cubase does support hui, then that would be easier than anything.
If my present can be educational in the process..meaning the documentation of what MCU buttons put out and visa versa w hui then have at it:-)

Guido, you are not butting in

I would love to see it. Can you post it here or sent to bome@sniz.biz or send me a link?

Cubase does support mackie hui and mcu so I think it has to work.
I can not use the pro tools remote setup in the O2r mixer and general midi remote setup can only control faders.

I would love to try!! 😉

I did slight modification to the rules based on what I thought the input should really be. Also commented out my test case.

The below project is what I used for testing. First since I don’t have an O2R, I tried to simulate it’s output with my local controller (Launch control) and set a translater from my CC to expected 02R output. I sent that to midi yoke 1

Then I took the input from midi yoke 1 (simuleted Sysex) and ran it to my logic that I provided you and sent output to midi yoke 2 for testing.

So the flow is my cc to Sysex translation -> Midi yoke 1 Sysex -> Sysex to cc translation -> Midi Yoke 2

Attached is the file with the two translators enabled

CC to Sysex

Sysex to CC

 


Attachments:
1489952119613_Yamaha-O2R-EQ-fuctions-2017-03-19b.bmtp

Hi Steve,

I tried the gain function it’s pritty close well done!! The center is a little of.
But I imagine that’s maybe difficult to get right. Or do you have a suggestion?
Maybe because the O2r has 18dB -/+ and cubase 24dB -/+ ?

You might want to tweak the numbers or scaling a bit just like you did with pan, but I suspect you will run in to similar issues. Unfortunately this is not an exact science when you translate from one technology to another that have varying scales and precision.

Hi Steve,

I can give you the next part of the Eq section that’s the frequency dial.

120 sysex values: from 21 hz to 20.1 khz

F0 43 10 3D 00 06 1F 00 05 F7
F0 43 10 3D 00 06 1F 00 06 F7
F0 43 10 3D 00 06 1F 00 07 F7
F0 43 10 3D 00 06 1F 00 08 F7
F0 43 10 3D 00 06 1F 00 09 F7
F0 43 10 3D 00 06 1F 00 0A F7
F0 43 10 3D 00 06 1F 00 0B F7
F0 43 10 3D 00 06 1F 00 0C F7
F0 43 10 3D 00 06 1F 00 0D F7
F0 43 10 3D 00 06 1F 00 0E F7
F0 43 10 3D 00 06 1F 00 0F F7
F0 43 10 3D 00 06 1F 01 00 F7
F0 43 10 3D 00 06 1F 01 01 F7
F0 43 10 3D 00 06 1F 01 02 F7
F0 43 10 3D 00 06 1F 01 03 F7
F0 43 10 3D 00 06 1F 01 04 F7
F0 43 10 3D 00 06 1F 01 05 F7
F0 43 10 3D 00 06 1F 01 06 F7
F0 43 10 3D 00 06 1F 01 07 F7
F0 43 10 3D 00 06 1F 01 08 F7
F0 43 10 3D 00 06 1F 01 09 F7
F0 43 10 3D 00 06 1F 01 0A F7
F0 43 10 3D 00 06 1F 01 0B F7
F0 43 10 3D 00 06 1F 01 0C F7
F0 43 10 3D 00 06 1F 01 0D F7
F0 43 10 3D 00 06 1F 01 0E F7
F0 43 10 3D 00 06 1F 01 0F F7
F0 43 10 3D 00 06 1F 02 00 F7
F0 43 10 3D 00 06 1F 02 01 F7
F0 43 10 3D 00 06 1F 02 02 F7
F0 43 10 3D 00 06 1F 02 03 F7
F0 43 10 3D 00 06 1F 02 04 F7
F0 43 10 3D 00 06 1F 02 05 F7
F0 43 10 3D 00 06 1F 02 06 F7
F0 43 10 3D 00 06 1F 02 07 F7
F0 43 10 3D 00 06 1F 02 08 F7
F0 43 10 3D 00 06 1F 02 09 F7
F0 43 10 3D 00 06 1F 02 0A F7
F0 43 10 3D 00 06 1F 02 0B F7
F0 43 10 3D 00 06 1F 02 0C F7
F0 43 10 3D 00 06 1F 02 0D F7
F0 43 10 3D 00 06 1F 02 0E F7
F0 43 10 3D 00 06 1F 02 0F F7
F0 43 10 3D 00 06 1F 03 00 F7
F0 43 10 3D 00 06 1F 03 01 F7
F0 43 10 3D 00 06 1F 03 02 F7
F0 43 10 3D 00 06 1F 03 03 F7
F0 43 10 3D 00 06 1F 03 04 F7
F0 43 10 3D 00 06 1F 03 05 F7
F0 43 10 3D 00 06 1F 03 06 F7
F0 43 10 3D 00 06 1F 03 07 F7
F0 43 10 3D 00 06 1F 03 08 F7
F0 43 10 3D 00 06 1F 03 09 F7
F0 43 10 3D 00 06 1F 03 0A F7
F0 43 10 3D 00 06 1F 03 0B F7
F0 43 10 3D 00 06 1F 03 0C F7
F0 43 10 3D 00 06 1F 03 0D F7
F0 43 10 3D 00 06 1F 03 0E F7
F0 43 10 3D 00 06 1F 03 0F F7
F0 43 10 3D 00 06 1F 04 00 F7
F0 43 10 3D 00 06 1F 04 01 F7
F0 43 10 3D 00 06 1F 04 02 F7
F0 43 10 3D 00 06 1F 04 03 F7
F0 43 10 3D 00 06 1F 04 04 F7
F0 43 10 3D 00 06 1F 04 05 F7
F0 43 10 3D 00 06 1F 04 06 F7
F0 43 10 3D 00 06 1F 04 07 F7
F0 43 10 3D 00 06 1F 04 08 F7
F0 43 10 3D 00 06 1F 04 09 F7
F0 43 10 3D 00 06 1F 04 0A F7
F0 43 10 3D 00 06 1F 04 0B F7
F0 43 10 3D 00 06 1F 04 0C F7
F0 43 10 3D 00 06 1F 04 0D F7
F0 43 10 3D 00 06 1F 04 0E F7
F0 43 10 3D 00 06 1F 04 0F F7
F0 43 10 3D 00 06 1F 05 00 F7
F0 43 10 3D 00 06 1F 05 01 F7
F0 43 10 3D 00 06 1F 05 02 F7
F0 43 10 3D 00 06 1F 05 03 F7
F0 43 10 3D 00 06 1F 05 04 F7
F0 43 10 3D 00 06 1F 05 05 F7
F0 43 10 3D 00 06 1F 05 06 F7
F0 43 10 3D 00 06 1F 05 07 F7
F0 43 10 3D 00 06 1F 05 08 F7
F0 43 10 3D 00 06 1F 05 09 F7
F0 43 10 3D 00 06 1F 05 0A F7
F0 43 10 3D 00 06 1F 05 0B F7
F0 43 10 3D 00 06 1F 05 0C F7
F0 43 10 3D 00 06 1F 05 0D F7
F0 43 10 3D 00 06 1F 05 0E F7
F0 43 10 3D 00 06 1F 05 0F F7
F0 43 10 3D 00 06 1F 06 00 F7
F0 43 10 3D 00 06 1F 06 01 F7
F0 43 10 3D 00 06 1F 06 02 F7
F0 43 10 3D 00 06 1F 06 03 F7
F0 43 10 3D 00 06 1F 06 04 F7
F0 43 10 3D 00 06 1F 06 05 F7
F0 43 10 3D 00 06 1F 06 06 F7
F0 43 10 3D 00 06 1F 06 07 F7
F0 43 10 3D 00 06 1F 06 08 F7
F0 43 10 3D 00 06 1F 06 09 F7
F0 43 10 3D 00 06 1F 06 0A F7
F0 43 10 3D 00 06 1F 06 0B F7
F0 43 10 3D 00 06 1F 06 0C F7
F0 43 10 3D 00 06 1F 06 0D F7
F0 43 10 3D 00 06 1F 06 0E F7
F0 43 10 3D 00 06 1F 06 0F F7
F0 43 10 3D 00 06 1F 07 00 F7
F0 43 10 3D 00 06 1F 07 01 F7
F0 43 10 3D 00 06 1F 07 02 F7
F0 43 10 3D 00 06 1F 07 03 F7
F0 43 10 3D 00 06 1F 07 04 F7
F0 43 10 3D 00 06 1F 07 05 F7
F0 43 10 3D 00 06 1F 07 06 F7
F0 43 10 3D 00 06 1F 07 07 F7
F0 43 10 3D 00 06 1F 07 08 F7
F0 43 10 3D 00 06 1F 07 09 F7
F0 43 10 3D 00 06 1F 07 0A F7
F0 43 10 3D 00 06 1F 07 0B F7
F0 43 10 3D 00 06 1F 07 0C F7

again I think cubase reads 0 – 127 values

thanks for helping me!!

I think the middle would be value 64 and now it 1 step to left 64. And the middle is now 62 and 1 step right is 64.
I can tweak this because there are 2 values 64 and two values 62. Can I do something about this?
Otherwise I leave it like this.

We leave it like this. I don’t think we can change this.
Nice work!! 😉

Hi Guido can you send me the converter. Or give me a link?

many thanks!

https://www.bome.com/forums/download/file.php?id=141

Hi,

This is the one i uploaded awhile ago……I need to modify what I’m using now an resave it..could take a bit.

From what I remember of my buddys o2r, you should be able to use hui for the basics, then mtp for any other thing. That the Tammy will spit/receive ,that is.

TellSteve he does awesome imho. The math would cripple me:-)