Jump to content

SEQ4 and OSC (Midi usb router)


Keeze

Recommended Posts

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..
 
Edit
 

Looks like the midibox code got an error:

Quote

 

Actually upon investigation, according to http://opensoundcontrol.org/spec-1_0
the m type must have data: "4 byte MIDI message. Bytes from MSB to LSB are: port id, status byte, data1, data2"

 

 

Cheers,
Kees
Edited by Keeze
added link to osc2midi on guthub
Link to comment
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?

Cheers,

Kees

 

 

WP_20170607_21_47_21_Rich (Kopie).jpg

s-l1600.jpg

Edited by Keeze
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...