Replies: 3 comments 1 reply
-
Greetings! I'm interested to learn what the current state of affairs is around the project? From what I can tell this might be the furthest along example of an open source MIDI -> i2c solution for the ER-301 after having sifted through the forums for the past few days. I wanted to find some existing Eurorack hardware that might be able to host something like hans so I just ordered a pre built Europi which seems like it might be enough to get things running? Thanks for your help and for all the hard work, and happy new year! |
Beta Was this translation helpful? Give feedback.
-
Hi and thanks for your message! Short story: More infos below. Longer story: Hans was made for OSC in the first place. Midi was added later but never really finished. The reason is that there never was a consensus around a universal MIDI mapping for the ER-301. (Midi to ii via i2c) I asked on Lines, on O/D forum etc. So to use MIDI to i2c, the end-user would have to create a mapping and recompile the code, not very user friendly... Orthogonal Devices doesn't want to add a MIDI module ( at least CC and Note) to the ER-301, so it is very complicated to create a universal mapping (The MIDI protocol is comprised of infos between 0 and 127 (notes, velocity, aftertouch, continuous controller etc. and on the other hand the ER-301 has 100 SC.CV receivers and 100 SC.TR receivers.) I understand and tend to agree -now- with Brian's position on MIDI & Eurorack though. That being said, the technical system for converting MIDI to "ii" (protocol understood by the ER-301) do exist in the code, but at the moment, if Hans receives a CC or MIDI note, it will not transmit anything to the 301, not knowing what to do with it. What this code does "out of the box" is mainly OSC to i2c ( OSC with variable latency, depending on the router etc so not optimal for time-sensitive things). I think it's been two years since I used the ER-301, to be honest, I have no idea at the moment if a version 2 will ever happen. The code on this Github page requires a Raspberry PI Zero W and the add-on board or "hat" - see below. It will NOT work on a Raspberry Pi Pico as is and from what I see, Europi seems to use a Pico, so you should NOT expect this code to work on it, Pico is totally different hardware than a larger RPI like the Zero W running Linux. You might ask on the Lines forum, I think there's a module using a Teensy that does i2c to MIDI, maybe it does Midi to i2c too and has compatibility with the ER-301 now. If it has a circuit with pull-up resistors, it should be able to communicate with the 301, but I have no idea if the creator of this projet has made something for the "Sound Computer". Hans add-on board / hat -> Hans was also the name of the add-on board including the i2c circuit (2 pull-up resistors) and the MIDI circuit as well as a 5V circuit with fuse protection. This must be taken into account. I remember having a lot of problems with the 301 connected directly to the GPIO "hardware i2c" of a Raspberry Pi. The Er-301 did not start, I had to add these "pull-up resistors" so that the PI and the module communicate easily. I have a prototype of version 2 for RPI pico in stock, but it doesn't have a firmware as mentioned earlier, in other words it's pretty useless; I no longer have PCBs or prototypes of version 1 (for Raspberry PI Zero W) and on top of that I recently checked and some components I used, like the opto-coupler of the MIDI circuit were out of stock until September 2023. I'm not planning on having V1 boards made again and I don't have them in stock anymore ; I'm not planning on open-sourcing the full V1 boards but probably the schematics which are quite simple. Of course, I'll post an update on this GitHub repo if things change. Best, |
Beta Was this translation helpful? Give feedback.
-
Yes, sure, please let me know! I had to create a "software i2c" bus and to add 4.7k pull-up resistors (schematics on the same page)... It's a shame, because without this i2c bus issue, Hans/ a RPI wouldn't even need an external circuit etc. You probably won't encounter the problem with a Pico or other device, as long as it doesn't "acknowledge" or reply to anything sent by the ER-301 during its boot sequence but they'll also need some kind of P-U resistors on the i2c bus, there ain't any on the 301 side. I'm not familiar with the SSP hardware but I know the hardware of the 16n quite well and all the modules borrowing or at the origin of the "ii" protocol, Txo, Teletype, Crow. Speaking of which, for MIDI to i2c you should also ask the creator of i2ctoMidi module (or monitor the thread on Lines) if he has plan to make it talk to the 301 too. His module was doing i2c from Teletype to Midi in the first place, at the same time he released it I was writing some C code doing the same thing for someone, but running on RPI. Anyway, I think he recently got a 301, and the codebase is actively maintained (also by Scanner Darkly), and the hardware should be capable of talking to the 301 or TXo etc... Of course there will always be the "MIDI mapping" that needs to be determined at some point ^^ Happy new year to you too ;-) P.S: the infos provided on the "legacy notes" are probably not up to date and the steps provided are not to be followed as is, they're from a time Hans was made with Node JS, and the RPI config file might not be up to date either. But at least they give an idea of the schematic for the i2c bus etc |
Beta Was this translation helpful? Give feedback.
-
...
Beta Was this translation helpful? Give feedback.
All reactions