SEQ4 and OSC (Midi usb router)

2 posts in this topic

Hello all,

I want to connect more than one USB midi device to my SEQ4, without connecting a full-blown computer. So I have some spare Raspberry Pi's laying around. Model B+, so 4 USB ports. I already tinkered some things and I ended with a program called osc2midi (and back).

I can send to my SEQ4 and I can also receive from the SEQ4 thus communication is established. Now I run into formatting problems. With help from the creator of osc2midi I found out I have to use the m-datatype in the conversion, but it look like the data is interpreted different. SEQ4 OSC is set to Midi-messages.

Then I send from SEQ4 to osc2midi I receive:

/midi1 m, MIDI [0x90 0x3c 0x35 0x00]

When I sent from osc2midi, it sends:

/midi1 ,m MIDI [0x00 0x90 0x3c 0x39]
Osc2midi uses a single variable, so I can't change is easely.
Osc2midi uses map-files and the mapping for this statement is:
/midi1 m, msg : midimessage( msg );

So, one of the machines has the output shifted. And how to find out which one...

Can someone shed some light over this subject..

Looks like the midibox code got an error:



Actually upon investigation, according to
the m type must have data: "4 byte MIDI message. Bytes from MSB to LSB are: port id, status byte, data1, data2"



Edited by Keeze
added link to osc2midi on guthub

Share this post

Link to post
Share on other sites

After recompiling osc2midi with changed parsing of the m-datatype I have got it working. Ik looks like that the Midibox implementation is non-compliant. @TK. , any chance this can be fixed?

Another problem is that I got a !! Hard Fault !! at PC=0x0805c7f6 several times when sending data.

The Ethernet module is a ENC28J60 Ethernet LAN Network Module, which is connected since summer 2016, but used for the first time these days.
I use the boards from Tim (SmashTV), a STM32F4 with firmware 4.092.

What can that be?





WP_20170607_21_47_21_Rich (Kopie).jpg


Edited by Keeze

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now