Hacker News new | ask | show | jobs
by aturley 12 days ago
Just taking a quick look, the R16 uses the same firmware file format, so presumably it would be relatively straightforward to start modifying it.

However, it uses a different chip: the TI DaVinci DM644x, which is an ARM9 CPU paired with a C64x+ DSP. The R8 has a C6748 DSP and no ARM processor. It would be interesting to look at how the firmware splits duties between the DSP and the ARM; if nothing else the R16 can act as a USB host, which the R8 cannot do (at least not easily), which means you could probably get it to be USB MIDI host and start plugging in controllers.

I'm not sure I'm ready to drop a few hundred dollars on a R16 just yet, but if I do and I build anything with it I'll be sure to share it.

As an aside, I understand your concerns about bricking the device, but the bootloader and firmware installation process have some safeguards in place on the R8 that provide a good deal of safety. I don't want to overstate the case, but I think you'd be protected from anything bad if you stuck to firmware changes and left the bootloader alone.

1 comments

Just the other day I was looking into resurrecting one of my pre-covid music projects and fetched my R8 from the storage. Went looking on the internet what's the current state of affairs regarding R8, and found your repo on github (maybe 10 hours after it was published!).

The project was pretty simple: the R8 as a recorder, a drum machine and a eurorack with midi. All sequenced with a ruby or nodejs script on a 2008-era netbook.

The one problem I could not solve back then was reliable sync - hitting play in time on both the R8 and the drum machine with the master clock became a chore very fast. The only other options were syncing to the metronome click over the headphone out or a SMPTE track, and that was a rabbit hole I didnt feel like diving into.

Now I'm looking into the possibility of adding midi clock, transport commands and position out over USB in recorder mode. If it works, this will turn the R8 into the ultimate portastudio.

Thank you for sharing your work! Without it I would not even think it was possible.

That sounds like a fun project.

If you get anything working I'd love to hear about it. There's USB MIDI in the stock firmware, but only when you have it in control surface mode, and I haven't taken the time to investigate that very far. It seems like the original firmware makes an effort to not try to do anything else while using USB, but it would be interesting to see if you could get it to turn on USB MIDI while it is in regular recorder mode so that it could process message.

Good luck!

For my use case, it only needs to send the midi clock at 24ppqn and start/stop. That's one byte every 20ms, can't be that taxing on the CPU.

And it does quite a lot in USB audio/control surface mode: stereo in/out, insert & send effects, midi control surface messages back and forth etc.

Earlier portastudios had DIN sockets and midi clock out, but then DIN sockets went away and midi sync dissapeared too. I don't think there was a technical reason for this, more like lack of imagination. Why would anybody need midi clock over usb when there was a daw on the other end? DAWless wasn't a thing back then yet.

Yeah, the death of the physical DIN socket for a while was annoying, but I'm glad to see it's coming back.

I poked around a little and it looks like it might be possible to do what you want if you don't mind cycling through a few firmware tests (and maybe burning some LLM tokens). And watch the repo, I may get around to posting some updates related to MIDI.